Closed paulemnah closed 1 year ago
Hi, I've noticed this error earlier and it is an issue from the singularity container. I need to implement the cnn file as an input, otherwise singularity will try to find the file which is not saved in the singularity instance.
I'll wrote a short fix and currently test it in dev
, would you be willing to test it by pulling the newest version of the dev branch?
Hi, thanks for your message! I tried it, but have not managed to get it to work yet.
Firstly (directly at launch of the pipeline), it complains about the variable being unexpected:
[33mWARN: Found unexpected parameters:
Then, at the cnvkit step:
[31mError executing process > 'NFCORE_CIRCDNA:CIRCDNA:CNVKIT_BATCH (culture1)'[K [K Caused by:[K No such variable: reference -- Check script '/path/to/.nextflow/assets/nf-core/circdna/./workflows/../modules/local/cnvkit/batch/main.nf' at line: 27[K [K Source block:[K def args = task.ext.args ?: ''[K def fasta_args = reference ? "" : "--fasta $fasta"[K def reference_args = reference ? "--reference $cnn" : ""[K """[K cnvkit.py \[K batch \[K $bam \[K $fasta_args \[K $reference_args \[K --processes $task.cpus \[K $args[K [K cat <<-END_VERSIONS > versions.yml[K "${task.process}":[K cnvkit: \$(cnvkit.py version | sed -e "s/cnvkit v//g")[K END_VERSIONS[K """[K
Hi, now I updated it again and ran it using singularity. Could you try again? Now it should work.
It failed again, this time during the AMPLIFIED_INTERVALS step. The error was that it couldn't open the coverage.stats file. However, I managed to get it to work by putting the entire AA_data_repo into my home directory, so it would be mounted in the singularity container. Thanks a lot for your help and for developing this great tool!
Description of the bug
The pipeline runs through without problems (on the HPC cluster), but then at the cnvkit step it crashes, saying the file 'GRCh37_cnvkit_filtered_ref.cnn' doesn't exist. It does exist though.
Please assist as to what might be causing this issue. Thanks a lot!
Command used and terminal output
Relevant files
No response
System information
nextflow version 21.10.6 on HPC cluster container: singularity ( apptainer version 1.1.3-1.el7) OS: Linux odcf-worker01 3.10.0-1160.76.1.el7.x86_64 nf-core/circdna 1.0.1