Skip to content
Snippets Groups Projects
Commit 1ab404fe authored by JasperBoom's avatar JasperBoom
Browse files

Centrifuge should use -U instead of -1 with single end data.

parent dda26fbd
No related branches found
No related tags found
No related merge requests found
......@@ -91,8 +91,8 @@ task Classify {
Array[File]+ read1
String outputPrefix
String outputName = basename(outputPrefix)
Array[File] read2 = []
Array[File]? read2
Int? trim5
Int? trim3
Int? reportMaxDistinct
......@@ -121,8 +121,8 @@ task Classify {
~{"--host-taxids " + hostTaxIDs} \
~{"--exclude-taxids " + excludeTaxIDs} \
~{"-x " + indexPrefix} \
~{true="-1 " false="-U " defined(read2)} ~{sep="," read1} \
~{"-2 "} ~{sep="," read2} \
~{true="-1" false="-U" length(read2) > 0} ~{sep="," read1} \
~{true="-2" false="" length(read2) > 0} ~{sep="," read2} \
~{"-S " + outputPrefix + "/" + outputName + "_classification.tsv"} \
~{"--report-file " + outputPrefix + "/" + outputName + "_output_report.tsv"}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment