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

Issue 168 deal properly with download of data #191

Conversation

tfalkarkea
Copy link
Collaborator

PR checklist

  • This comment contains a description of changes (with reason).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

Adjusted three subworkflows (Eggnog, EUKulele, Kofam) to not download databases when a valid database is provided by the user with command line arguments. Documentation updated to indicate this ability. Working off of this issue: #168

@danilodileo
Copy link
Collaborator

danilodileo commented Oct 3, 2023

Hello and well done! @tfalkarkea
For me, eggnog and kofamscan are perfect as they are now. The only comment is about eukulele. Last week we decided to skip eukulele_download module as it doesn't caching correctly. 2 concerns: when´-resume´ the pipeline, the analysis will start again and we want avoid this kind of behavior - the module doesn't work on some compute infrastructure (tower).

If you look in PR #190 you can see what we proposed. Eukulele_search is able to check the presence of the directory and the files by its own so we can skip the checks that you improved in the subworkflow.

What I will suggest are two options:

  • Check whether your code is working with the behaviour that we expect (it runs on Tower and "resume" is working). if it is so, I will approve this PR.
  • Just remove the changes from eukulele subworkflow (+ in the main workflow for eukulele) then we can merge the two PRs.

Thanks a lot for your contribution!

Copy link
Collaborator

@danilodileo danilodileo left a comment

Choose a reason for hiding this comment

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

See previous comment.

@github-actions
Copy link

github-actions bot commented Oct 11, 2023

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit cdde51d

+| ✅ 156 tests passed       |+
!| ❗   7 tests had warnings |!

❗ Test warnings:

  • nextflow_config - Config manifest.version should end in dev: 2.5.1
  • readme - README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo doi (after the first release).
  • pipeline_todos - TODO string in test_full.config: Specify the paths to your full test data ( on nf-core/test-datasets or directly in repositories, e.g. SRA)
  • pipeline_todos - TODO string in test_full.config: Give any required params for the test so that command line flags are not needed
  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required
  • pipeline_todos - TODO string in output.md: Write this documentation describing your workflow's output
  • system_exit - System.exit in NfcoreSchema.groovy: System.exit(1) [line 180]

✅ Tests passed:

Run details

  • nf-core/tools version 2.10
  • Run at 2023-10-11 03:30:10

@danilodileo
Copy link
Collaborator

danilodileo commented Oct 11, 2023

Hi @tfalkarkea since you have not time to contribute, I took the lead and clear the PR so we can merge it. I decided to go for the second option and I removed the two-steps module for eukulele. Thanks for you help, we really appreciate it 🤩. We will try to find a way to test the pipeline on Tower in a second moment (probably in two weeks at the hackathon!).

Cheers!

Copy link
Collaborator

@danilodileo danilodileo left a comment

Choose a reason for hiding this comment

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

LGTM

@danilodileo danilodileo merged commit 26d91c7 into nf-core:dev Oct 11, 2023
7 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.

2 participants