-
Notifications
You must be signed in to change notification settings - Fork 743
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
Added new module: msisensorpro/msitumoronly #6350
base: master
Are you sure you want to change the base?
Conversation
Can you please add some tests via |
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.
Requires some tests before it can be merged.
You'll probably need to add another module (draft here: #6536) to create the baseline. Or you have to add a baseline file to the test-datasets for the tests to run. Afaik the scan is not enough to run msitumoronly afterwards. |
As a default baseline for hg38, this file can be added. |
I tried with your baseline and the test data from their repo and always got this error:
Maybe you can find the correct files that should be used here. |
The stub is also not working as expected:
|
Hi. Thanks for testing. This error is not related to the pipeline, but to msisensorpro. It seems you are using a bam file incompatible with the chromosome names in the baseline. It works for me if I choose the default Not sure about the stub failure as I haven't added it. |
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.
A few comments.
-
The prefix can't have def before it if it is being used to define the output channels, as that makes it a local variable. Think that'll help with your tests.
-
Requirements for the environment.yml have changed, so I've updated that.
-
We are moving away from external links, even to other GitHub repositories, so it'd be good to use data in test datasets please
|
||
script: | ||
def args = task.ext.args ?: '' | ||
def prefix = task.ext.prefix ?: "${meta.id}" |
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.
def prefix = task.ext.prefix ?: "${meta.id}" | |
prefix = task.ext.prefix ?: "${meta.id}" |
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.
Just because I am curious: I always see it the other way around (so that you need two times def and otherwise you run into errors). Has this changed? Is there any part of the docs you can point me to?
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.
Me too, I simply copy pasted it from other modules indeed.
|
||
stub: | ||
def args = task.ext.args ?: '' | ||
def prefix = task.ext.prefix ?: "${meta.id}" |
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.
def prefix = task.ext.prefix ?: "${meta.id}" | |
prefix = task.ext.prefix ?: "${meta.id}" |
description: File containing final report with all detected microsatellites, unstable somatic microsatellites, msi score | ||
- output_dis: | ||
type: file | ||
description: File containing distribution results |
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.
These look like folders not files
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.
They are files indeed.
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.
Ok, then the stub needs to touch
the files not mkdir
them.
"timestamp": "2024-09-02T11:32:08.214756" | ||
}, | ||
"human - cram": { | ||
"content": [ |
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.
This looks completely empty? Probably because of the prefix issue
@@ -0,0 +1,7 @@ | |||
name: msisensorpro_msitumoronly |
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.
name: msisensorpro_msitumoronly |
channels: | ||
- conda-forge | ||
- bioconda | ||
- defaults |
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.
- defaults |
This module enables tumor-only analysis for msisenspro (msisensor-pro pro)