Entire Sequence from Bam File using Python Pysam Module
Hello there,
Is there away to be able to extract the entire chromosome sequence from the bam file using the Pysam Python module? I am trying to analyze the entire aligned sequence of some chromosome for instance chr1 from NGS.
Thanks a lot in advance.
• 3,419 views
•
link
0 answers
No answers yet.
Log in to answer this question.
if you mean extracting the reads aligned to chr1 you can use
and if you want extract your chromosome in bam format using samtools