1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-22 14:19:56 +00:00

Fix falco publication names

This commit is contained in:
James Fellows Yates 2022-12-15 12:57:49 +01:00
parent 88589fbc53
commit 3b86a22556
2 changed files with 5 additions and 3 deletions

View file

@ -33,7 +33,7 @@ process {
} }
withName: FALCO { withName: FALCO {
ext.prefix = { "${meta.id}_${meta.run_accession}_raw" } ext.prefix = { "${meta.id}_${meta.run_accession}_raw_falco" }
publishDir = [ publishDir = [
path: { "${params.outdir}/falco/raw" }, path: { "${params.outdir}/falco/raw" },
mode: params.publish_dir_mode, mode: params.publish_dir_mode,
@ -42,7 +42,7 @@ process {
} }
withName: FALCO_PROCESSED { withName: FALCO_PROCESSED {
ext.prefix = { "${meta.id}_${meta.run_accession}_processed" } ext.prefix = { "${meta.id}_${meta.run_accession}_processed_falco" }
publishDir = [ publishDir = [
path: { "${params.outdir}/falco/processed" }, path: { "${params.outdir}/falco/processed" },
mode: params.publish_dir_mode, mode: params.publish_dir_mode,

View file

@ -33,7 +33,9 @@ process FALCO {
""" """
} else { } else {
""" """
falco $args --threads $task.cpus ${reads} [ ! -f ${prefix}_1.fastq.gz ] && ln -s ${reads[0]} ${prefix}_1.fastq.gz
[ ! -f ${prefix}_2.fastq.gz ] && ln -s ${reads[1]} ${prefix}_2.fastq.gz
falco $args --threads $task.cpus ${prefix}_1.fastq.gz ${prefix}_2.fastq.gz
cat <<-END_VERSIONS > versions.yml cat <<-END_VERSIONS > versions.yml
"${task.process}": "${task.process}":