-
Notifications
You must be signed in to change notification settings - Fork 1
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
Merge branch 'dev' of github.com:nf-core/drugresponseeval into dev #11
Conversation
…Added input=null for linting in the nextflow.config
…opy the logo files from there and move them over.
…and the dataset on nf-core/test-datasets
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.
Some smaller things
README.md
Outdated
@@ -36,16 +36,6 @@ DrEval catalog, you can increase your work's exposure, reusability, and transfer | |||
|
|||
# ![DrEval_pipeline](assets/DrEval_pipeline_simplified.png) |
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.
I guess this is the old pipeline name? also please use a more descriptive label/alt-text here (something like "pipeline diagram of nf-core/drugresponseeval"
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.
Good catch, thanks! Renamed it
// Singularity: Comment in for AMD64 build: | ||
// process.container = 'oras://community.wave.seqera.io/library/pip_drevalpy:6ca244fae0c2fa29' | ||
process.container = 'ghcr.io/daisybio/drevalpy:main' | ||
process.conda = 'env.yml' | ||
|
||
// Global default params, used in configs | ||
params { | ||
// For this pipeline | ||
run_id = 'my_run' |
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.
are you sure about this param?
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.
Yes, I just need one container or conda environment for all processes because they all depend on the same package. Is there a better place to set 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.
The container and conda settings are fine.
Matthias is referring to the params.run_id
. For example, you could use workflow.sessionId
or workflow.runName
here instead. I think the question is more, "Why is run_id a pipeline parameter?".
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.
ahh, yes, thanks for clarifying this. yes, that's exactly what I meant.
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.
Ah, I see @mahesh-panchal! The idea was that people can, e.g., compare different models with each other in different runs, such that they get separate results for them. They might, e.g., just want to compare baseline models against one state-of-the-art model in one run but then, in another run, they want to do an ablation study of one state-of-the-art model and just compare those results against a naive baseline. Then those results would get saved into different subdirectories. Is there a more nextflow way to do 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.
I think this is generally fine then. It's better to have a user-defined informative name than an uninformative string of numbers/letters and/or unrelated names.
It's possible to do this all in one such that you supply inputs with an id, parameters, etc, and then use meta map to propagate this information so you can run it all at once, but that can be left as a future pipeline enhancement.
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.
I'll add it as an issue!
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
…eval into linting_and_testing
…ne picture and added more alt-text
processes as this pipeline automates the PyPI package drevalpy.
PR checklist
nf-core pipelines lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).nextflow run . -profile debug,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).