-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description of the bug
When annotating, my run failed with the following
ERROR ~ Error executing process > 'WRIGHTONLABCSU_DRAM:DRAM:ANNOTATE:COMBINE_ANNOTATIONS'
Caused by:
Process `WRIGHTONLABCSU_DRAM:DRAM:ANNOTATE:COMBINE_ANNOTATIONS` terminated with an error exit status (1)
Command executed:
# export constants for script
export FASTA_COLUMN="input_fasta"
# Create a log directory if it doesn't exist
mkdir logs
# Define the log file path
touch logs/combine_annotations.log
log_file="logs/combine_annotations.log"
combine_annotations.py --annotations [4915_6, /projects/scott/DRAM/work/0b/1ac9e9c09b2de76e39b46c1fc11ed3/4915_6_formatted_sulfur_hits.csv, C178_17, /projects/scott/DRAM/work/1b/cd3fb78e917474dac397085e0a853e/C178_17_formatted_sulfur_hits.csv, C178_11, projects/scott/DRAM/work/df/fb766a666bf0d8eea8d16d77a4d603/C178_11_formatted_vog_hits.out, 4921_30, projects/scott/DRAM/work/77/49e86283e8ffb94fca13027539fd6f/4921_30_formatted_sulfur_hits.csv, 4918_21, /projects/scott/DRAM/work/2c/6f80a844cd6dd33c0f8d6fed5ff ........
When I investigated and tried to run manually I got messages like
/projects/scott/DRAM/work/0b/1ac9e9c09b2de76e39b46c1fc11ed3/4915_6_formatted_sulfur_hits.csv can't be found. The file is there on the system, but is not accessible in the container: By adding a -B /projects to the .command.run file I could get it to run to completion and also by adding
apptainer.runOptions = " -B /projects/Scott"
to the nextflow.config file
But perhaps the underlying problem is that the COMBINE_ANNOTATIONS process should have its file inputs as paths rather than vals so that the annotation files get staged in to the working directory
process COMBINE_ANNOTATIONS {
label 'process_low'
errorStrategy 'finish'
conda "${moduleDir}/environment.yml"
container "community.wave.seqera.io/library/python_pandas_hmmer_mmseqs2_pruned:4a55e4bf58e4a06b"
input:
val all_annotations
val all_genes
System information
System information
- DRAM version, WrightonLabCSU/dram v2.0.0-beta11-g630b86e
- Nextflow version 25.04.4
- HPC
- Executor slurs
- Container engine: apptainer
- Rocky 9
Command used and terminal output
`nextflow run DRAM -r dev --rename --call --input_fasta //lion/qc-contigs-all/indivs --annotate --use_uniref --use_uniref --use_vogdb --use_sulfur -profile singularity --outdir out -resume`Relevant files
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working