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

This problem is the standard beginner bioinformatics homework question. If you really want to study Bioinformatics, you should approach this on your own instead of asking us for code. If you have specific questions, we'd be happy to help if you'll post the code you're having problems with.
  • Comment on Re: extracting open reading frame (ORF) from a FASTA file

Replies are listed 'Best First'.
Re^2: extracting open reading frame (ORF) from a FASTA file
by Nadiah (Novice) on Jul 10, 2005 at 11:03 UTC

    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 :(