Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash add chr to beginning of vcf

# Example usage:
awk '{if($0 !~ /^#/) print "chr"$0; else print $0}' input.vcf
# This converts a vcf file with numeric genome coordinates to one with 
# chr in front of the chromosome number. 

# Note, this command does the opposite operation, if needed:
awk '{gsub(/^chr/,""); print}' input.vcf
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu ufw add to autostart 
Shell :: git mainstages 
Shell :: docker container could not open port /dev/ttyUSB0 
Shell :: Trouble installing Virtualbox Guest Addtions in LM 19.3 VM 
Shell :: truffle hd 
Shell :: how to download mavem 
Shell :: desktop trigger click bash shell ubuntu 
Shell :: copy terminal preferences from one computer to another ubuntu 
Shell :: rename lxc name on ubuntu 
Shell :: install gh ubuntu 
Shell :: git stash clean command 
Shell :: add desktop entry ubuntu 
Shell :: check directory size linux 
Shell :: tail grep 
Shell :: how to uninstall vscode from terminal ubuntu 
Shell :: change commit date git 
Shell :: sed remove space 
Shell :: nginx docker redirect no trailing slash to trailing slash 
Shell :: how to save multiple files in vim at once 
Shell :: trash path linux 
Shell :: yarn frozen lockfile 
Shell :: last return code linux 
Shell :: install intellij community edition mac brew commands 
Shell :: bash string starts with 
Shell :: python requirements 
Shell :: Install current nodejs on linux 
Shell :: linux download file from url 
Shell :: tmux set color 
Shell :: mac os htop not returning cpu 
Shell :: folder color ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =