Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: How can one extract a name using perl?

by kcott (Archbishop)
on Oct 20, 2017 at 05:52 UTC ( [id://1201729]=note: print w/replies, xml ) Need Help??


in reply to How can one extract a name using perl?

G'day supriyoch_2008,

The documentation for Bio::DB::GenBank says that get_Seq_by_acc() returns a Bio::Seq object.

"I have got the following output from the script. It does not show name of individual gene."

The Bio::Seq documentation shows the desc() method you used. It's return value (your $desc) is the only data you output. Why did you you expect "name of individual gene" when you printed this?

I suggest you read the Bio::Seq documentation. It has methods for accessing the type of information you seem to want.

The Documentation section of the "BioPerl distribution page" shows many scripts. Do any of these do what you want? Do any have source code that helps with your current task?

The "BioPerl MANIFEST page" has a whole screenful of links to "examples/*" files. I suggest you have a look at these also.

— Ken

Replies are listed 'Best First'.
Re^2: How can one extract a name using perl?
by supriyoch_2008 (Monk) on Oct 21, 2017 at 04:16 UTC

    Hi kcott,

    Thank you for your suggestions. I shall read those documentations to solve the problem.

    With kind regards,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-25 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found