apriha / snps

tools for reading, writing, merging, and remapping SNPs
BSD 3-Clause "New" or "Revised" License
98 stars 19 forks source link

parse only a specific region (or chromosome) #159

Open IsmailM opened 2 years ago

IsmailM commented 2 years ago

Hi,

Is it possible to use this package to only parse specific chromosome(s) or region(s), provided the input VCF is tabix indexed?

At the moment, I am running tabix --print-header -R regions.bed my_vcf.vcf.gz outside python - but it would be nice if this was all handled by this package?