Your code is attempting to access $seq as an object.
I think what you need to do is to use the object $seqio instead, so your code should read:
Also - it would be helpful to indicate what error you are getting. "I'm having a problem" is rather imprecise.$hash{ $seqio->accession_number() }= $seqio->seq();
"XML is like violence: if it doesn't solve your problem, use more."
In reply to Re: bioperl genbank into a hash
by NetWallah
in thread bioperl genbank into a hash
by rolandomantilla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |