Repository 'saint_preprocessing'
hg clone https://toolshed.g2.bx.psu.edu/repos/bornea/saint_preprocessing

Changeset 33:d223d815e9c5 (2016-04-27)
Previous changeset 32:63008bdf576e (2016-04-26) Next changeset 34:05c5844e037b (2016-04-27)
Commit message:
Uploaded
modified:
SAINT_preprocessing.py
b
diff -r 63008bdf576e -r d223d815e9c5 SAINT_preprocessing.py
--- a/SAINT_preprocessing.py Tue Apr 26 17:16:03 2016 -0400
+++ b/SAINT_preprocessing.py Wed Apr 27 10:35:13 2016 -0400
b
@@ -231,7 +231,8 @@
         seq = get_info(protein).seqlength
         GN = get_info(protein).genename
         if seq != 'NA':
-            output_file.write(protein + "\t" + str(seq) + "\t" + str(GN) + "\n")
+            if GN != 'NA':
+                output_file.write(protein + "\t" + str(seq) + "\t" + str(GN) + "\n")
     output_file.close()