Skip to content

Release 2.1.1#261

Merged
d4straub merged 74 commits into
masterfrom
dev
Nov 26, 2021
Merged

Release 2.1.1#261
d4straub merged 74 commits into
masterfrom
dev

Conversation

@d4straub

@d4straub d4straub commented Nov 23, 2021

Copy link
Copy Markdown
Collaborator

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

github-actions Bot commented Nov 23, 2021

Copy link
Copy Markdown

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit fda9e23

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

❗ 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

@ggabernet ggabernet left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me!

@jfy133 jfy133 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 👍

Comment thread CHANGELOG.md Outdated
Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
@d4straub

Copy link
Copy Markdown
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

jfy133 commented Nov 25, 2021

Copy link
Copy Markdown
Member

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

mag/lib/WorkflowMag.groovy

Lines 83 to 119 in 0b51bd1

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
Copy Markdown
Collaborator Author

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

@jfy133

jfy133 commented Nov 25, 2021

Copy link
Copy Markdown
Member

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