Converting SAM to BAM files
1
0
Entering edit mode
15 months ago

What is a simple command that I can use to convert SAM to BAM files without losing any reads info?

Thank you!

chipseq • 3.1k views
ADD COMMENT
1
Entering edit mode

Here are the additional utilities of samtools to invest your time.

https://davetang.org/wiki/tiki-index.php?page=SAMTools

ADD REPLY
0
Entering edit mode

Thank you! I have no bioinformatics background so this is very helpful!

ADD REPLY
2
Entering edit mode
15 months ago
ATpoint 85k
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.

ADD COMMENT

Login before adding your answer.

Traffic: 1869 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6