changeset 33:d223d815e9c5 draft

Uploaded
author bornea
date Wed, 27 Apr 2016 10:35:13 -0400
parents 63008bdf576e
children 05c5844e037b
files SAINT_preprocessing.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/SAINT_preprocessing.py	Tue Apr 26 17:16:03 2016 -0400
+++ b/SAINT_preprocessing.py	Wed Apr 27 10:35:13 2016 -0400
@@ -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()