[Bioperl-l] Two Bio::DB::Flat swiss adaptors

Seongwon "Terry" Seo swseo at uiuc.edu
Wed Mar 21 22:02:13 UTC 2007


I have a question regarding SwissProt. 
One ID can have multiple accessions in SwissProt, but I cannot find where
they are saved in Bioperl::Seq. Is there anyone can help me on this?
Terry Seo.

-----Original Message-----
From: bioperl-l-bounces at lists.open-bio.org
[mailto:bioperl-l-bounces at lists.open-bio.org] On Behalf Of Chris Fields
Sent: Tuesday, March 20, 2007 11:34 PM
To: Bioperl-L list
Subject: [Bioperl-l] Two Bio::DB::Flat swiss adaptors

Just curious, but why are there two Bio::DB::Flat::BDB swissprot  
adaptors (Bio::DB::Flat::BDB::swiss, Bio::DB::Flat::BDB::swissprot)?   
The only significant difference between the two is the following line  
in seq_to_ids():

Bio::DB::Flat::BDB::swiss : $ids{VERSION}  = "$accession.$version"    
if defined $accession && defined $version;
Bio::DB::Flat::BDB::swiss : $ids{VERSION}  = "$accession.version"    
if defined $accession && defined $version;

The second is missing '$' in version, which I'm guessing is a bug?

chris

_______________________________________________
Bioperl-l mailing list
Bioperl-l at lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/bioperl-l




More information about the Bioperl-l mailing list