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

flash to 1.0

parent 39cbad54
No related branches found
No related tags found
1 merge request!34Move all files to version 1.0
version 1.0
task flash { task flash {
String? preCommand input {
File inputR1 String? preCommand
File inputR2 File inputR1
String outdirPath File inputR2
String? outPrefix = "flash" String outdirPath
Int? minOverlap String? outPrefix = "flash"
Int? maxOverlap Int? minOverlap
Boolean? compress = true Int? maxOverlap
Int? threads Boolean? compress = true
Int? memory Int? threads
Int? memory
}
command { command {
set -e -o pipefail set -e -o pipefail
mkdir -p ${outdirPath} mkdir -p ~{outdirPath}
${preCommand} ~{preCommand}
flash \ flash \
${"--threads=" + threads} \ ~{"--threads=" + threads} \
${"--output-directory=" + outdirPath} \ ~{"--output-directory=" + outdirPath} \
${"--output-prefix=" + outPrefix} \ ~{"--output-prefix=" + outPrefix} \
${true="--compress " false="" defined(compress)} \ ~{true="--compress " false="" defined(compress)} \
${"--min-overlap=" + minOverlap} \ ~{"--min-overlap=" + minOverlap} \
${"--max-overlap=" + maxOverlap} \ ~{"--max-overlap=" + maxOverlap} \
${inputR1} ${inputR2} ~{inputR1} ~{inputR2}
} }
output { output {
......
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