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

added extractAdapters task

parent eea04f4f
No related branches found
No related tags found
No related merge requests found
......@@ -58,3 +58,31 @@ task fastqc {
cpu: select_first(threads)
}
}
task extractAdapters {
File extractAdaptersFastqcJar
File inputFile
String? adapterOutputFilePath
String? contamsOutputFilePath
Boolean? skipContams
File? knownContamFile
File? knownAdapterFile
Float? adapterCutoff
Boolean? outputAsFasta
command {
java -jar ${extractAdaptersFastqcJar} \
--inputFile ${inputFile} \
${"--adapterOutputFile " + adapterOutputFilePath } \
${"--contamsOutputFile " + contamsOutputFilePath } \
${"--knownContamFile " + knownContamFile} \
${"--knownAdapterFile " + knownAdapterFile} \
${"--adapterCutoff " + adapterCutoff} \
${true="--skipContams" false="" skipContams} \
${true="--outputAsFasta" false="" outputAsFasta}
}
output {
File? adapterOutputFile = adapterOutputFilePath
File? contamsOutputFile = contamsOutputFilePath
}
}
\ No newline at end of file
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