harvardinformatics / degenotate

MIT License
41 stars 4 forks source link

Fixed bugs related to invariant/missing sites in VCF files #26

Closed gwct closed 1 year ago

gwct commented 1 year ago

When reading a VCF file, in the case that all ingroup and outgroup alleles are missing, the program would crash because it would still try to select an outgroup allele as a fixed difference. This PR resolves that issue and also adds a check for invariant sites to be skipped in case the input file is a gvcf.