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

samfile.count() #1264

Open AzureLii opened 6 months ago

AzureLii commented 6 months ago

The input files are the XXX.bam and the reference XXX.bed. XXX.bam: 0-base, XXX.bed: 0-base If I want to use samfile.count() to count the number of reads, does start need +1? Thanks!