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 busco_clean parameter #353

Merged
merged 7 commits into from
Nov 29, 2022
Merged

Add busco_clean parameter #353

merged 7 commits into from
Nov 29, 2022

Conversation

prototaxites
Copy link
Contributor

@prototaxites prototaxites commented Nov 15, 2022

Following #341: Added the parameter flag params.busco_clean and corresponding code in workflow/modules/busco.nf, to allow cleaning up of BUSCO work directories following successful execution to reduce file numbers.

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 Nov 15, 2022

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 553df5d

+| ✅ 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.6
  • Run at 2022-11-15 15:49:29

@d4straub
Copy link
Collaborator

@nf-core-bot fix linting

@d4straub
Copy link
Collaborator

d4straub commented Nov 15, 2022

Thanks for the PR!
Could you add a note to CHANGELOG.md & activate it in a test profile (e.g. by adding busco_clean = true to test.config)?

@prototaxites
Copy link
Contributor Author

Done! I didn't fork off dev (realising now this was a mistake) so there's some changelog conflicts - hopefully they're not difficult to resolve. This is all rather new to me!

@d4straub
Copy link
Collaborator

Yes, nf-core pipelines are developed on the dev branch, not master branch. The file changes are fine now. Lets see how the CI tests run.

Copy link
Member

@skrakau skrakau left a comment

Choose a reason for hiding this comment

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

Hi, I am just wondering, is there a reason why you do not just delete the whole BUSCO and and augustus_config folders? The relevant BUSCO output files were anyway copied/moved before, or am I missing something here?

@prototaxites
Copy link
Contributor Author

There's other output in the BUSCO directory, log files in particular, that I thought it was best to leave, in case someone needs to go digging through the work directory to inspect them for some reason (some kind of silent error, maybe).

Copy link
Member

@skrakau skrakau left a comment

Choose a reason for hiding this comment

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

Didn't test it, but looks good to me

@d4straub
Copy link
Collaborator

I'm going to merge this since nobody else seems to do that ;)

@d4straub d4straub merged commit 6db587e into nf-core:dev Nov 29, 2022
@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.

5 participants