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
#PerlTricks
Wire posts tagged with 'PerlTricks'
Radha Agarkar
@radhaagarkar
Thread
By
Radha Agarkar
2990 days ago
Extract sequence by using Ids file (assuming one ids in a line): perl -ne 'if(/^>(\S+)/){$c=$i{$1}}$c?print:chomp;$i{$_}=1 if
@ARGV
' ids.file fasta.file
#PerlTricks
#PerlOneliner
#Perl
#Extract
#Ids
#