-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ASSESS_SIGNIFICANCE
fails with Rscript error
#1239
Comments
urgh controlfreec. I just updated the containers. You could check if the new version fixes it by adding this to a custom config:
|
Hi! I Just got this same error, it doesn't appear to be related to the new container update, since I was able to reproduce with both the old and new container. @bounlu could you please share the nextflow.log file? Looking at the .command.sh in my run, I saw that the script is being called with 4 arguments instead of 2, as the CONTROLFREEC_ASSESSSIGNIFICANCE process expects: .command.sh:
So instead of running the assess_significance.R script on the cnv and ratio file, it is being run on the cnv and cnv normal files. And the assess_significance.R script fails in the line 13: In my case I'm getting two files out of the FREEC_SOMATIC module associated to the same meta dict for both CNV and RATIO.
I'm not sure what is the expected behavior of this module. @FriederikeHanssen, should it run on both the normal and non-normal files, or if it should only run on the non-normal files? |
Controlfreec should run on tumor-only and paired data. |
@FriederikeHanssen Thanks for the updated container, I will also test with that and let you know. @nschcolnicov My |
Hi @bounlu @FriederikeHanssen I kept researching this issue, and found this: I'm still not sure whether if we should run the assess_significance module on the two file pairs of cnv and ratio, those with the "normal" label and those without the "normal" label; or, if we should only run it on the file pairs that don't have the "normal" label. So I implemented a solution for the first case, since we can just ignore the results for the second pair if they are not relevant. I implemented the following solution in my local version of the pipeline:
This is the full version of the bam_variant_calling_somatic_controlfreec subworkflow main file, you can just replace your with this: This is how the channel "assess_significance_input" looks like, so the module runs first on one pair, and then on the other:
I tested this implementation on runs that generate the "normal" file pairs, and runs that don't generate the "normal" files, and they both ran succesfully, the only different in output is that the runs that generate "normal" cnv and ratio files will include the p.value.txt file for them too. This is what the controlfreec folder in my results/variant_calling directory looked like:
|
I confirm that I still get the same error with the updated container. |
In the new version
|
I am using the new version too (3.3.2), and have a similar problem as @bounlu, please find below [91/c9321b] NOTE: Process Caused by: Command executed: cat $(which makeGraph.R) | R --slave --args 2 AUD220512001_tumor_vs_AUD210903021_normal.tumor.mpileup.gz_normal_ratio.txt AUD220512001_tumor_vs_AUD210903021_normal.tumor.mpileup.gz_ratio.txt AUD220512001_tumor_vs_AUD210903021_normal.normal.mpileup.gz_BAF.txt AUD220512001_tumor_vs_AUD210903021_normal.tumor.mpileup.gz_BAF.txt mv *_BAF.txt.png AUD220512001_tumor_vs_AUD210903021_normal_BAF.png cat <<-END_VERSIONS > versions.yml Command exit status: Command output: Command error: Work dir: Tip: view the complete command output by changing to the process work dir and entering the command -- Check '.nextflow.log' file for details |
Hey! Sorry for the delay. Finally had some time to dig into the ASSESS_SIGNIFICANCE error. I think there are two things:
and |
PR fixed the issue, closed. |
Description of the bug
ASSESS_SIGNIFICANCE
step keeps failing at Rscript with the below error:Command used and terminal output
Relevant files
No response
System information
N E X T F L O W ~ version 23.08.1-edge
local
Docker
Linux
nf-core/sarek master v3.3.0
The text was updated successfully, but these errors were encountered: