Changeset 1831:43e5f6912372 in orange-bioinformatics


Ignore:
Timestamp:
07/03/13 10:43:44 (10 months ago)
Author:
Flashpoint <vid.flashpoint@…>
Branch:
default
Message:

Added short name tags for GO annotations and NCBI gene info/gen history

Location:
server_update
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • server_update/updateGO.py

    r1721 r1831  
    7979        print "Uploading", "gene_association." + org + ".tar.gz" 
    8080        sf_server.upload("GO", "gene_association." + org + ".tar.gz", filename, title = "GO Annotations for " + orgName, 
    81                            tags=["gene", "annotation", "ontology", "GO", orgName, "#uncompressed:%i" % uncompressedSize(filename), 
     81                           tags=["gene", "annotation", "ontology", "GO", orgName + obiTaxonomy.shortname(org), "#uncompressed:%i" % uncompressedSize(filename), 
    8282                                 "#organism:"+orgName, "#version:%i" % obiGO.Annotations.version] + (["essential"] if org in essentialOrgs else [])) 
    8383        sf_server.unprotect("GO", "gene_association." + org + ".tar.gz") 
  • server_update/updateNCBI_geneinfo.py

    r1721 r1831  
    4141    sf_server.upload("NCBI_geneinfo", "gene_info.%s.db" % taxid, filename, 
    4242              title = "NCBI gene info for %s" % obiTaxonomy.name(taxid), 
    43               tags = ["NCBI", "gene info", "gene_names", obiTaxonomy.name(taxid)] + (["essential"] if taxid in essential else [])) 
     43              tags = ["NCBI", "gene info", "gene_names", obiTaxonomy.name(taxid)] + obiTaxonomy.shortname(taxid) + (["essential"] if taxid in essential else [])) 
    4444    sf_server.unprotect("NCBI_geneinfo", "gene_info.%s.db" % taxid) 
    4545     
     
    5252    sf_server.upload("NCBI_geneinfo", "gene_history.%s.db" % taxid, filename, 
    5353              title = "NCBI gene history for %s" % obiTaxonomy.name(taxid), 
    54               tags = ["NCBI", "gene info", "history", "gene_names", obiTaxonomy.name(taxid)] + (["essential"] if taxid in essential else [])) 
     54              tags = ["NCBI", "gene info", "history", "gene_names", obiTaxonomy.name(taxid)] + obiTaxonomy.shortname(taxid) + (["essential"] if taxid in essential else [])) 
    5555    sf_server.unprotect("NCBI_geneinfo", "gene_history.%s.db" % taxid) 
Note: See TracChangeset for help on using the changeset viewer.