magicDGS / thaplv

Tools for Haploid/Haplotype VCFs
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Allow selecting/excluding samples from tools #25

Open magicDGS opened 8 years ago

magicDGS commented 8 years ago

We should allow options to include/exclude samples from the analysis to avoid sub-setting the VCF. I should check if the GATK framework have this implemented (at least I know that some parameters perform that). If not, the simplest way is to implement a GenotypeFilter functional interface for include/exclude genotypes, and include this in the HaplotypeWalker. Like that, all the tools will include this behaviour.