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

Add profile for ARM compatibility #1425

Merged
merged 49 commits into from
Oct 23, 2024
Merged

Add profile for ARM compatibility #1425

merged 49 commits into from
Oct 23, 2024

Conversation

pinin4fjords
Copy link
Member

@pinin4fjords pinin4fjords commented Oct 22, 2024

  1. Add a config profile for ARM, referencing ARM-specific containers
  2. Update the Trim Galore module with a new conda build with an ARM-compatible cutadapt build

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/rnaseq branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,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 Oct 22, 2024

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 424137a

+| ✅ 186 tests passed       |+
#| ❔   9 tests were ignored |#
!| ❗   8 tests had warnings |!

❗ Test warnings:

  • files_exist - File not found: assets/multiqc_config.yml
  • files_exist - File not found: .github/workflows/awstest.yml
  • files_exist - File not found: .github/workflows/awsfulltest.yml
  • pipeline_todos - TODO string in main.nf: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in main.nf: Optionally add bibliographic entries to this list.
  • pipeline_todos - TODO string in main.nf: Only uncomment below if logic in toolCitationText/toolBibliographyText has been filled!
  • pipeline_todos - TODO string in base.config: Check the defaults for all processes
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 3.0.2
  • Run at 2024-10-23 12:56:09

Copy link
Member

@maxulysse maxulysse left a comment

Choose a reason for hiding this comment

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

Looking good. How did you generate the config file?
Nextflow inspect?
Do we test for this anywhere?

docs/usage.md Outdated Show resolved Hide resolved
conf/arm.config Outdated Show resolved Hide resolved
conf/arm.config Outdated Show resolved Hide resolved
conf/arm.config Outdated Show resolved Hide resolved
conf/arm.config Outdated Show resolved Hide resolved
conf/arm.config Outdated Show resolved Hide resolved
pinin4fjords and others added 6 commits October 23, 2024 10:38
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
docs/usage.md Outdated
-profile docker,arm
```

This will use ARM-compatible containers, and apply a small number of overrides to Conda definitions to support ARM operation.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
This will use ARM-compatible containers, and apply a small number of overrides to Conda definitions to support ARM operation.
This will use ARM-compatible containers, and apply a small number of overrides to Conda definitions to support ARM operations.

docs/usage.md Outdated Show resolved Hide resolved
docs/usage.md Outdated
Comment on lines 454 to 457
:::warning
Please note that the ARM profile is experimental. It is expected to function correctly in all cases unless explicitly indicated otherwise—currently, exceptions include the use of the hisat2 aligner and contaminant screening via kraken2. However, because testing is presently conducted manually, we cannot guarantee its reliability.
:::

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
:::warning
Please note that the ARM profile is experimental. It is expected to function correctly in all cases unless explicitly indicated otherwise—currently, exceptions include the use of the hisat2 aligner and contaminant screening via kraken2. However, because testing is presently conducted manually, we cannot guarantee its reliability.
:::

Copy link
Member

Choose a reason for hiding this comment

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

Maybe we just link to the new section we created in the arm profile above? Means we don't need to repeat the text.

Copy link
Member

@drpatelh drpatelh left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@pinin4fjords
Copy link
Member Author

Thanks @drpatelh !

@pinin4fjords pinin4fjords merged commit fb057c9 into dev Oct 23, 2024
32 checks passed
@pinin4fjords pinin4fjords deleted the arm_3.16.1 branch October 23, 2024 13:21
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.

5 participants