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

Allow CAT_DB to take a directory containing the CAT database #372

Merged
merged 7 commits into from
Jan 31, 2023
Merged

Allow CAT_DB to take a directory containing the CAT database #372

merged 7 commits into from
Jan 31, 2023

Conversation

prototaxites
Copy link
Contributor

@prototaxites prototaxites commented Dec 20, 2022

One last little one from me before the holidays. Allow CAT_DB to take a directory containing the CAT database, rather than just a tar.gz file - when working with a local copy of the database, saves approximately an hour on the tar.gz extraction.

Also fixes an issue with the cat_official_taxonomy parameter I added before, where I had a brain fart writing the code and included the wrong flag in the CAT add_names command.

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/mag 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).

@github-actions
Copy link

github-actions bot commented Dec 20, 2022

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit a338fb7

+| ✅ 156 tests passed       |+
#| ❔   1 tests were ignored |#
!| ❗   1 tests had warnings |!

❗ Test warnings:

  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your prefered methods description, e.g. add publication citation for this pipeline

❔ Tests ignored:

  • files_unchanged - File ignored due to lint config: lib/NfcoreTemplate.groovy

✅ Tests passed:

Run details

  • nf-core/tools version 2.7.2
  • Run at 2023-01-16 09:19:12

@prototaxites
Copy link
Contributor Author

@nf-core-bot fix linting

@prototaxites prototaxites requested a review from d4straub January 26, 2023 13:16
Copy link
Collaborator

@d4straub d4straub left a comment

Choose a reason for hiding this comment

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

LGTM, but I didnt actually test it, did you?

@prototaxites
Copy link
Contributor Author

It was before Christmas, but I did test it and it works happily both with a zip or a directory - CAT ran happily either way. Can re-run if you think it's needed?

@d4straub
Copy link
Collaborator

I think thats fine, feel free to merge it ;)

@prototaxites prototaxites merged commit 4b215b7 into nf-core:dev Jan 31, 2023
@prototaxites prototaxites deleted the fast_cat_db branch January 31, 2023 09:31
@jfy133 jfy133 mentioned this pull request Feb 27, 2023
10 tasks
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