Mercurial > repos > bornea > query_crapome
comparison CRAPomeQuery.py @ 3:d1a26feef9de draft
Uploaded
author | bornea |
---|---|
date | Mon, 18 Apr 2016 12:18:24 -0400 |
parents | 4d47d78b193a |
children | 6fe48eb42c55 |
comparison
equal
deleted
inserted
replaced
2:1c9b793eb6c4 | 3:d1a26feef9de |
---|---|
31 import numpy | 31 import numpy |
32 import os | 32 import os |
33 ################################################################################ | 33 ################################################################################ |
34 ## Global Variables ## | 34 ## Global Variables ## |
35 if species == "HUMAN": | 35 if species == "HUMAN": |
36 database = "Human_CRAPome_v1-1.txt" | 36 database = str(db_path) + "Human_CRAPome_v1-1.txt" |
37 if species == "YEAST": | 37 if species == "YEAST": |
38 database = "Yeast_CRAPome_v1-1.txt" | 38 database = str(db_path) + "Yeast_CRAPome_v1-1.txt" |
39 ################################################################################ | 39 ################################################################################ |
40 ## CRAPomeQuery ## | 40 ## CRAPomeQuery ## |
41 class ReturnValue1(object): | 41 class ReturnValue1(object): |
42 def __init__(self, uniprot_acc, gene, swissprot): | 42 def __init__(self, uniprot_acc, gene, swissprot): |
43 self.up = uniprot_acc | 43 self.up = uniprot_acc |