Some major changes that I have made:
Test cases:
• Added a unit test for variants alongside a new VCF file that tests for missing genotypes specifically for the variants command (strict + non-strict)
Also modified the variants implementation in cli.py:
• Used print statements to create new VCF file instead of VCFWriter to allow stdout be captured and unit-tested
• Fixed the bug where missing genotype gets converted to a 0 when the ancestral allele maps to the alternate allele
Closes #36
Some major changes that I have made: Test cases: • Added a unit test for variants alongside a new VCF file that tests for missing genotypes specifically for the variants command (strict + non-strict) Also modified the
variants
implementation incli.py
: • Usedprint
statements to create new VCF file instead ofVCFWriter
to allowstdout
be captured and unit-tested • Fixed the bug where missing genotype gets converted to a 0 when the ancestral allele maps to the alternate allele Closes #36