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
#Singleline
Wire posts tagged with 'Singleline'
Rahul Nayak
@rahul
Thread
By
Rahul Nayak
2272 days ago
Multi-line fasta to single line fasta $ perl -pe '/^>/ ? print "\n" : chomp' in.fasta | tail -n +2 > out.fasta
#Multiline
#Singleline
#Fasta
Jit
@jit.aber
Thread
By
Jit
2280 days ago
#Multiline
Fasta To
#SingleLine
Fasta $ awk '/^>/ {printf("\n%s\n",$0);next; } { printf("%s",$0);} END {printf("\n");}' < file.fa
Jit
@jit.aber
Thread
By
Jit
2298 days ago
perl -pe '/^>/ ? print "\n" : chomp' LR.fasta | tail -n +2 > out.fasta
#singleLine
#Multifasta
#Multi2Single
Neel
@neelam
Thread
By
Neel
2356 days ago
#Convert
a
#multi
-line
#fasta
to a
#singleline
#fasta
$ awk '!/^>/ { printf "%s", $0; n = "\n" } /^>/ { print n $0; n = "" } END { printf "%s", n }' sample1.fa > sample1_singleline.fa