Results for "header"

Wire posts

  • #Rename the #fasta #header and #keep first $ perl -ne 'if (/^(>\S+)/){print "$1\n";}else{print $_;}' realTestDATA.fa > realTestDATA_headerCorrected.fa #Perl

    1642 days ago

  • Perl onliner to add string to each of the fasta header. $ perl -p -e 's/^(>.*)$/$1-origin/g' in.fasta > out.fasta #String #Header #Fasta

    1628 days ago

  • Delete all the headers from multifasta file $ awk 'BEGIN {print ">"ARGV[1]};!/^>/{print}' test.fa #fasta #delete #header #multifasta

    113 days ago