Please could you help with this problem
The workflow is being run like this
nextflow run DRAM -r dev --rename --input_fasta /projects/lion/qc-contigs-all/indivs -profile singularity --outdir out
I get the following error
Command error:
/bin/bash: line 11: .command.run: Permission denied
Work dir:
/projects/scott/DRAM/work/99/f83e21ac7f918123103773b399ca73
Container:
/home/scott/.singularity/community.wave.seqera.io-library-bbmap-801715ef64484762.img
Looking at the logs, this seems to be where things go wrong
mkdir -p renamed
rename.sh in=4915_10.fa out=renamed/4915_10.fna prefix=4915_10 addprefix=t
rename.sh in=4915_14.fa out=renamed/4915_14.fna prefix=4915_14 addprefix=t
rename.sh in=4915_17.fa out=renamed/4915_17.fna prefix=4915_17 addprefix=t
rename.sh in=4915_1.fa out=renamed/4915_1.fna prefix=4915_1 addprefix=t
rename.sh in=4915_20.fa out=renamed/4915_20.fna prefix=4915_20 addprefix=t
rename.sh in=4915_24.fa out=renamed/4915_24.fna prefix=4915_24 addprefix=t
rename.sh in=4915_26.fa out=renamed/4915_26.fna prefix=4915_26 addprefix=t
rename.sh in=4915_3.fa out=renamed/4915_3.fna prefix=4915_3 addprefix=t
Looking at the work directory, I don't see the renamed directory
I looked at the .command.run file and tried running .command.sh directly
apptainer exec --no-home --pid -B /projects/lion/qc-contigs-all/indivs -B /home/scott/.nextflow/assets/WrightonLabCSU/DRAM/bin -B //projects/scott/DRAM/work/99/f83e21ac7f918123103773b399ca73 /home/scott/.singularity/community.wave.seqera.io-library-bbmap-801715ef64484762.img bash .command.sh
and the script starts running corretctly
System information
*
DRAM version DRAM v2
Nextflow version 25.04.2
Hardware HPC
Executor local
Container engine: apptainer, 1.4.1-1.el9
OS Rocky 9.6
This is what my nextflow config looks like
singularity {
singularity.enabled = false
singularity.autoMounts = true
conda.enabled = false
docker.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
apptainer.enabled = true
}
Many thanks
Please could you help with this problem
The workflow is being run like this
I get the following error
Looking at the logs, this seems to be where things go wrong
Looking at the work directory, I don't see the
renameddirectoryI looked at the
.command.runfile and tried running.command.shdirectlyand the script starts running corretctly
System information
*
DRAM version DRAM v2
Nextflow version 25.04.2
Hardware HPC
Executor local
Container engine: apptainer, 1.4.1-1.el9
OS Rocky 9.6
This is what my nextflow config looks like
Many thanks