Beispiel #1
0
 def getAnalysisDict():
     analyses = {}
     for category in ANALYSIS_SPECS.keys():
         analyses[category] = dict(
             zip(ANALYSIS_SPECS[category],
                 [AnalysisDefHandler(q) for q in ANALYSIS_SPECS[category]]))
     return analyses
 def getOptionsBox1():
     '''Returns a list of options to be displayed in the first options box
     Alternatively, the following have special meaning:
     '__genome__'
     '__track__'
     ('__history__','bed','wig','...')
     '''
     return sorted(ANALYSIS_SPECS.keys())
 def getOptionsBox1():
     '''Returns a list of options to be displayed in the first options box
     Alternatively, the following have special meaning:
     '__genome__'
     '__track__'
     ('__history__','bed','wig','...')
     '''
     return sorted(ANALYSIS_SPECS.keys())
Beispiel #4
0
 def getAnalysisDict(cls):
     if cls._analyses is None:
         pickleFilePath = cls._getAnalysisPickleFilePath()
         with closing(SafePickleFile(pickleFilePath)) as pickleFile:
             cls._analyses = pickleFile.object
             if cls._analyses is None:
                 cls._analyses = OrderedDict()
                 for category in ANALYSIS_SPECS.keys():
                     cls._analyses[
                         category] = AnalysisManager._filterAndParseAnalyses(
                             ANALYSIS_SPECS[category])
                 pickleFile.object = cls._analyses
     return cls._analyses
Beispiel #5
0
 def getAllCategoryNames():
     return ANALYSIS_SPECS.keys()