Entering edit mode
16 months ago
alphaflylizard
•
0
What is a simple command that I can use to convert SAM to BAM files without losing any reads info?
Thank you!
What is a simple command that I can use to convert SAM to BAM files without losing any reads info?
Thank you!
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.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Here are the additional utilities of
samtools
to invest your time.https://davetang.org/wiki/tiki-index.php?page=SAMTools
Thank you! I have no bioinformatics background so this is very helpful!