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
304 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
1601 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
1823 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
2137 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
2296 days ago
perl -pe '/^>/ ? print "\n" : chomp' LR.fasta | tail -n +2 > out.fasta
#singleLine
#Multifasta
#Multi2Single
Rahul Nayak
@rahul
Thread
By
Rahul Nayak
2417 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
2948 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