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

added SeqStat

parent ffe31f1f
No related branches found
No related tags found
1 merge request!21Added seqstat, set minlength for cutadapt to 1.
......@@ -277,6 +277,28 @@ task ScatterRegions {
}
task Seqstat {
String? preCommand
File? toolJar
File fastq
String outputFile
Float? memory
Float? memoryMultiplier
Int mem = ceil(select_first([memory, 4.0]))
String toolCommand = if defined(toolJar)
then "java -Xmx" + mem + "G -jar " +toolJar
else "biopet-seqstat -Xmx" + mem + "G"
command {
set -e -o pipefail
${preCommand}
mkdir -p ${outputFile}
${toolCommand} \
--fastq ${fastq} \
--output ${outputFile}
}
runtime {
memory: ceil(mem * select_first([memoryMultiplier, 2.0]))
}
}
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