Answers for "samtools convert sam to bam"

0

convert bam to sam samtools

samtools view -h -o yourDir/test.sam test.bam
Posted by: Guest on May-30-2020
1

samtools convert sam to bam

# Basic syntax:
samtools view -S -b sam_file.sam > bam_file.bam
# Where:
#	-S specifies that the input is a sam file
#	-b specified that the output should be written in bam format

# To convert a bam file to a sam file, use:
samtools view -h -o sam_file.sam bam_file.bam
Posted by: Guest on June-26-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language