X
Alternative content
BOL
Log in
Username or email
Password
Remember me
Register
Lost password
Activity
News
Opportunity
ResearchLabs
Questions
Pages
Discussion
More
BioScripts
Blogs
Bookmarks
Files
Fun
Groups
Polls
The Wire
Tryst
Videos
Our Sponsors
Download
BioinformaticsOnline(BOL) Apps
in your chrome browser.
The Wire
#multifasta
Wire posts tagged with 'multifasta'
BioStar
@biostar
Thread
By
BioStar
334 days ago
Delete all the headers from multifasta file $ awk 'BEGIN {print ">"ARGV[1]};!/^>/{print}' test.fa
#fasta
#delete
#header
#multifasta
BioStar
@biostar
Thread
By
BioStar
1631 days ago
Split the
#multifasta
to
#singlefasta
awk '$0 ~ "^>" { match($1, /^>([^:]+)/, id); filename=id[1]} {print >> filename".fa"}' input.fa
Neel
@neelam
Thread
By
Neel
1853 days ago
Multifasta 2 singlefasta cat toy.fasta| awk '{ if (substr($0, 1, 1)==">" {filename=(substr($0,2) ".fa")} print $0 > filename }'
#Split
#fasta
#multifasta
Rahul Nayak
@rahul
Thread
By
Rahul Nayak
2167 days ago
Split a multi-FASTA file into individual FASTA files: awk '/^>/{s=++d".fa"} {print > s}' multi.fa
#split
#multifasta
Jit
@jit.aber
Thread
By
Jit
2326 days ago
perl -pe '/^>/ ? print "\n" : chomp' LR.fasta | tail -n +2 > out.fasta
#singleLine
#Multifasta
#Multi2Single
Rahul Nayak
@rahul
Thread
By
Rahul Nayak
2447 days ago
#Split
#multifasta
$ cat hg18.fa | awk '{ if (substr($0, 1, 1)==">") {filename=(substr($0,2) ".fa")} print $0 > filename }'
Shruti Paniwala
@shruti
Thread
By
Shruti Paniwala
2978 days ago
Extract a fasta sequence from multifasta file: samtools faidx multitest.fa and then samtools faidx multitest.fa fasta_id > out.fa
#Samtools
#Fasta
#Extract
#Multifasta