Converting SAM to BAM files
What is a simple command that I can use to convert SAM to BAM files without losing any reads info?
Thank you!
• 5,664 views
•
link
1 answer
samtools view -o out.bam in.sam
Please read the samtools manual for details on pretty much any sam/bam manipulation, it's the gold standard tool.
• 0 views
•
link
Log in to answer this question.
Here are the additional utilities of
samtoolsto invest your time.https://davetang.org/wiki/tiki-index.php?page=SAMTools
Thank you! I have no bioinformatics background so this is very helpful!