Thanks! However, there are some challenges with pysam installation. Just cannot do it via conda...
Bam in python
Hello!
I am trying to calculate some probabilities via python and for that, I need a bam file in it.
I'd like to know what is the best way of uploading bam into jupyter notebook, so I can see how reads are laying against reference
Thanks!
• 1,604 views
•
link
1 answer
You can try pysam, or if you want a general genomic framework, try Hail. Keep in mind that there are many useful functions related to BAM file manipulation and analysis in software tools like samtools and bedtools, so it might be worth checking these out before you start developing your own scripts.
• 0 views
•
link
• 0 views
•
link
Log in to answer this question.