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

Review of the MetaPhlAn4 #333

Merged
merged 10 commits into from
Jul 21, 2023
Merged

Review of the MetaPhlAn4 #333

merged 10 commits into from
Jul 21, 2023

Conversation

LilyAnderssonLee
Copy link
Contributor

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/taxprofiler 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>).
  • 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).

@LilyAnderssonLee
Copy link
Contributor Author

@jfy133 Could you please change the MetaPhlAn3 into MetaPhlAn on the workflow chart within the file docs/output.md?

Copy link
Member

@jfy133 jfy133 left a comment

Choose a reason for hiding this comment

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

One tiny tweak and you're good to go :)

docs/usage.md Outdated Show resolved Hide resolved
Co-authored-by: James A. Fellows Yates <[email protected]>
@jfy133
Copy link
Member

jfy133 commented Jul 20, 2023

Here are the files, you'll need to replace the ones in in docs/images with the following:

taxprofiler_tube
taxprofiler_tube.pdf
taxprofiler_tube

@jfy133
Copy link
Member

jfy133 commented Jul 20, 2023

Here are the 3 files (pdf, svg, png), you'll need to replace the ones in in docs/images with the following:

taxprofiler_tube
taxprofiler_tube.pdf
taxprofiler_tube

@github-actions
Copy link

github-actions bot commented Jul 20, 2023

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 087f293

+| ✅ 157 tests passed       |+
!| ❗   1 tests had warnings |!

❗ Test warnings:

  • 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 passed:

Run details

  • nf-core/tools version 2.9
  • Run at 2023-07-21 10:47:40

@LilyAnderssonLee
Copy link
Contributor Author

@jfy133 Apparently I need to modify the regular expression used within the MetaPhlAn4 module in order to run the MetaPhlAn3 database since these two versions of the database include different file formats.
Original code:

BT2_DB=`find -L "${metaphlan_db_latest}" -name "*rev.1.bt2l" -exec dirname {} \\;`
BT2_DB_INDEX=`find -L ${metaphlan_db_latest} -name "*.rev.1.bt2l" | sed 's/\\.rev.1.bt2l\$//' | sed 's/.*\\///'`

Modified version:

BT2_DB=`find -L "${metaphlan_db_latest}" -name "*rev.1.bt2*" -exec dirname {} \\;`
BT2_DB_INDEX=`find -L ${metaphlan_db_latest} -name "*.rev.1.bt2*" | sed 's/\\.rev.1.bt2.*\$//' | sed 's/.*\\///'`

I will create a PR to update the MetaPhlAn4 module if it's ok with you.

@jfy133
Copy link
Member

jfy133 commented Jul 21, 2023

Yup sure!

@LilyAnderssonLee LilyAnderssonLee merged commit 47095d5 into nf-core:dev Jul 21, 2023
20 checks passed
@LilyAnderssonLee LilyAnderssonLee deleted the metaphlan4_profiler branch July 21, 2023 11:42
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.

2 participants