Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash read length of fasta file seqeunces

awk '/^>/ {if (seqlen){print seqlen}; print ;seqlen=0;next; } { seqlen += length($0)}END{print seqlen}' file.fa
Comment

PREVIOUS NEXT
Code Example
Shell :: cm4 usb not working 
Shell :: download sklearn arch 
Shell :: what to never type in powershell 
Shell :: instalar conky manager ubuntu 18.04 
Shell :: k8s install rabbitmq 
Shell :: windows auto ip address change script 
Shell :: git branch specific files 
Shell :: powershell command to change minimum password length 
Shell :: split disk image dmg 
Shell :: sDepends: libgcc-s1 (= 3.0) but it is not installable 
Shell :: user cisco list command 
Shell :: partial match find terminal "find" 
Shell :: debian bin folder symlink to usr/bin 
Shell :: ip address regex validate cmd 
Shell :: yum install firefox 
Shell :: #include <bluetooth/bluetooth.h 
Shell :: find jpg or png 
Shell :: louisiana muskrat bounty 
Shell :: apache virtual host file 
Shell :: i want to change my heroku app name after it has been deployed 
Shell :: fsl convert_xfm 
Shell :: systemd edit sshd services 
Shell :: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease 
Shell :: install pusher srever in larvel 
Shell :: gentoo os-prober 
Shell :: quick access in linux terminal 
Shell :: install graylog for pfsense on centos 8 
Shell :: batch compress mp4 
Shell :: split large file into smaller files 
Shell :: github extension for solidity language 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =