"be consistent" | |
PerlMonks |
simple perl script to trim a FASTA fileby RabidMortal (Initiate) |
on Apr 08, 2010 at 22:02 UTC ( [id://833644]=perlquestion: print w/replies, xml ) | Need Help?? |
RabidMortal has asked for the wisdom of the Perl Monks concerning the following question:
hello,
i need help finding/writing a simple script to edit a very large FASTA (text) file. the text format of the FASTA file is simple:
>HWI-EAS158_40_3_1_46_535 each file has 6000000 lines, all with the exact same format. i need a script that will go through and trim off x nucleotides from the beginning, and y nucleotides from the end, of each and every sequence in the file. so, the script should not touch anything on the lines beginning with ">" i would really really appreciate any help. thank you.
Back to
Seekers of Perl Wisdom
|
|