Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

convert bam to sam samtools

samtools view -h -o yourDir/test.sam test.bam 
Comment

PREVIOUS NEXT
Code Example
Shell :: update powershell using cmd windows 10 
Shell :: bootstrap install for next.js 
Shell :: set hostname debian 10 
Shell :: install alacritty ubuntu 20.04 
Shell :: install docker raspberry 
Shell :: bash: npm: command not found 
Shell :: mac check shell version 
Shell :: install dig 
Shell :: completely uninstall apache from ubuntu 
Shell :: update composer globally 
Shell :: npm install @hookform/resolvers yup 
Shell :: npm i mui 
Shell :: unzip tar.bz2 
Shell :: check if kubernetes is running 
Shell :: update system in manjaro 
Shell :: count the number of lines in a git repository 
Shell :: pandas pip install 
Shell :: install i3-gaps ubuntu 
Shell :: install curl in alpine linux 
Shell :: docker run redis 
Shell :: install laravel ui in laravel 8 
Shell :: ufw see open ports 
Shell :: restart bashrc 
Shell :: run heroku bash in terminal 
Shell :: How to upload a files to a repository on github using gitbash 
Shell :: node js download ubuntu 
Shell :: cmd command to install xlrd version 1.2.0 
Shell :: get public ip linu 
Shell :: git stash history 
Shell :: browserrouter react not working install 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =