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

Refactor the pipeline and download dbs code. #9

Merged
merged 8 commits into from
Dec 20, 2024
Merged

Conversation

mberacochea
Copy link
Member

@mberacochea mberacochea commented Dec 18, 2024

This ended up being a massive refactoring of the pipeline.

Some of the changes:

  • Remove the bash script to download the databases - replaced with a subworkflow
  • Swapped the bespoke fastp module with the one from nf-core
  • Move things around based on the linter errors (vscode)
  • Adjusted the parameters - based on db download sciprts
  • Formatted code code
  • Added some test reference dbs (this still needs some work)

I'm running some tests...

This ended up being a massive refactoring of the pipeline.

Some of the changes:
- Remove the bash script to download the databases - replaced with a subworkflow
- Swapped the bespoke fastp module with the one from nf-core
- Move things around based on the linter errors (vscode)
- Adjusted the parameters - based on db download sciprts
- Formatted code code
- Added some test reference dbs (this still needs some work)
Copy link

github-actions bot commented Dec 18, 2024

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

Posted for pipeline commit 3b4a3cb

+| ✅ 127 tests passed       |+
#| ❔  47 tests were ignored |#
!| ❗  10 tests had warnings |!

❗ Test warnings:

❔ Tests ignored:

  • files_exist - File is ignored: CODE_OF_CONDUCT.md
  • files_exist - File is ignored: CHANGELOG.md
  • files_exist - File is ignored: assets/nf-core-shallowmapping_logo_light.png
  • files_exist - File is ignored: docs/
  • files_exist - File is ignored: docs/output.md
  • files_exist - File is ignored: docs/README.md
  • files_exist - File is ignored: docs/usage.md
  • files_exist - File is ignored: docs/images/nf-core-shallowmapping_logo_dark.png
  • files_exist - File is ignored: docs/images/nf-core-shallowmapping_logo_light.png
  • files_exist - File is ignored: pyproject.toml
  • files_exist - File is ignored: .gitignore
  • files_exist - File is ignored: .github/ISSUE_TEMPLATE/config.yml
  • files_exist - File is ignored: .github/workflows/*
  • files_exist - File is ignored: .github/workflows/branch.yml
  • files_exist - File is ignored: .github/CONTRIBUTING.md
  • files_exist - File is ignored: .github/PULL_REQUEST_TEMPLATE.md
  • files_exist - File is ignored: conf/igenomes.config
  • files_exist - File is ignored: conf/igenomes.config
  • files_exist - File is ignored: conf/test.config
  • files_exist - File is ignored: conf/test_full.config
  • files_exist - File is ignored: .github/workflows/ci.yml
  • files_exist - File is ignored: lib/Utils.groovy
  • files_exist - File is ignored: lib/WorkflowMain.groovy
  • files_exist - File is ignored: lib/NfcoreTemplate.groovy
  • files_exist - File is ignored: lib/WorkflowShallowmapping.groovy
  • files_exist - File is ignored: lib/nfcore_external_java_deps.jar
  • nextflow_config - Config variable ignored: manifest.name
  • nextflow_config - Config variable ignored: manifest.homePage
  • nextflow_config - Config variable ignored: process.cpus
  • nextflow_config - Config variable ignored: process.memory
  • nextflow_config - Config variable ignored: process.time
  • nextflow_config - Config variable ignored: params.max_cpus
  • files_unchanged - File ignored due to lint config: CODE_OF_CONDUCT.md
  • files_unchanged - File ignored due to lint config: LICENSE or LICENSE.md or LICENCE or LICENCE.md
  • files_unchanged - File ignored due to lint config: .github/CONTRIBUTING.md
  • files_unchanged - File ignored due to lint config: .github/ISSUE_TEMPLATE/bug_report.yml
  • files_unchanged - File does not exist: .github/ISSUE_TEMPLATE/config.yml
  • files_unchanged - File ignored due to lint config: .github/PULL_REQUEST_TEMPLATE.md
  • files_unchanged - File ignored due to lint config: .github/workflows/branch.yml
  • files_unchanged - File ignored due to lint config: .github/workflows/linting_comment.yml
  • files_unchanged - File ignored due to lint config: .github/workflows/linting.yml
  • files_unchanged - File ignored due to lint config: assets/nf-core-shallowmapping_logo_light.png
  • files_unchanged - File does not exist: docs/images/nf-core-shallowmapping_logo_light.png
  • files_unchanged - File does not exist: docs/images/nf-core-shallowmapping_logo_dark.png
  • files_unchanged - File does not exist: docs/README.md
  • files_unchanged - File ignored due to lint config: .gitignore or .prettierignore
  • actions_awstest - 'awstest.yml' workflow not found: /home/runner/work/shallowmapping/shallowmapping/.github/workflows/awstest.yml

✅ Tests passed:

Run details

  • nf-core/tools version 3.1.0
  • Run at 2024-12-19 15:30:02

@mberacochea
Copy link
Member Author

mberacochea commented Dec 18, 2024

Whole pipeline test yey

Copy link

@ochkalova ochkalova left a comment

Choose a reason for hiding this comment

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

Nicely done, Martin
I don't have much to say, just two questions 🙂

conf/codon.config Show resolved Hide resolved
conf/base.config Outdated Show resolved Hide resolved
@mberacochea mberacochea merged commit 72ccfb8 into dev Dec 20, 2024
4 checks passed
@mberacochea mberacochea deleted the update/dbs_download branch December 20, 2024 10:52
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