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.
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?
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