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

def Bio::GenBank::Record::Record::_organism_line (   self  )  [private]

Output for ORGANISM line with taxonomy info.

Definition at line 339 of file Record.py.

00339                             :
        """Output for ORGANISM line with taxonomy info.
        """
        output = Record.INTERNAL_FORMAT % "ORGANISM"
        output += "%s\n" % self.organism
        output += " " * Record.GB_BASE_INDENT
        taxonomy_info = ""
        for tax in self.taxonomy:
            taxonomy_info += "%s; " % tax
        # replace the ; at the end with a period
        taxonomy_info = taxonomy_info[:-2]
        taxonomy_info += "."
        output += _wrapped_genbank(taxonomy_info, Record.GB_BASE_INDENT)

        return output
            
    def _comment_line(self):


Generated by  Doxygen 1.6.0   Back to index