rolandomantilla has asked for the wisdom of the Perl Monks concerning the following question:
use Bio::SeqIO; use strict; my $seqio= ''; my $seqobj= ''; my $seq_stats= ''; my %hash=(); my $seq=''; my $seqio = Bio::SeqIO ->new(-file=> "GenBank_Records.txt", -format => 'genbank'); print "Enter Acc number"; $acc=<STDIN>; chomp $acc; $hash{$seq->accession_number}= $seq->seq; print $hash{$acc}; exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: bioperl genbank into a hash
by NetWallah (Canon) on Aug 15, 2011 at 02:05 UTC | |
|
Re: bioperl genbank into a hash
by Cristoforo (Curate) on Aug 15, 2011 at 00:07 UTC | |
|
Re: bioperl genbank into a hash
by pvaldes (Chaplain) on Aug 15, 2011 at 10:41 UTC |