[Bioperl-l] "jump" to the right sequence in a SeqIO object

Torsten Seemann torsten.seemann at infotech.monash.edu.au
Tue Jan 30 03:12:40 UTC 2007


> This file contains 100 fasta sequences.  Right now I only want to deal with
> two of them, with the display ID "X" and "Y" respectively.
> My question is, is there some other way to do that? Is it possible to
> locate the two sequences that have the display ID as "X" and "Y" directly, without looping
> through the whole list?

http://www.bioperl.org/wiki/Bptutorial.pl#Indexing_and_accessing_local_databases_Bio::Index::.2A.2C_bp_index.pl.2C_bp_fetch.pl.2C_Bio::DB::.2A.29
http://www.bioperl.org/wiki/Module:Bio::Index::Fasta
http://www.bioperl.org/wiki/FAQ#How_do_I_use_Bio::Index::Fasta_and_index_on_different_ids.3F

--Torsten



More information about the Bioperl-l mailing list