spec/cli_spec.rb in lederhosen-1.4.0 vs spec/cli_spec.rb in lederhosen-1.6.0
- old
+ new
@@ -10,11 +10,16 @@
it 'should have a version command' do
`./bin/lederhosen version`
$?.success?.should be_true
end
- it 'should trim reads' do
+ it 'should trim paired QSEQ reads' do
`./bin/lederhosen trim --reads-dir=spec/data/IL*.txt.gz --out-dir=#{$test_dir}/trimmed`
+ $?.success?.should be_true
+ end
+
+ it 'should trim paired, interleaved FASTQ reads' do
+ `./bin/lederhosen trim --reads-dir=spec/data/example.fastq --out-dir=#{$test_dir}/trimmed --read-type fastq`
$?.success?.should be_true
end
it 'can create a usearch udb using usearch' do
`./bin/lederhosen make_udb --input #{$test_dir}/trimmed/ILT_L_9_B_001.fasta --output #{$test_dir}/test_db.udb`