GetSequences
From Mswiki
This script will extract the desired sequences from a FASTA file (DNA or protein) based on a list of genes provided in a text file. The text file should contain the gene identifiers for those genes you want to extract from the FASTA file, separated by returns. To run:
/data/6/jrjohns1/perlscripts/GetSequences list.txt database.fasta output.fasta
Where list.txt is the list of genes, database.fasta is the FASTA file to extract sequences from, and output.fasta is the name of the file to put the extracted sequences into.
