Illumina / ExpansionHunter

A tool for estimating repeat sizes
Other
174 stars 53 forks source link

Variant_catalog.json: "VariantType":"SmallVariant" ERROR #189

Open petaleaf opened 4 months ago

petaleaf commented 4 months ago

Hello, I noticed two issues while checking for deletion and insertion variants. The first issue is that the chromosome number in the error message is one less than the given chromosome number. The second issue is that the VariantType value is already specified as "SmallVariant", yet the error message still suggests that it should be "SmallVariant/Deletion". It's important to note that "SmallVariant/Deletion" is an unknown type, and "SmallVariant" should be used instead.

Error Description:

[Error loading locus MYH7: Definition of variant ID=MYH7;classification=SmallVariant/Deletion;ReferenceLocus=(13):23884684-23884696;optionalRefNode=None is inconsistent]

variant_catalog.json

{
    "LocusId": "MYH7",
    "LocusStructure": "(TCT)?",
    "ReferenceRegion": "chr14:23884684-23884696",
    "VariantType": "SmallVariant",
}