generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the Bug
I think I almost have this workflow working.
To Reproduce
Steps to reproduce the behavior, including:
- Command(s) run: Provide the exact command(s) used.
nextflow run CDCgov/neissflow -profile singularity --outdir neisslow --name UT-SH00354-251007 --input samplesheet.csv --pubmlst mlst_db --blastdb blastdb -resume --mash_db $(pwd)/RefSeqSketchesDefaults.msh
- Input files: Describe or attach relevant input files (e.g., FASTQ, FASTA).
This was my sample sheet
sample,fastq_1,fastq_2
2114118,reads/2114118_S26_L001_R1_001.fastq.gz,reads/2114118_S26_L001_R2_001.fastq.gz
2114122,reads/2114122_S27_L001_R1_001.fastq.gz,reads/2114122_S27_L001_R2_001.fastq.gz
- Environment:
I was using Singularity
- Error message: Copy and paste the exact error message or traceback.
N E X T F L O W ~ version 25.04.7
Launching `https://github.com/CDCgov/neissflow` [distracted_faraday] DSL2 - revision: a9b8658a64 [main]
------------------------------------------------------
_ __ _
_ __ ___(_)___ ___ / _| | _____ __
| '_ \ / _ \ / __/ __| |_| |/ _ \ \ /\ / /
| | | | __/ \__ \__ \ _| | (_) \ V V /
|_| |_|\___|_|___/___/_| |_|\___/ \_/\_/
neissflow/main.nf v2.0.0-ga9b8658
------------------------------------------------------
Core Nextflow options
revision : main
runName : distracted_faraday
containerEngine : singularity
launchDir : /Volumes/NGS_2/pulsenet_and_arln/UT-SH00354-251007
workDir : /Volumes/NGS_2/pulsenet_and_arln/UT-SH00354-251007/work
projectDir : /home/eriny/.nextflow/assets/CDCgov/neissflow
userName : eriny
profile : singularity
configFiles :
Input/output options
input : samplesheet.csv
outdir : neisslow
name : UT-SH00354-251007
Species ID parameters
mash_db : /Volumes/NGS_2/pulsenet_and_arln/UT-SH00354-251007/RefSeqSketchesDefaults.msh
FA19_ref : /home/eriny/.nextflow/assets/CDCgov/neissflow/assets/FA19.gb
Assembly Parameters
FA19cg : /home/eriny/.nextflow/assets/CDCgov/neissflow/assets/FA19cg.fa
AMR Profiler parameters
amr_ref : /home/eriny/.nextflow/assets/CDCgov/neissflow/assets/amr_genes.gbk
loci : /home/eriny/.nextflow/assets/CDCgov/neissflow/assets/FA19_loci.tsv
default_amr : /home/eriny/.nextflow/assets/CDCgov/neissflow/assets/AMR_defaults.tsv
columns : /home/eriny/.nextflow/assets/CDCgov/neissflow/assets/amr_columns.txt
mtrR_mosaic_ref : /home/eriny/.nextflow/assets/CDCgov/neissflow/assets/gene_refs/mosaic-mtrR.fasta
a_blastdb : /home/eriny/.nextflow/assets/CDCgov/neissflow/assets/blastdb
pubmlst : mlst_db
blastdb : blastdb
ngmasterdb : /home/eriny/.nextflow/assets/CDCgov/neissflow/assets/alleledb/ngmaster/
ngstar : /home/eriny/.nextflow/assets/CDCgov/neissflow/assets/alleledb/ngmaster/pubmlst/ngstar/ngstar.txt
ngmast : /home/eriny/.nextflow/assets/CDCgov/neissflow/assets/alleledb/ngmaster/pubmlst/ngmast/ngmast.txt
Institutional config options
config_profile_description: null
config_profile_url : null
Generic options
version : 2.0
!! Only displaying parameters that differ from the pipeline defaults !!
------------------------------------------------------
If you use neissflow/main.nf for your analysis please cite:
* The pipeline
* The nf-core framework
https://doi.org/10.1038/s41587-020-0439-x
* Software dependencies
https://github.com/CDCgov/neissflow/main.nf/-/blob/main/CITATIONS.md
------------------------------------------------------
executor > local (5)
[ad/788341] process > NFCORE_NEISSFLOW:NEISSFLOW:CHECK_FASTQS (2114118) [100%] 2 of 2, cached: 2 ✔
[4a/559cfc] process > NFCORE_NEISSFLOW:NEISSFLOW:PREPROCESSING:FASTP (2114118) [100%] 2 of 2, cached: 2 ✔
[b1/e796b0] process > NFCORE_NEISSFLOW:NEISSFLOW:PREPROCESSING:PARSE_FASTP_REPORTS (2114118) [100%] 2 of 2, cached: 2 ✔
[61/dce4ce] process > NFCORE_NEISSFLOW:NEISSFLOW:PREPROCESSING:COMBINE_FASTP_REPORTS [100%] 1 of 1, cached: 1 ✔
[68/39aca8] process > NFCORE_NEISSFLOW:NEISSFLOW:PREPROCESSING:FASTP_QC_CHECK [100%] 1 of 1, cached: 1 ✔
[6e/9d14b4] process > NFCORE_NEISSFLOW:NEISSFLOW:SNIPPY (2114122) [ 0%] 0 of 2 ✘
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:ASSEMBLY:ASSEMBLY_STATS -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:ASSEMBLY:QUAST -
[e6/3805a9] process > NFCORE_NEISSFLOW:NEISSFLOW:SPECIES_CHECK:MASH (2114118) [100%] 2 of 2 ✔
[b4/07cbda] process > NFCORE_NEISSFLOW:NEISSFLOW:SPECIES_CHECK:COMBINE_MASH_REPORTS [100%] 1 of 1 ✔
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:SPECIES_CHECK:STATS -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:SPECIES_CHECK:COVERAGE -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:INITIAL_MERGE -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:QC_CHECK -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:AMR_PROFILER:SNIPPY_AMR -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:AMR_PROFILER:DEPTH -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:AMR_PROFILER:VARIANT_ANALYSIS -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:AMR_PROFILER:MLST -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:AMR_PROFILER:NGMASTER -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:AMR_PROFILER:BLASTN -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:AMR_PROFILER:MERGE_SINGLE_AMR -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:AMR_PROFILER:MERGE_AMR -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:MERGE_REPORTS -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:PHYLOGENY:SNIPPY_CORE -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:PHYLOGENY:SNIPPY_CLEAN -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:PHYLOGENY:GUBBINS -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:PHYLOGENY:COUNT_MONO_NUC -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:PHYLOGENY:SNPDISTS -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:PHYLOGENY:OUTBREAK_DETECTION -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:PHYLOGENY:CLUSTER_COLORING -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:PHYLOGENY:MAKE_PARTITION_GUIDE -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:PHYLOGENY:RAXML -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:PHYLOGENY:REROOT -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:PHYLOGENY:PHYLOGENY_QC -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:PHYLOGENY:GOTREE_PNG -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:PHYLOGENY:REPORT -
[- ] process > NFCORE_NEISSFLOW:NEISSFLOW:MULTIQC -
Execution cancelled -- Finishing pending tasks before exit
-[neissflow/main.nf] Pipeline completed with errors-
ERROR ~ Error executing process > 'NFCORE_NEISSFLOW:NEISSFLOW:SNIPPY (2114118)'
Caused by:
Process `NFCORE_NEISSFLOW:NEISSFLOW:SNIPPY (2114118)` terminated with an error exit status (1)
Command executed:
filename=FA19.gb
outdir="${filename%.*}"
snippy --cpus 12 --prefix 2114118 --outdir ${outdir}/2114118 --ref FA19.gb --R1 2114118_S26_L001_R1_001.fastq.gz --R2 2114118_S26_L001_R2_001.fastq.gz --tmpdir $TMPDIR --minfrac 0.9 --basequal 20
cat <<-END_VERSIONS > versions.yml
"NFCORE_NEISSFLOW:NEISSFLOW:SNIPPY":
snippy: $(echo $(snippy --version 2>&1) | sed 's/snippy //')
END_VERSIONS
Command exit status:
1
Command output:
(empty)
Command error:
.command.sh: line 5: TMPDIR: unbound variable
Work dir:
/Volumes/NGS_2/pulsenet_and_arln/UT-SH00354-251007/work/ea/b714b50f6e89316184e91597d08839
Container:
/Volumes/NGS_2/singularity/depot.galaxyproject.org-singularity-snippy%3A4.6.0--0.img
Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`
-- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting
-- Check '.nextflow.log' file for details
Expected Behavior
A clear and concise description of what should happen.
I imagine the workflow should have gone to completion.
Screenshots (if applicable)
If applicable, attach screenshots, plots, or error outputs.
I have pasted the error message and attached the nextflow.log.
Logs & Debug Info
- Attach relevant log files (
.log,.err,.out). To save logs<command> 2>&1 | tee -a log.txt - Run the script with
--verboseor--debug(if applicable) and attach the output.
Here is the nextflow log file
nextflow.log
Possible fixes
It looks like there's a variable (TMPDIR) that doesn't have a set value in the singularity container for the SNIPPY process.
Additional Context
Any other relevant details, such as links to related issues or discussions.
I think I've set up the pubmlst scheme and mash references correctly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working