Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by Nadiah (Novice)
on Jul 12, 2005 at 07:28 UTC ( #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? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-05-22 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (80 votes). Check out past polls.

    Notices?