-
Notifications
You must be signed in to change notification settings - Fork 82
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
DSL2: Tweaks to modules config to avoid configuration overwrites #996
Conversation
|
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.
Overall LGTM, left a few comments but mostly minor so I gave preemptive approval.
While you are doing formatting things, could you also standardise the order of each withName scope so the order of the entries are consistent, e.g.:
- tag
- ext.args
- prefix
- publishDir
If not already, and whatever order makes sense to you and yougo with should become also standard within the pipeline
Co-authored-by: James A. Fellows Yates <[email protected]>
Agreed that we should stick to
|
LGTM! |
Co-authored-by: Aida Andrades Valtueña <[email protected]>
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.
Left a couple of comments
Still pending (potentially):
Updates:
meta.id
calls tometa.sample_id
calls.${meta.id}
to${meta.sample_id}_${meta.library_id}_L${meta.lane}
(lane only when it applies).meta.genomic_region
to process tags for deduplication as${meta.reference}:${meta.genomic_region}
This PR also enforces some formatting changes to the
modules.conf
, that will be required from now on:SAMTOOLS_*
) MUST be given unique informative names, to avoid configuration "leakage" into unintended parts of the pipeline.meta.id
as a tag/prefix if possible. Use the minimal unique combination ofmeta.sample_id
,meta.library_id
andmeta.lane
instead.PR checklist
scrape_software_versions.py
nf-core lint .
).nextflow run . -profile test,docker
).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).