# HG changeset patch # User bornea # Date 1460996604 14400 # Node ID 6fe48eb42c553254aa12e7a57d6f0f887ef2facf # Parent 9c72c51d858dc0513492280912b7e87ba69e493d Uploaded diff -r 9c72c51d858d -r 6fe48eb42c55 CRAPomeQuery.py --- a/CRAPomeQuery.py Mon Apr 18 12:21:20 2016 -0400 +++ b/CRAPomeQuery.py Mon Apr 18 12:23:24 2016 -0400 @@ -5,6 +5,12 @@ @author: brentkuenzi """ ################################################################################ +## Dependencies ## +import urllib2 +import sys +import numpy +import os +################################################################################ # This program will read in a SAINT formatted 'prey.txt' file or a file # containing a single column list of uniprot accessions (e.g. "P00533" or # "EGFR_HUMAN")query the CRAPome database (v1.1), and return a file specifying @@ -25,12 +31,6 @@ species = sys.argv[2] # HUMAN or YEAST db_path = sys.argv[4] ################################################################################ -## Dependencies ## -import urllib2 -import sys -import numpy -import os -################################################################################ ## Global Variables ## if species == "HUMAN": database = str(db_path) + "Human_CRAPome_v1-1.txt"