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

def Bio::GenBank::_FeatureConsumer::_set_location (   self,
  location,
  cur_feature 
) [private]

Set the location information for a feature.

Arguments:
o location - An AbsoluteLocation object specifying the info
about the location.
o cur_feature - The feature to add the information to.

Definition at line 743 of file __init__.py.

00743                                                   :
        """Set the location information for a feature.

        Arguments:
        o location - An AbsoluteLocation object specifying the info
        about the location.
        o cur_feature - The feature to add the information to.
        """
        # check to see if we have a cross reference to another accession
        # ie. U05344.1:514..741
        if location.path is not None:
            cur_feature.ref = location.path.accession
            cur_feature.ref_db = location.path.database
        # now get the actual location information
        cur_feature.location = self._get_location(location.local_location)

    def _get_location(self, range_info):


Generated by  Doxygen 1.6.0   Back to index