Changeset 1782:e6ed6e7bced3 in orange-bioinformatics for _bioinformatics/obiGeneSets.py


Ignore:
Timestamp:
05/12/13 18:26:09 (11 months ago)
Author:
Flashpoint <vid.flashpoint@…>
Branch:
default
Children:
1783:4a72eace4f4c, 1787:8caf4af2d6bb
Message:

Added Phenotypes to DictyMutants hierarchy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _bioinformatics/obiGeneSets.py

    r1781 r1782  
    6767    from . import obiDictyMutants 
    6868    link_fmt = "http://dictybase.org/db/cgi-bin/dictyBase/SC/scsearch.pl?searchdb=strains&search_term=%s&column=all&B1=Submit"  
    69     #genesets = [GeneSet(id=mutant.name, name=mutant.descriptor, genes=obiDictyMutants.mutant_genes(mutant), hierarchy=("Dictybase", ), organism="352472", # 352472 gathered from obiGO.py code_map -> Dicty identifier 
     69    #genesets = [GeneSet(id=mutant.name, name=mutant.descriptor, genes=obiDictyMutants.mutant_genes(mutant), hierarchy=("Dictybase", "Mutants"), organism="352472", # 352472 gathered from obiGO.py code_map -> Dicty identifier 
    7070    #                    link=(link_fmt % mutant.name if mutant.name else None)) \ 
    7171    #                    for mutant in obiDictyMutants.mutants()] 
    7272  
    73     genesets = [GeneSet(id=phenotype, name=phenotype, genes=[obiDictyMutants.mutant_genes(mutant)[0] for mutant in mutants], hierarchy=("Dictybase", ), organism="352472", # 352472 gathered from obiGO.py code_map -> Dicty identifier 
     73    genesets = [GeneSet(id=phenotype, name=phenotype, genes=[obiDictyMutants.mutant_genes(mutant)[0] for mutant in mutants], hierarchy=("Dictybase", "Phenotypes"), organism="352472", # 352472 gathered from obiGO.py code_map -> Dicty identifier 
    7474                        link="") \ 
    7575                        for phenotype, mutants in obiDictyMutants.phenotype_mutants().items()] 
Note: See TracChangeset for help on using the changeset viewer.