changeset 34:05c5844e037b draft

Uploaded
author bornea
date Wed, 27 Apr 2016 10:35:22 -0400
parents d223d815e9c5
children 26cc583a4ae4
files SAINT_preprocessing_mq_pep.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/SAINT_preprocessing_mq_pep.py	Wed Apr 27 10:35:13 2016 -0400
+++ b/SAINT_preprocessing_mq_pep.py	Wed Apr 27 10:35:22 2016 -0400
@@ -232,7 +232,8 @@
         seq = get_info(a).seqlength
         GN = get_info(a).genename
         if seq != 'NA':
-            output_file.write(a+"\t"+str(seq)+ "\t" + str(GN) + "\n")
+            if GN != 'NA':
+                output_file.write(a+"\t"+str(seq)+ "\t" + str(GN) + "\n")
     output_file.close()