Results for "PerlTricks"

Tags

  • 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 #

    Tags: PerlTricks, PerlOneliner, Perl, Extract, Ids

    2776 days ago