1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-12-22 10:08:17 +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 {
ext.prefix = { "${meta.id}_${meta.run_accession}_raw" }
ext.prefix = { "${meta.id}_${meta.run_accession}_raw_falco" }
publishDir = [
path: { "${params.outdir}/falco/raw" },
mode: params.publish_dir_mode,
@ -42,7 +42,7 @@ process {
}
withName: FALCO_PROCESSED {
ext.prefix = { "${meta.id}_${meta.run_accession}_processed" }
ext.prefix = { "${meta.id}_${meta.run_accession}_processed_falco" }
publishDir = [
path: { "${params.outdir}/falco/processed" },
mode: params.publish_dir_mode,

View file

@ -33,7 +33,9 @@ process FALCO {
"""
} 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
"${task.process}":