bin/resume_stn_stats.rb in seqtrimnext-2.0.62 vs bin/resume_stn_stats.rb in seqtrimnext-2.0.66
- old
+ new
@@ -8,12 +8,13 @@
end
# print header
if ARGV[0]=='-t'
heads=['sample_name','input_count','sequence_count_paired','sequence_count_single','rejected','rejected_percent']
- puts heads.join("\t")
+ puts heads.join("\t")
ARGV.shift
end
+
ARGV.each do |file_path|
sample_name = File.basename(File.expand_path(File.join(file_path,'..','..')))
stats=JSON::parse(File.read(file_path))