Skip to content
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

Change hardcoded platform value to params.platform in modules/align_MT.config #475

Merged
merged 3 commits into from
Jan 12, 2024

Conversation

alkc
Copy link
Contributor

@alkc alkc commented Jan 11, 2024

Tiny update that sets a hardcoded platform value in the ALIGN_MT.config to use params.platform instead.

Compare with the config for the equivalent ALIGN_MT_SHIFT process:

withName: '.*ALIGN_MT_SHIFT:PICARD_ADDORREPLACEREADGROUPS_MT' {
ext.args = { [
"--VALIDATION_STRINGENCY LENIENT",
"--RGLB lib",
"--RGPL ${params.platform}",
"--RGPU barcode",
"--RGSM ${meta.id}"
].join(' ').trim() }
}

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/raredisease branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Ensure the test suite passes (nextflow run . -profile test_one_sample,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

Copy link

github-actions bot commented Jan 11, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit d07ddd6

+| ✅ 155 tests passed       |+
#| ❔   6 tests were ignored |#
!| ❗   2 tests had warnings |!

❗ Test warnings:

  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required
  • pipeline_todos - TODO string in WorkflowRaredisease.groovy: Optionally add in-text citation tools to this list.

❔ Tests ignored:

  • files_exist - File is ignored: conf/modules.config
  • files_unchanged - File ignored due to lint config: .github/PULL_REQUEST_TEMPLATE.md
  • files_unchanged - File ignored due to lint config: .github/workflows/linting.yml
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-raredisease_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-raredisease_logo_dark.png
  • files_unchanged - File ignored due to lint config: .gitignore or .prettierignore or pyproject.toml

✅ Tests passed:

Run details

  • nf-core/tools version 2.11.1
  • Run at 2024-01-12 04:17:43

@alkc alkc changed the title Change hardcoded platform value to params.platform Change hardcoded platform value to params.platform in modules/align_MT.config Jan 11, 2024
Copy link
Collaborator

@jemten jemten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch @alkc!

Copy link
Collaborator

@ramprasadn ramprasadn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be changed here as well?

"--RGPL ILLUMINA",

@alkc
Copy link
Contributor Author

alkc commented Jan 11, 2024

Should be changed here as well?

"--RGPL ILLUMINA",

That's the line changed by this PR!

See: 0809a40

@alkc alkc requested a review from ramprasadn January 11, 2024 22:28
@ramprasadn
Copy link
Collaborator

ramprasadn commented Jan 12, 2024

Gah.. sorry! My brain had a paralysis for a second there 😅

@ramprasadn ramprasadn merged commit e5734fc into nf-core:dev Jan 12, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants