Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(40)  |  Call(36)  |  Derive(0)  |  Import(4)

src/b/i/biopython-1.63/Bio/KEGG/Enzyme/__init__.py   biopython(Download)
 
from Bio.KEGG import _write_kegg
from Bio.KEGG import _wrap_kegg
 
 
    def _name(self):
        return _write_kegg("NAME",
                           [_wrap_kegg(l, wrap_rule = name_wrap)
                            for l in self.name])
 
    def _sysname(self):
        return _write_kegg("SYSNAME",
                           [_wrap_kegg(l, wrap_rule = name_wrap)
                            for l in self.sysname])
 
    def _reaction(self):
        return _write_kegg("REACTION",
                           [_wrap_kegg(l, wrap_rule = rxn_wrap)
    def _substrate(self):
        return _write_kegg("SUBSTRATE",
                           [_wrap_kegg(l, wrap_rule = name_wrap)
                            for l in self.substrate])
 

src/b/i/biopython-HEAD/Bio/KEGG/Enzyme/__init__.py   biopython(Download)
 
from Bio.KEGG import _write_kegg
from Bio.KEGG import _wrap_kegg
 
 
    def _name(self):
        return _write_kegg("NAME",
                           [_wrap_kegg(l, wrap_rule = name_wrap)
                            for l in self.name])
 
    def _sysname(self):
        return _write_kegg("SYSNAME",
                           [_wrap_kegg(l, wrap_rule = name_wrap)
                            for l in self.sysname])
 
    def _reaction(self):
        return _write_kegg("REACTION",
                           [_wrap_kegg(l, wrap_rule = rxn_wrap)
    def _substrate(self):
        return _write_kegg("SUBSTRATE",
                           [_wrap_kegg(l, wrap_rule = name_wrap)
                            for l in self.substrate])
 

src/b/i/biopython-1.63/Bio/KEGG/Compound/__init__.py   biopython(Download)
 
from Bio.KEGG import _write_kegg
from Bio.KEGG import _wrap_kegg
 
 
    def _name(self):
        return _write_kegg("NAME",
                           [_wrap_kegg(l, wrap_rule = name_wrap)
                            for l in self.name])
 
            s.append(entry[0] + ": " + entry[1] + "  " + entry[2])
        return _write_kegg("PATHWAY",
                           [_wrap_kegg(l, wrap_rule = id_wrap(16))
                            for l in s])
 
            s = s + t.ljust(16)
        return _write_kegg("ENZYME",
                            [_wrap_kegg(s, wrap_rule = id_wrap(0))])
 
    def _structures(self):
        s = []
        for entry in self.structures:
            s.append(entry[0] + ": " + "  ".join(entry[1]) + "  ")
        return _write_kegg("STRUCTURES",
                           [_wrap_kegg(l, wrap_rule = struct_wrap(5))

src/b/i/biopython-HEAD/Bio/KEGG/Compound/__init__.py   biopython(Download)
 
from Bio.KEGG import _write_kegg
from Bio.KEGG import _wrap_kegg
 
 
    def _name(self):
        return _write_kegg("NAME",
                           [_wrap_kegg(l, wrap_rule = name_wrap)
                            for l in self.name])
 
            s.append(entry[0] + ": " + entry[1] + "  " + entry[2])
        return _write_kegg("PATHWAY",
                           [_wrap_kegg(l, wrap_rule = id_wrap(16))
                            for l in s])
 
            s = s + t.ljust(16)
        return _write_kegg("ENZYME",
                            [_wrap_kegg(s, wrap_rule = id_wrap(0))])
 
    def _structures(self):
        s = []
        for entry in self.structures:
            s.append(entry[0] + ": " + "  ".join(entry[1]) + "  ")
        return _write_kegg("STRUCTURES",
                           [_wrap_kegg(l, wrap_rule = struct_wrap(5))