Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Getting data from NCBI

by jpearl (Scribe)
on Apr 30, 2009 at 17:34 UTC ( [id://761117]=note: print w/replies, xml ) Need Help??


in reply to Re: Getting data from NCBI
in thread Getting data from NCBI

I actually had a java program that did something very similar to this. It was very nice to just have the sequence as a string to read in, no parsing required! You can get the bare fasta formated sequence pretty easily if you use something like this:

my $giNum = 148261691 my $seq = "http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?db=protei +n&qty=1&c_start=1&list_uids=" .$giNum ."&uids=&dopt=fasta&dispmax=5&sendto=t&from=begin&to=end";


and then do something similar to what you're doing above.

good luck!

Log In?
Username:
Password:

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

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

    No recent polls found