[Bioperl-l] fetching a fasta file
    KHOUEIRY pierre 
    khoueiry at ibsm.cnrs-mrs.fr
       
    Fri Feb  6 04:32:39 EST 2004
    
    
  
Hello,
I have to search for sequences from a local fasta file. my sequences 
Id's are in a table
my @ID = 
('AAS_ECOLI','ABGT_ECOLI','ABRB_ECOLI','ACFD_ECOLI','ACRA_ECOLI','ACRB_ECOLI'). 
I tried to index my file but it doesn't work.
I used something like:
 $index = Bio::Index::Fasta->new("$file", 'WRITE');
 $index->make_index($file);
Sometimes I'm getting  message
Can't open 'DB_File' dbm file '/home/pierre/Perl/col2.fasta' : File exists
I want to fetch col2.fasta for all IDs in my table (@ID) above
In the doc of Bio::Index::Fasta, they index files and not their contents 
or am'I wrong. I want to do this approch because i want to search theses 
ID's in
a big nb of fasta files...
-- 
---------------------------------
Pierre Khoueiry	
khoueiry at ibsm.cnrs-mrs.fr
LCB - CNRS
31, Chemin Joseph Aiguier,
13402 Marseille CEDEX 20, France
---------------------------------
    
    
More information about the Bioperl-l
mailing list