Horje
samtools convert sam to bam Code Example
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
convert bam to sam samtools
samtools view -h -o yourDir/test.sam test.bam 




Shell

Related
git show remote url Code Example git show remote url Code Example
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap. Code Example npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap. Code Example
how to extract tgz file in linux Code Example how to extract tgz file in linux Code Example
how to get hostname on linux Code Example how to get hostname on linux Code Example
obs uninstall ubuntu Code Example obs uninstall ubuntu Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13