lib/lederhosen/tasks/rep_reads.rb in lederhosen-0.1.6 vs lib/lederhosen/tasks/rep_reads.rb in lederhosen-0.1.7
- old
+ new
@@ -17,11 +17,11 @@
output = options[:output]
joined_reads = options[:joined]
# Load cluster table!
- clstr_info = Helpers.load_uc_file input
+ clstr_info = Helpers.load_uc_file input
clstr_counts = clstr_info[:clstr_counts] # clstr_counts[:clstr][sample.to_i] = reads
seed_to_clstrnr = clstr_info[:seed_to_clstrnr]
samples = clstr_info[:samples]
out_handle = File.open("#{output}", 'w')
@@ -34,10 +34,10 @@
dna.name = "#{dna.name}:cluster-#{clstrnr}"
out_handle.puts dna
end
end
end
-
+
out_handle.close
end
end
end