Skip to content
Snippets Groups Projects
Commit 6cccf353 authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

work with adapterlist

parent 87c555a6
No related branches found
No related tags found
No related merge requests found
...@@ -60,9 +60,12 @@ task cutadapt { ...@@ -60,9 +60,12 @@ task cutadapt {
${"source activate " + condaEnv} ${"source activate " + condaEnv}
cutadapt \ cutadapt \
${"--cores=" + cores} \ ${"--cores=" + cores} \
${sep="-a " "-a " + adapter} ${"-A " + adapterRead2} \ ${true="-a " false="" defined(adapter)} ${sep=" -a " adapter} \
${"-g" + front} ${"-G" + frontRead2} \ ${true="-A " false="" defined(adapterRead2)} ${sep=" -A " adapterRead2} \
${"-b " + anywhere} ${"-B" + anywhereRead2} \ ${true="-g " false="" defined(front)} ${sep=" -g " front} \
${true="-G " false="" defined(frontRead2)} ${sep=" -G " frontRead2} \
${true="-b " false="" defined(anywhere)} ${sep=" -a " anywhere} \
${true="-B " false="" defined(anywhereRead2)} ${sep=" -B " anywhereRead2} \
--output ${read1output} ${"--paired-output " + read2output} \ --output ${read1output} ${"--paired-output " + read2output} \
${"--to-short-output " + tooShortOutputPath} ${"--to-short-paired-output " + tooShortPairedOutputPath} \ ${"--to-short-output " + tooShortOutputPath} ${"--to-short-paired-output " + tooShortPairedOutputPath} \
${"--to-long-output " + tooLongOutputPath} ${"--to-long-paired-output " + tooLongPairedOutputPath} \ ${"--to-long-output " + tooLongOutputPath} ${"--to-long-paired-output " + tooLongPairedOutputPath} \
......
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