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

add validatefastq

parent 08f85049
No related branches found
No related tags found
1 merge request!22Add validatefastq
...@@ -305,3 +305,27 @@ task Seqstat { ...@@ -305,3 +305,27 @@ task Seqstat {
} }
} }
task ValidateFastq {
String? preCommand
File? toolJar
File fastq1
File? fastq2
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-validatefastq -Xmx" + mem + "G"
command {
set -e -o pipefail
${preCommand}
biopet-validatefastq \
--fastq1 ${fastq1} \
${"--fastq2 " + fastq2}
}
}
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