Logo Search packages:      
Sourcecode: python-biopython version File versions  Download package

def Bio::GenBank::_FeatureConsumer::dblink (   self,
  content 
)
Store DBLINK cross references as dbxrefs in our record object.

This line type is expected to replace the PROJECT line in 2009. e.g.

During transition:

PROJECT     GenomeProject:28471
DBLINK      Project:28471
    Trace Assembly Archive:123456

Once the project line is dropped:

DBLINK      Project:28471
    Trace Assembly Archive:123456

Note GenomeProject -> Project.

We'll have to see some real examples to be sure, but based on the
above example we can expect one reference per line.

Definition at line 411 of file __init__.py.

                             :
        """Store DBLINK cross references as dbxrefs in our record object.

        This line type is expected to replace the PROJECT line in 2009. e.g.

        During transition:
        
        PROJECT     GenomeProject:28471
        DBLINK      Project:28471
                    Trace Assembly Archive:123456

        Once the project line is dropped:

        DBLINK      Project:28471
                    Trace Assembly Archive:123456

        Note GenomeProject -> Project.

        We'll have to see some real examples to be sure, but based on the
        above example we can expect one reference per line.
        """
        #During the transition period with both PROJECT and DBLINK lines,
        #we don't want to add the same cross reference twice.
        if content.strip() not in self.data.dbxrefs :
            self.data.dbxrefs.append(content.strip())


Generated by  Doxygen 1.6.0   Back to index