in reply to Re: extracting open reading frame (ORF) from a FASTA file
in thread extracting open reading frame (ORF) from a FASTA file

ok sure.. i've worked out something.. but having problems with it.
i decide to use substring to extract "ATG".

print "\nThe sequence is :$sequence\n\n"; @sequence = $sequence; @sequence= split('', $sequence); $start ="ATG"; $a1 = substr ($sequence, $start, 3); print "$a1\n";
it can't display all of the "ATG"s in the fasta file.. help please :(

Replies are listed 'Best First'.
Re^3: extracting open reading frame (ORF) from a FASTA file
by Lexicon (Chaplain) on Jul 10, 2005 at 11:25 UTC