|Perl: the Markov chain saw|
simple perl script to trim a FASTA fileby RabidMortal (Initiate)
|on Apr 08, 2010 at 22:02 UTC||Need Help??|
RabidMortal has asked for the
wisdom of the Perl Monks concerning the following question:
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:
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.