Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: get full hit descrption from blast output (xml)

by remiah (Hermit)
on Nov 30, 2012 at 02:20 UTC ( #1006384=note: print w/replies, xml ) Need Help??


in reply to get full hit descrption from blast output (xml)

Hello ejbiers.

print "###:".$hit->name . $hit->description."\n"; __DATA__ ###:43989.cce_0262(Cyanothece ATCC 51142)
This is first time I looked into BioPerl. I have no idea for why name method stores it, just found it while looking around modules of bio perl.

Your XML lacks several end tags.
And real command line, I guess ,
perl scriptname.pl -i inputfile.xml -o goodoutputfile.txt -t test.txt -n 3 -b 1
I hope you fixing them and get more proper answers from bio perl monks.

regards.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006384]
help
Chatterbox?
[shmem]: discovered a fuel tank leakage at my second hand motorbike. Some bloke drove a screw too long through the fairing
[shmem]: hard to fix, and plans wrecked. And more... won't tell.
[shmem]: the leakage has been "fixed" with a piece of bycicle tube. Bleargh.
[karlgoethebier]: shmem: yes. my first ride tomorrow is questionable because of lumbago. shit
[shmem]: But! the bloke wasn't me, at least.

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2017-06-25 20:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (570 votes). Check out past polls.