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

You probably want to use index not substr.
  • Comment on Re^3: extracting open reading frame (ORF) from a FASTA file