changeset 30:1c9cea51dc24 draft

Uploaded
author charles-bernard
date Sun, 18 Dec 2016 09:33:46 -0500
parents c8acc8808b52
children 7df7bee710ad
files ALFA/ALFA_wrapper.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ALFA/ALFA_wrapper.py	Sat Nov 19 04:25:42 2016 -0500
+++ b/ALFA/ALFA_wrapper.py	Sun Dec 18 09:33:46 2016 -0500
@@ -55,7 +55,7 @@
     if n%2 != 0:
         exit_and_explain('Problem with pairing reads filename and reads label')
     input2_args='-i'
-    k = 1
+    k = 0
     reads_filenames = [''] * (n/2)
     reads_labels = [''] * (n/2)
     for i in range(0, n, 2):
@@ -86,7 +86,7 @@
     merged_count_file = open('count_file.txt', 'wb')
     for i in range(0, len(reads_labels)):
         current_count_file = open(reads_labels[i] + '.categories_counts', 'r')
-        merged_count_file.write('##LABEL: %s\n\n' % reads_label[i])
+        merged_count_file.write('##LABEL: %s\n\n' % reads_labels[i])
         merged_count_file.write(current_count_file.read())
         merged_count_file.write('__________________________________________________________________\n')
         current_count_file.close()