Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Need help on finish

by Laurent_R (Canon)
on Nov 10, 2014 at 14:41 UTC ( [id://1106708]=note: print w/replies, xml ) Need Help??


in reply to Need help on finish

This seems fairly simple and the assignment (well, it really looks like a homework assignment, and the monks here usually prefer when the poster says it upfront)) tells you how to do.

Basically, you first need to read the genes source (NCNI) and load the gene IDs and sequences into a hash. Once this is done, you ask your user to enter a gene ID. Chomp the user input and lookup in the hash if you find it. If the value is defined for the ID, just print the value (sequence); if not, print an error message.

Turning that into Perl is not complicated, and you should really try to do it yourself. If you encouter somme difficulties, feel free to post your code and explain in which respect it does not work as you would expect/want.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-25 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found