diff SAINT_preprocessing_mq_pep.py @ 34:05c5844e037b draft

Uploaded
author bornea
date Wed, 27 Apr 2016 10:35:22 -0400
parents 761e1ad2b130
children 26cc583a4ae4
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()