[Bioperl-l] indexing and accessing local database

Qunfeng Dong qfdong@iastate.edu
Tue, 9 Jul 2002 11:26:47 -0500 (CDT)


Hi, 

I am trying to follow the sample code from
http://bioperl.org/Core/POD/bptutorial.html#III_1_1_Accessing_remote_databas

to build a local fasta sequence database
 #!/usr/bin/perl -w
 #scriptName - BuildIndex.pl
  use Bio::Index::Fasta; # using fasta file format
  $Index_File_Name = shift;
  $inx = Bio::Index::Fasta->new(
      -filename => $Index_File_Name,
      -write_flag => 1);
  $inx->make_index(@ARGV);


then I ran the script BuildIndex.pl as
% BuildIndex.pl indexName FastaSeqName
and I got Segmentation fault. Any idea why?

Qunfeng Dong