variant code duplication
Opened this issue · 2 comments
Crumbs350 commented
gene_expression and activity both use the same or similar Variant class. Also sequence.py has similar logic which is used by motifs.py and others.
Need to merge these for combined vcf read utility. See vcf.py for start.
Crumbs350 commented
Note: vcf combined class being created with the intent of doing analytics on the final results files more easily.
j-andrews7 commented
I may convert much of this code to instead use pysam, which should drastically simplify this and make reading/writing the VCF files much easier. I'm sure the file reading will work, but I want to test it and see how it handles adding INFO fields before implementing anything.