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
Shruti Paniwala
@shruti
Shruti Paniwala
A Bioinformatician
Blogs
Bookmarks
Files
Fun
News
Opportunity post
Pages
Polls
ResearchLabs post
Tryst
Videos
Wire posts
Our Sponsors
Download
BioinformaticsOnline(BOL) Apps
in your chrome browser.
The Wire
Shruti Paniwala
Wire post by Shruti Paniwala
Wire post by Shruti Paniwala
Shruti Paniwala
@shruti
Thread
By
Shruti Paniwala
2895 days ago
Fasta sequence length: awk '/^>/ {if (seqlen){print seqlen}; print ;seqlen=0;next; } { seqlen += length($0)}END{print seqlen}' file.fa
#Length
#Linux
#OneLiner