pysam-developers / pysam

Pysam is a Python package for reading, manipulating, and writing genomics data such as SAM/BAM/CRAM and VCF/BCF files. It's a lightweight wrapper of the HTSlib API, the same one that powers samtools, bcftools, and tabix.
https://pysam.readthedocs.io/en/latest/
MIT License
773 stars 274 forks source link

variant type determination #1265

Open arpanda opened 6 months ago

arpanda commented 6 months ago

Does pysam provide a similar functionality to bcftools -V, --exclude-types option, allowing the exclusion of variants based on types such as 'snps', 'indels', 'mnps', or 'other' when processing variant files or iterating through variant records?

Thanks Arijit