Skip to content

Commit

Permalink
changed to version 0.4.0 (nf-core#3676)
Browse files Browse the repository at this point in the history
* changed to version 0.4.0

* Update main.nf

* Update main.nf remove tailing space

* Update main.nf

* Update modules/nf-core/fcs/fcsgx/main.nf

Co-authored-by: Matthieu Muffato <cortexspam-github@yahoo.fr>

---------

Co-authored-by: Matthieu Muffato <cortexspam-github@yahoo.fr>
  • Loading branch information
yumisims and muffato authored Jul 31, 2023
1 parent 499265b commit 5b116ec
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions modules/nf-core/fcs/fcsgx/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ process FCS_FCSGX {
label 'process_low'

container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/FCS/releases/0.2.3/fcs-gx.0.2.3.sif':
'docker.io/ncbi/fcs-gx:0.2.3' }"
'https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/FCS/releases/0.4.0/fcs-gx.sif':
'docker.io/ncbi/fcs-gx:0.4.0' }"

// Exit if running this module with -profile conda / -profile mamba
if (workflow.profile.tokenize(',').intersect(['conda', 'mamba']).size() >= 1) {
Expand All @@ -26,7 +26,7 @@ process FCS_FCSGX {
script:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
def FCSGX_VERSION = '0.2.3'
def FCSGX_VERSION = '0.4.0'

"""
python3 /app/bin/run_gx \\
Expand All @@ -42,4 +42,20 @@ process FCS_FCSGX {
FCS-GX: $FCSGX_VERSION
END_VERSIONS
"""

stub:
def prefix = task.ext.prefix ?: "${meta.id}"
def FCSGX_VERSION = '0.4.0'

"""
mkdir -p out
touch out/${prefix}.fcs_gx_report.txt
touch out/${prefix}.taxonomy.rpt
cat <<-END_VERSIONS > versions.yml
"${task.process}":
python: \$(python3 --version 2>&1 | sed -e "s/Python //g")
FCS-GX: $FCSGX_VERSION
END_VERSIONS
"""
}

0 comments on commit 5b116ec

Please sign in to comment.