Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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.