http://qs321.pair.com?node_id=474192


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

Hi Boris,

about ur codes right.. may i know what this line means and why do we need to minus 3?
my $start = pos() - 3;

secondly, substr ($_, $start, $stop - $start), $/;

  • Comment on Re^2: extracting open reading frame (ORF) from a FASTA file

Replies are listed 'Best First'.
Re^3: extracting open reading frame (ORF) from a FASTA file
by borisz (Canon) on Jul 12, 2005 at 07:42 UTC
    -3 since the position is after ATG. $/ is just the newline for the print statement.
    Boris