nugen_barcode_splitter 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
data/bin/base_adder
CHANGED
data/bin/nugen_barcode_splitter
CHANGED
@@ -155,10 +155,10 @@ Dir.glob(options[:project_dir]+"/*").each do |p|
|
|
155
155
|
STDERR.puts cmd if options[:debug]
|
156
156
|
else
|
157
157
|
status = system(cmd)
|
158
|
-
raise "Calling
|
158
|
+
raise "Calling base_adder did not succeed!" if !status
|
159
159
|
cmd = "mv #{fwd}_added #{fwd}"
|
160
160
|
status = system(cmd)
|
161
|
-
raise "Was not
|
161
|
+
raise "Was not able to rename file #{fwd}!" if status!=true
|
162
162
|
end
|
163
163
|
end
|
164
164
|
|
@@ -11,7 +11,7 @@ class NugenBarcodeSplitterTest < Test::Unit::TestCase
|
|
11
11
|
assert template.to_s.include?("fastq-multx")
|
12
12
|
assert template.to_s.include?("<%= @fwd %>")
|
13
13
|
temp = template.fill("Lane_3", "33", "~/Lane3/", "bc", "fwd", "rev")
|
14
|
-
assert_equal(temp.to_s, "
|
14
|
+
assert_equal(temp.to_s, "fastq-multx bc \\\n <(gunzip -c fwd) \\\n <(gunzip -c rev) \\\n -o ~/Lane3//R1_33.%.fq ~/Lane3//R2_33.%.fq \\\n >> ~/Lane3//nugen_demultiplexing.log\n")
|
15
15
|
end
|
16
16
|
|
17
17
|
def test_fastq
|