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

fix unicycler memory

parent dabe9af0
No related branches found
No related tags found
2 merge requests!9Changes for virus assembly pipeline,!10Extra tasks required for assembly.
......@@ -49,7 +49,7 @@ task spades {
${"--nanopore " + nanoporeReads } \
${"--tslr " + tslrContigs } \
${"--trusted-contigs " + trustedContigs } \
${"--untrusted-contigs" + untrustedContigs } \
${"--untrusted-contigs " + untrustedContigs } \
${true="--only-error-correction" false="" onlyErrorCorrection } \
${true="--only-assembler" false="" onlyAssembler } \
${true="--careful" false="" careful } \
......
......@@ -9,8 +9,10 @@ task unicycler {
Int? minFastaLength
Int? keep
Boolean? vcf
Int threads
Int memory
Int? threads
Int? memory
Int finalThreads = select_first(threads, 1)
Int finalMemory = select_first(memory, 4)
String? mode
Float? minBridgeQual
Int? linearSeqs
......@@ -55,7 +57,7 @@ task unicycler {
${"--min_fasta_length " + minFastaLength} \
${"--keep " + keep } \
${true="--vcf" false="" vcf } \
${"--threads " + threads } \
${"--threads " + finalThreads } \
${"--mode " + mode } \
${"--min_bridge_qual " + minBridgeQual } \
${"--linear_seqs " + linearSeqs } \
......@@ -94,7 +96,7 @@ task unicycler {
File log = out + "/unicycler.log"
}
runtime {
cpu: threads
memory: memory
cpu: finalThreads
memory: finalMemory
}
}
\ 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