[Bioperl-l] bpindex.pl in sun solaris (sparc)
Soumyadeep nandi
soumyadeep_nandi at yahoo.com
Fri May 9 01:54:22 EDT 2003
Hi All,
I ran bpindex.pl on a large contig file in sun solaris
(sparc), where I got two files, ENT.contig.db.mod.dir
and
ENT.contig.db.mod.pag.
While trying to extract the sequence from these
indexed files I am ending up with the following error:
------------- EXCEPTION -------------
MSG: Can't open 'SDBM_File' dbm file
'index_db/ENT.contig.db.mod' : No such file or
directory
STACK Bio::Index::Abstract::open_dbm
/usr/local/lib/perl5/site_perl/5.6.1/Bio/Index/Abstract.pm:392
STACK Bio::Index::Abstract::new
/usr/local/lib/perl5/site_perl/5.6.1/Bio/Index/Abstract.pm:150
STACK toplevel get_seq.pl:4
--------------------------------------
My script is as bellow:
#!/usr/bin/perl
use Bio::Index::Fasta;
my $Index_File_Name = "index_db/ENT.contig.db.mod";
my $inx = Bio::Index::Abstract->new('-filename' =>
$Index_File_Name);
my $id = "0001_Contig6400";
my $seq = $inx->fetch($id);
#my $seq = $inx->get_seq_by_id($id);
$seqstr = $seq->seq();
print "the seq is $seqstr";
Could you please suggest me what should I do to get
the sequence.
Regards,
Soumyadeep
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
More information about the Bioperl-l
mailing list