We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2889730 commit a86beebCopy full SHA for a86beeb
modules/PILON.nf
@@ -0,0 +1,16 @@
1
+process PILON {
2
+ publishDir "${params.out_dir}/02_ASSEMBLY/05_polished_genomes", pattern: "${datasetID}_pilon.fasta", mode: "copy"
3
+
4
+ tag "$datasetID"
5
6
+ input:
7
+ tuple val(datasetID), file(fasta), file(bam)
8
9
+ output:
10
+ file("${datasetID}_pilon.fasta")
11
12
+ """
13
+ export _JAVA_OPTIONS="-Xms512M -Xmx2G"
14
+ pilon --threads $task.cpus --genome $fasta --bam $bam --output ${datasetID}_pilon --changes --vcfqe
15
16
+}
0 commit comments