Skip to content
Snippets Groups Projects
Unverified Commit 3df5d7b6 authored by Peter van 't Hof's avatar Peter van 't Hof Committed by GitHub
Browse files

Merge pull request #22 from biowdl/BIOWDL-34

Add validatefastq
parents 08f85049 4382c7b7
No related branches found
No related tags found
No related merge requests found
......@@ -305,3 +305,29 @@ 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}
}
output {
File stderr = stderr()
}
}
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