Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by Nadiah (Novice)
on Jul 12, 2005 at 07:28 UTC ( [id://474192]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://474192]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-25 12:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found