collaborativebioinformatics / STRdust

MIT License
13 stars 3 forks source link

dustspec.split("'")[1].split("_") fails with decoy contigs #49

Open wdecoster opened 3 years ago

wdecoster commented 3 years ago

[chrom, start_ins, end_ins] = dustspec.split("'")[1].split("_") in vcfy() doesn't work with chromosomes like 'chr1_KI270706v1_random`

This results in a ValueError: too many values to unpack.

wdecoster commented 3 years ago

I am now "silencing" this error by removing all chromosomes with a _, but this is not a permanent solution and should be handled in vcfy().