8000 Release 2.1.1 by d4straub · Pull Request #261 · nf-core/mag · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Release 2.1.1 #261

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

Merged
merged 74 commits into from
Nov 26, 2021
Merged

Release 2.1.1 #261

merged 74 commits into from
Nov 26, 2021

Conversation

d4straub
Copy link
Collaborator
@d4straub d4straub commented Nov 23, 2021

Current version 2.1.0 doesnt work with the newest nextflow version 21.10.x, so that minor release is needed.
Changes are added Prokka (prokaryotic gene finding & annotation) per MAG, prodigal (prokaryotic gene finding) on metagenome and several bug fixes.

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

skrakau and others added 30 commits July 29, 2021 15:45
Bump version 2.2.0dev and adjusted release date
Fix workflow diagram CC-BY attribution
Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>
Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>
Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>
Co-authored-by: Daniel Straub <42973691+d4straub@users.noreply.github.com>
Co-authored-by: AntoniaSchuster <56543138+AntoniaSchuster@users.noreply.github.com>
@github-actions
Copy link
github-actions bot commented Nov 23, 2021

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit fda9e23

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

❗ Test warnings:

  • nextflow_config - Config manifest.version should end in dev: '2.1.1'
  • readme - README did not have a Nextflow minimum version mentioned in Quick Start section.

❔ Tests ignored:

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

✅ Tests passed:

Run details

  • nf-core/tools version 2.1
  • Run at 2021-11-25 12:03:02

Copy link
Member
@ggabernet ggabernet left a comment

Choose a reason for hiding this comment

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

Looks good to me!

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.

LGTM 👍

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
@d4straub
Copy link
Collaborator Author

Thanks for the reviews! I am running the large test run on our cluster right now, will wait until thats finished before I merge.

@jfy133
Copy link
Member
jfy133 commented Nov 25, 2021

@d4straub beforeyou go, in a separte test I noticed the following typo:

mag/lib/WorkflowMag.groovy

Lines 83 to 119 in 0b51bd1

FB77
if (params.skip_busco){
if (params.busco_reference) {
log.error "Both --skip_busco and --busco_reference are specififed! Invalid combination, please specify either --skip_busco or --busco_reference."
System.exit(1)
}
if (params.busco_download_path) {
log.error "Both --skip_busco and --busco_download_path are specififed! Invalid combination, please specify either --skip_busco or --busco_download_path."
System.exit(1)
}
if (params.busco_auto_lineage_prok) {
log.error "Both --skip_busco and --busco_auto_lineage_prok are specififed! Invalid combination, please specify either --skip_busco or --busco_auto_lineage_prok."
System.exit(1)
}
}
if (params.busco_reference && params.busco_download_path) {
log.error "Both --busco_reference and --busco_download_path are specififed! Invalid combination, please specify either --busco_reference or --busco_download_path."
System.exit(1)
}
if (params.busco_auto_lineage_prok && params.busco_reference) {
log.error "Both --busco_auto_lineage_prok and --busco_reference are specififed! Invalid combination, please specify either --busco_auto_lineage_prok or --busco_reference."
System.exit(1)
}
if (params.skip_busco && params.gtdb) {
log.warn "--skip_busco and --gtdb are specified! GTDB-tk will be omitted because GTDB-tk bin classification requires bin filtering based on BUSCO QC results to avoid GTDB-tk errors."
}
// Check if CAT parameters are valid
if (params.cat_db && params.cat_db_generate) {
log.error "Invalid combination of parameters --cat_db and --cat_db_generate is specififed! Please specify either --cat_db or --cat_db_generate."
System.exit(1)
}
if (params.save_cat_db && !params.cat_db_generate) {
log.error "Invalid parameter combination: parameter --save_cat_db specified, but not --cat_db_generate! Note also that the parameter --save_cat_db does not work in combination with --cat_db."
System.exit(1)
}
}

specififed -> specified

(this occurs in multiple places in the file, so check everywhere)

@d4straub
Copy link
Collaborator Author

Good catch! Seems like a copy paste error, I replaced all occurrences of specififed with specified in #262

@jfy133
Copy link
Member
jfy133 commented Nov 25, 2021

Approved

@d4straub d4straub merged commit e065754 into master Nov 26, 2021
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
0