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