Skip to content

Issue with Missing genotype_loci.json and TypeError in d4_stats.py #2

@Huangwenxuan666888

Description

@Huangwenxuan666888

Hello,

I noticed that the genotype_loci.json file is missing from the d4_to_windowed_cvg - configs folder. Could you please provide this file, or at least describe its expected format?

When I try to create this file myself, I encounter the following error:

File "d4_stats.py", line 57, in get_loci_by_contig
contig = inf['contig']
TypeError: string indices must be integers

I suspect the issue may be related to the structure of the genotype_loci.json file I created. Could you provide guidance on how this file should be formatted to avoid this error?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions