diff CRAPomeQuery.py @ 8:6fe48eb42c55 draft

Uploaded
author bornea
date Mon, 18 Apr 2016 12:23:24 -0400
parents d1a26feef9de
children 577611df296d
line wrap: on
line diff
--- 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"