-
Notifications
You must be signed in to change notification settings - Fork 417
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 fix #1400
Conversation
Can you remove the makegraph module since this new module is replacing it |
|
@maxulysse I left it there because I only replaced the one on the bam_variant_calling_somatic_controlfreec subworkflow, but the bam_variant_calling_tumor_only_controlfreec subworkflow is still the other version of makegraph. I didn't modified this one, since It didn't cause me any issues |
@FriederikeHanssen @maxulysse I updated the makegraph module on the tumor only subworkflow too, as discussed. I tested it by running:
The samplesheet I used contained this:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, what do you think @FriederikeHanssen ?
subworkflows/local/bam_variant_calling_somatic_controlfreec/main.nf
Outdated
Show resolved
Hide resolved
subworkflows/local/bam_variant_calling_somatic_controlfreec/main.nf
Outdated
Show resolved
Hide resolved
Do we now have a CI-test which covers the bug? |
Clean up code changes
I created a branch to test the changes suggested, and ran it with:
No visible changes in the execution of the pipeline, all ran OK: @asp8200 Changes have already been added to this PR |
Seems like every job except the last two (multiqc and dumpversions) were cached on your rerun, so the adjusted code did not get executed? |
@asp8200 If you want to verify this, you can just cancel your pipeline execution, and re run it using the "-latest" argument (so the new dev version gets pulled) and the "-resume" and you should see it use cache for all the modules it had previously ran. |
subworkflows/local/bam_variant_calling_somatic_controlfreec/main.nf
Outdated
Show resolved
Hide resolved
subworkflows/local/bam_variant_calling_somatic_controlfreec/main.nf
Outdated
Show resolved
Hide resolved
subworkflows/local/bam_variant_calling_somatic_controlfreec/main.nf
Outdated
Show resolved
Hide resolved
subworkflows/local/bam_variant_calling_somatic_controlfreec/main.nf
Outdated
Show resolved
Hide resolved
subworkflows/local/bam_variant_calling_somatic_controlfreec/main.nf
Outdated
Show resolved
Hide resolved
subworkflows/local/bam_variant_calling_somatic_controlfreec/main.nf
Outdated
Show resolved
Hide resolved
Implementing changes from comments
All the comments were addressed, I added a bigger samplesheet for testing these changes, because I wanted to see how it would handle two pairs of control/tumor samples. This is how the samplesheet I used looks like (its the same pair of fastqs with a different name):
I ran it with this command:
|
subworkflows/local/bam_variant_calling_somatic_controlfreec/main.nf
Outdated
Show resolved
Hide resolved
subworkflows/local/bam_variant_calling_somatic_controlfreec/main.nf
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Thank you 🚀
…in.nf Co-authored-by: Friederike Hanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
…in.nf Co-authored-by: Friederike Hanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
@maxulysse you are already investigating the serializer issue and we can merge with failing tests ? |
-Description of change:
ASSESS_SIGNIFICANCE
fails with Rscript error #1239:The assess_significance.R script is currently being called on cnv and cnv normal files instead of just the cnv and ratio file. And the assess_significance.R script fails in line 13:
ratio$Ratio[which(ratio$Ratio==-1)]=NA Because the ratio dataframe doesn't contain any columns labeled "Ratio"
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).