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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/a/i/AIGO-0.1.0/AIGO/gui/main.py   AIGO(Download)
 
from AIGO.Statistics              import registerStat
from AIGO.ReferenceSet            import RefSet
from AIGO.FunctionalAnnotation    import FuncAnnot
from AIGO.Plot                    import PlotFA, registerPlot
    def OnLoadRefSet(self, event):
        fileName=self.frame.notebook.box_RefSet.GetValue()
        refType=self.frame.notebook.radio_btn_RefSet.GetStringSelection()
        refSet=RefSet(organism=self.project['organism'], fileName=fileName, refType=refType)
        self.project.addRefSet(refSet)

src/a/i/AIGO-0.1.0/tests/testAIGO.py   AIGO(Download)
#!/usr/bin/env python
from AIGO import logger
 
from AIGO.ReferenceSet import RefSet
from AIGO.FunctionalAnnotation import FuncAnnot
from AIGO.utils.Execute import batchExecute
 
refSet = RefSet(organism="platypus", fileName="platypus.refSet", refType="Text")
G = readGOoboXML("go_daily-termdb.obo-xml")
FA = FuncAnnot("platypusProject", refSet, G, organism="platypus")