Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 272 Bytes

6.Conversion_of_SAM_>_BAM_files.md

File metadata and controls

7 lines (6 loc) · 272 Bytes
# To visualize the alignment, convert the SAM file to a BAM (Binary AlignMent format)
samtools view -b SRRXXXXXXX.sam > SRRXXXXXXX.bam

# Sort bam files, based on the position in which the reads were mapped.
samtools sort SRRXXXXXXX.bam -o SRRXXXXXXX_sort.bam