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

Release: 2.3.0 #397

Merged
merged 172 commits into from
Mar 2, 2023
Merged
Show file tree
Hide file tree
Changes from 171 commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
7ce72b2
Post release bump
jfy133 Aug 25, 2022
77b9842
Update nextflow.config
jfy133 Aug 25, 2022
0a376a9
Merge pull request #332 from nf-core/post-patch-bump
jfy133 Aug 25, 2022
a2a05bd
Template update for nf-core/tools version 2.5
nf-core-bot Aug 30, 2022
8d4a93f
Template update for nf-core/tools version 2.5.1
nf-core-bot Sep 1, 2022
2fd132c
Template update for nf-core/tools version 2.6
nf-core-bot Oct 4, 2022
446769f
Merge branch 'dev' into nf-core-template-merge-2.6
jfy133 Oct 6, 2022
8fbded0
Blackify
jfy133 Oct 6, 2022
e7dc31e
Merge pull request #340 from nf-core/nf-core-template-merge-2.6
jfy133 Oct 7, 2022
d219896
Missed changing
jfy133 Oct 7, 2022
aa36a0e
Start CHECKM subworkflow
jfy133 Oct 7, 2022
902423f
Merge pull request #343 from nf-core/missing-changelog
jfy133 Oct 11, 2022
ee05d9f
Merge remote-tracking branch 'origin/dev' into checkm
jfy133 Oct 17, 2022
584dd60
Start work on adding CheckM,
jfy133 Oct 17, 2022
a35eb4d
TODOs for final stps
jfy133 Oct 17, 2022
4b70648
Update genome commandline parameter
alexhbnr Oct 17, 2022
099a502
local to global alignment
maxibor Oct 18, 2022
94c5867
update changelog [skip ci]
maxibor Oct 19, 2022
00cccfe
Merge pull request #345 from maxibor/dev
jfy133 Oct 19, 2022
2e05bd0
Merge pull request #344 from alexhbnr/fix_doc_genome
alexhbnr Oct 20, 2022
a8518be
Add warns about MetaBAT2 contig size
jfy133 Nov 3, 2022
58bc19f
Grammar, I think
jfy133 Nov 3, 2022
f23333e
More documentation (missing output and currently trying to run on per…
jfy133 Nov 3, 2022
06439ca
Merge pull request #349 from nf-core/maxbin-mincontig
jfy133 Nov 3, 2022
68cf671
Fix prefix, staging
jfy133 Nov 4, 2022
ef0ded9
Apply suggestions from code review
jfy133 Nov 4, 2022
e17a699
Prettier
jfy133 Nov 4, 2022
d543542
Merge branch 'checkm' of github.com:nf-core/mag into checkm
jfy133 Nov 4, 2022
c89987b
Update workflow
jfy133 Nov 4, 2022
c05c632
Start adding concoct
jfy133 Nov 4, 2022
b28bc81
Fix CI test
jfy133 Nov 4, 2022
8dea866
Update ci.yml
jfy133 Nov 10, 2022
fbda3d0
Add CONCOCT, need to fix output structure to match other bins and upd…
jfy133 Nov 11, 2022
24b627f
Bump up BUSCO version to 5.4.3 and escape lack of marker genes
alexhbnr Nov 15, 2022
625d316
Update CHANGELOG
alexhbnr Nov 15, 2022
41633ee
[automated] Fix linting with Prettier
nf-core-bot Nov 15, 2022
6bd552f
Added busco_clean parameter and code
prototaxites Nov 15, 2022
61e63aa
Added busco_clean to schema.
prototaxites Nov 15, 2022
0bd574e
Merge pull request #352 from alexhbnr/busco_nomarkers
alexhbnr Nov 15, 2022
795986b
[automated] Fix linting with Prettier
nf-core-bot Nov 15, 2022
db08008
Added to tests and changelog.
prototaxites Nov 15, 2022
553df5d
Merge branch 'dev' into master
prototaxites Nov 15, 2022
eb5013d
Add error code 21 to SPAdes retry list
mglubber Nov 17, 2022
4d232d5
Update CHANGELOG.md
mglubber Nov 17, 2022
eff45ab
Update CHANGELOG.md
mglubber Nov 17, 2022
2eb59f0
Fix output bin location for CONOCCT and output documentation
jfy133 Nov 25, 2022
07b4985
Merge pull request #355 from mglubber/dev
jfy133 Nov 25, 2022
4fb6469
More docs update
jfy133 Nov 25, 2022
114efb4
Fix linting
jfy133 Nov 25, 2022
71fc161
Start adding CONCOCT to the split fastq steps
jfy133 Nov 28, 2022
2754cab
Roll back split_fasta (as these arne't actually unbinned)
jfy133 Nov 28, 2022
14a275e
Start adding CONCOCT to DAS_Tool
jfy133 Nov 29, 2022
6db587e
Merge pull request #353 from prototaxites/master
d4straub Nov 29, 2022
aef427a
Added parameter skip_clipping to skip fastp or
prototaxites Nov 29, 2022
42af08e
Added test profile, updated schema and config.
prototaxites Nov 29, 2022
3a2695d
Fix config name
prototaxites Nov 29, 2022
eecc51d
Fixed multiqc
prototaxites Nov 30, 2022
ec4db44
Fixed multiqc pt. 2
prototaxites Nov 30, 2022
26c6a6e
Update changelog.
prototaxites Nov 30, 2022
fef973f
[automated] Fix linting with Prettier
nf-core-bot Dec 1, 2022
8b34f66
Generate checkm_summary.tsv, use for GTDB-TK and include into bin_sum…
skrakau Dec 2, 2022
fd53174
Add CheckM autodownload iwth patched Aria2 module
jfy133 Dec 2, 2022
73d6b93
Add auto-downloading of CheckM data when not supplied by user
jfy133 Dec 2, 2022
4023acc
Fix ugly warn produced in Nextflow 22.10
jfy133 Dec 2, 2022
e001aaa
Merge branch 'dev' into checkm
jfy133 Dec 2, 2022
cca9add
Apply suggestions from code review
jfy133 Dec 3, 2022
9cdf461
Fix handling of checkm results for gtdbtk
skrakau Dec 3, 2022
9ad1155
Merge pull request #362 from nf-core/fix-ugly-warn
jfy133 Dec 3, 2022
ccfe785
Merge branch 'dev' into binning-concoct
jfy133 Dec 5, 2022
58a72f6
Additional comment on output from DAS_Tool
jfy133 Dec 6, 2022
2fbe4d3
Update CHANGELOG
jfy133 Dec 6, 2022
e51c028
typo fix
jfy133 Dec 6, 2022
3d7ed2c
REmove TODO
jfy133 Dec 6, 2022
668b360
Add CAT_SUMMARY process and offical_taxonomy param
prototaxites Dec 6, 2022
230def6
Updated changelog.
prototaxites Dec 6, 2022
f3c3c89
[automated] Fix linting with Prettier
nf-core-bot Dec 6, 2022
c896fa4
Update test_busco_auto.config
jfy133 Dec 7, 2022
9f9e6de
Apply suggestions from code review
jfy133 Dec 7, 2022
e973609
Template update for nf-core/tools version 2.7.1
nf-core-bot Dec 8, 2022
0beb327
Repair MEGAHIT names to allow PROKKA/DASTool compatibility
jfy133 Dec 9, 2022
2911c39
Update docs/output.md
jfy133 Dec 12, 2022
5b1ded1
Improve DASTool validation check and move to right place
jfy133 Dec 13, 2022
4b9a72b
Improve DAS_Tool check statment
jfy133 Dec 13, 2022
abcce12
Merge pull request #365 from nf-core/binning-concoct
jfy133 Dec 13, 2022
53c9844
Merge branch 'dev' into skip_qc
prototaxites Dec 15, 2022
9070e12
Fix CAT_SUMMARY so it works
Dec 15, 2022
40267cd
Merge branch 'dev' into cat_summarise
prototaxites Dec 15, 2022
c4afc89
Updated test profiles
prototaxites Dec 16, 2022
c3a0ef3
Merge pull request #361 from prototaxites/skip_qc
d4straub Dec 16, 2022
4ff2270
Merge branch 'dev' into cat_summarise
prototaxites Dec 16, 2022
4361c5e
merge template update 2.7.1
d4straub Dec 16, 2022
4e4adf8
update changelog and modules.json by nf-core lint
d4straub Dec 16, 2022
7b0adf6
Undo temporary test change committed to CAT process
prototaxites Dec 16, 2022
9ad1729
Merge pull request #366 from prototaxites/cat_summarise
d4straub Dec 16, 2022
dfe4982
Update CAT_DB to accept an unpacked folder
Dec 16, 2022
3a353d0
Template update for nf-core/tools version 2.7.2
nf-core-bot Dec 19, 2022
dfdf6ab
Update nextflow schema.
Dec 19, 2022
954b0c1
Use only subset of checkm results for final bin_summary
skrakau Dec 19, 2022
837c38d
Fix error with cat_official_taxonomy
Dec 20, 2022
b8c0ad5
Update changelog.
Dec 20, 2022
4aa819a
Merge pull request #368 from d4straub/merging-template-updates-2-7-1
d4straub Dec 20, 2022
0299e68
Merged changes from nf-core template-2.7.2
skrakau Dec 20, 2022
c75b17b
Update CHANGELOG
skrakau Dec 20, 2022
2067d8d
Run CONCOCT only in bin refinement step
jfy133 Dec 21, 2022
d466ed9
Update CHANGELOG.md
jfy133 Jan 3, 2023
8046029
Remove params.enable_conda from local modules
skrakau Jan 4, 2023
b046f4f
Update nf-core modules for conda param change
skrakau Jan 4, 2023
9f019c7
Update nf-core samtools/faidx module
skrakau Jan 4, 2023
1cf054e
Update nf-core module Prokka
skrakau Jan 4, 2023
4f62f4c
Update nf-core bcftools modules
skrakau Jan 4, 2023
6a98b69
Update nf-core freebayes module
skrakau Jan 4, 2023
7417b95
Update nf-core adapterremoval module
skrakau Jan 4, 2023
f5fb4e4
Update nf-core fastp module
skrakau Jan 5, 2023
7376c85
Updated CHANGELOG
skrakau Jan 5, 2023
5d30fed
Update nf-core module concoct/cutupfasta
skrakau Jan 11, 2023
8df92ce
Fix aDNA binning tests
jfy133 Jan 12, 2023
2de751b
Remove unnecessary dumps
jfy133 Jan 12, 2023
f6c0d04
Add support for optionally saving clipped reads
jfy133 Jan 12, 2023
4e5c4ca
Merge pull request #373 from skrakau/template-update-2.7.2-new
skrakau Jan 12, 2023
a9ed470
Add additional preprocessing reads to saving functioanlity and add al…
jfy133 Jan 12, 2023
d970236
Merge branch 'dev' into save-fastqs
jfy133 Jan 12, 2023
636eb64
Merge branch 'dev' into concoct-sep-tests
jfy133 Jan 12, 2023
e10d321
Merge branch 'dev' into checkm
jfy133 Jan 12, 2023
d98b322
Merge branch 'checkm' of github.com:nf-core/mag into checkm
jfy133 Jan 12, 2023
c0141d9
Linting
jfy133 Jan 12, 2023
de3233e
[automated] Fix linting with Prettier
nf-core-bot Jan 12, 2023
feed0ee
Merge pull request #374 from nf-core/concoct-sep-tests
jfy133 Jan 13, 2023
61b9f23
Merge branch 'dev' into fast_cat_db
prototaxites Jan 13, 2023
7148585
Comments after review
jfy133 Jan 13, 2023
0a8b478
Standardise save flag names
jfy133 Jan 13, 2023
95074ae
Merge branch 'dev' into save-fastqs
jfy133 Jan 13, 2023
26bc24b
Merge pull request #380 from nf-core/save-fastqs
jfy133 Jan 16, 2023
91ae7ae
Merge branch 'dev' into checkm
jfy133 Jan 16, 2023
e486a5f
Blcak formatting (finally...)
jfy133 Jan 16, 2023
a338fb7
Merge branch 'dev' into fast_cat_db
prototaxites Jan 16, 2023
1d711fe
Replace deprecated flag
jfy133 Jan 16, 2023
f79955f
Update CHANGELOG
skrakau Jan 17, 2023
d5b66a1
Update CheckM output description
skrakau Jan 17, 2023
36f879d
Merge pull request #350 from nf-core/checkm
jfy133 Jan 17, 2023
6c2a2b4
Remove MEGAHIT contig repair as fixed upstream in dastool
jfy133 Jan 24, 2023
2262ff4
Remove dump
jfy133 Jan 30, 2023
a3445a2
Update workflows/mag.nf
jfy133 Jan 30, 2023
a119556
Run CAT on bins and unbins
jfy133 Jan 30, 2023
884e0cc
Merge pull request #384 from nf-core/dastool-update
jfy133 Jan 30, 2023
4b215b7
Merge pull request #372 from prototaxites/fast_cat_db
prototaxites Jan 31, 2023
cd91bc5
Merge pull request #385 from nf-core/cat-unbinnned
jfy133 Jan 31, 2023
fb560e4
first pass adding GUNC
jfy133 Feb 13, 2023
7b6ce98
Fix typo and remove ugly warn
jfy133 Feb 14, 2023
9d8e543
Fix gunc db channel creation
jfy133 Feb 14, 2023
05b0a54
Merge pull request #392 from nf-core/typo-fixes
jfy133 Feb 15, 2023
b605221
update docs
jfy133 Feb 22, 2023
188550c
Changes after review from @d4straub
jfy133 Feb 23, 2023
023b664
Update CHANGELOG.md [skip ci]
jfy133 Feb 23, 2023
68d0223
Merge pull request #394 from jfy133/add-gunc
jfy133 Feb 23, 2023
26f8930
Version bump for 2.3 release
jfy133 Feb 27, 2023
fbd8b74
Update CHANGELOG
jfy133 Feb 27, 2023
2521d91
Remove remaining TODOs
jfy133 Feb 27, 2023
dd3c7d2
Merge pull request #396 from jfy133/dev
jfy133 Feb 27, 2023
9821515
Apply suggestions from code review
jfy133 Feb 28, 2023
103bf54
Bump BUSCO plot as to be sync with main container
jfy133 Feb 28, 2023
b09b29f
Revert "Apply suggestions from code review"
jfy133 Feb 28, 2023
e60eda2
Changes after review from @ggabernet and @d4straub
jfy133 Feb 28, 2023
e36e2e0
Merge pull request #398 from jfy133/busco-ver-sync
jfy133 Feb 28, 2023
5329440
Move CheckM entry to add section
jfy133 Feb 28, 2023
4afe643
Update pandas to 1.4.3
skrakau Mar 1, 2023
9a2ef03
Remove BUSCO_PLOT process
skrakau Mar 1, 2023
bab83a3
Updated CHANGELOG
skrakau Mar 1, 2023
01e43bb
Remove not needed addParams() usage
skrakau Mar 1, 2023
fa9fc7d
Update CHANGELOG.md
skrakau Mar 1, 2023
2932a0b
Apply suggestions from code review
jfy133 Mar 1, 2023
9b8cb40
Merge pull request #399 from skrakau/changes_for_release2.3.0
skrakau Mar 2, 2023
62cf4fe
Add date to changelog [skip ci]
jfy133 Mar 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "nfcore",
"image": "nfcore/gitpod:latest",
"remoteUser": "gitpod",

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/opt/conda/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.autopep8Path": "/opt/conda/bin/autopep8",
"python.formatting.yapfPath": "/opt/conda/bin/yapf",
"python.linting.flake8Path": "/opt/conda/bin/flake8",
"python.linting.pycodestylePath": "/opt/conda/bin/pycodestyle",
"python.linting.pydocstylePath": "/opt/conda/bin/pydocstyle",
"python.linting.pylintPath": "/opt/conda/bin/pylint"
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": ["ms-python.python", "ms-python.vscode-pylance", "nf-core.nf-core-extensionpack"]
}
}
}
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ trim_trailing_whitespace = true
indent_size = 4
indent_style = space

[*.{md,yml,yaml,html,css,scss,js}]
[*.{md,yml,yaml,html,css,scss,js,cff}]
indent_size = 2

# These files are edited and tested upstream in nf-core/modules
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.config linguist-language=nextflow
*.nf.test linguist-language=nextflow
modules/nf-core/** linguist-generated
subworkflows/nf-core/** linguist-generated
16 changes: 16 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,19 @@ If you are using a new feature from core Nextflow, you may bump the minimum requ
### Images and figures

For overview images and other documents we follow the nf-core [style guidelines and examples](https://nf-co.re/developers/design_guidelines).

## GitHub Codespaces

This repo includes a devcontainer configuration which will create a GitHub Codespaces for Nextflow development! This is an online developer environment that runs in your browser, complete with VSCode and a terminal.

To get started:

- Open the repo in [Codespaces](https://github.com/nf-core/mag/codespaces)
- Tools installed
- nf-core
- Nextflow

Devcontainer specs:

- [DevContainer config](.devcontainer/devcontainer.json)
- [Dockerfile](.devcontainer/Dockerfile)
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ body:
attributes:
label: System information
description: |
* Nextflow version _(eg. 21.10.3)_
* Nextflow version _(eg. 22.10.1)_
* Hardware _(eg. HPC, Desktop, Cloud)_
* Executor _(eg. slurm, local, awsbatch)_
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter or Charliecloud)_
Expand Down
3 changes: 1 addition & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/mag/

- [ ] 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](https://github.com/nf-core/mag/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/mag _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/mag/tree/master/.github/CONTRIBUTING.md)- [ ] If necessary, also make a PR on the nf-core/mag _branch_ on the [nf-core/test-datasets](https://github.com/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.
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ jobs:
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/mag/results-${{ github.sha }}"
}
profiles: test_full,aws_tower
- uses: actions/upload-artifact@v3
with:
name: Tower debug log file
path: tower_action_*.log
4 changes: 4 additions & 0 deletions .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ jobs:
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/mag/results-test-${{ github.sha }}"
}
profiles: test,aws_tower
- uses: actions/upload-artifact@v3
with:
name: Tower debug log file
path: tower_action_*.log
69 changes: 51 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ on:

env:
NXF_ANSI_LOG: false
CAPSULE_LOG: none

concurrency:
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
cancel-in-progress: true

jobs:
test:
Expand All @@ -20,27 +23,22 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# Nextflow versions
include:
# Test pipeline minimum Nextflow version
- NXF_VER: "21.10.3"
NXF_EDGE: ""
# Test latest edge release of Nextflow
- NXF_VER: ""
NXF_EDGE: "1"
NXF_VER:
- "22.10.1"
- "latest-everything"
steps:
- name: Free some space
run: |
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"

- name: Check out pipeline code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Nextflow
env:
NXF_VER: ${{ matrix.NXF_VER }}
# Uncomment only if the edge release is more recent than the latest stable release
# See https://github.com/nextflow-io/nextflow/issues/2467
# NXF_EDGE: ${{ matrix.NXF_EDGE }}
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
uses: nf-core/setup-nextflow@v1
with:
version: "${{ matrix.NXF_VER }}"

- name: Run pipeline with test data
run: |
Expand All @@ -65,6 +63,11 @@ jobs:
test_binrefinement,
]
steps:
- name: Free some space
run: |
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"

- name: Check out pipeline code
uses: actions/checkout@v2

Expand All @@ -76,3 +79,33 @@ jobs:
- name: Run pipeline with ${{ matrix.profile }} test profile
run: |
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.profile }},docker --outdir ./results

checkm:
name: Run single test to checkm due to database download
# Only run on push if this is the nf-core dev branch (merged PRs)
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/mag') }}
runs-on: ubuntu-latest

steps:
- name: Free some space
run: |
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"

- name: Check out pipeline code
uses: actions/checkout@v2

- name: Install Nextflow
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/

- name: Download and prepare CheckM database
run: |
mkdir -p databases/checkm
wget https://data.ace.uq.edu.au/public/CheckM_databases/checkm_data_2015_01_16.tar.gz -P databases/checkm
tar xzvf databases/checkm/checkm_data_2015_01_16.tar.gz -C databases/checkm/

- name: Run pipeline with ${{ matrix.profile }} test profile
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results --binqc_tool checkm --checkm_db databases/checkm
6 changes: 3 additions & 3 deletions .github/workflows/fix-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3

- name: Install Prettier
run: npm install -g prettier @prettier/plugin-php
Expand All @@ -34,9 +34,9 @@ jobs:
id: prettier_status
run: |
if prettier --check ${GITHUB_WORKSPACE}; then
echo "::set-output name=result::pass"
echo "result=pass" >> $GITHUB_OUTPUT
else
echo "::set-output name=result::fail"
echo "result=fail" >> $GITHUB_OUTPUT
fi

- name: Run 'prettier --write'
Expand Down
54 changes: 41 additions & 13 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ name: nf-core linting
# that the code meets the nf-core guidelines.
on:
push:
branches:
- dev
pull_request:
release:
types: [published]
Expand All @@ -12,9 +14,9 @@ jobs:
EditorConfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3

- name: Install editorconfig-checker
run: npm install -g editorconfig-checker
Expand All @@ -25,32 +27,58 @@ jobs:
Prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3

- name: Install Prettier
run: npm install -g prettier

- name: Run Prettier --check
run: prettier --check ${GITHUB_WORKSPACE}

PythonBlack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Check code lints with Black
uses: psf/black@stable

# If the above check failed, post a comment on the PR explaining the failure
- name: Post PR comment
if: failure()
uses: mshick/add-pr-comment@v1
with:
message: |
## Python linting (`black`) is failing

To keep the code consistent with lots of contributors, we run automated code consistency checks.
To fix this CI test, please run:

* Install [`black`](https://black.readthedocs.io/en/stable/): `pip install black`
* Fix formatting errors in your pipeline: `black .`

Once you push these changes the test should pass, and you can hide this comment :+1:

We highly recommend setting up Black in your code editor so that this formatting is done automatically on save. Ask about it on Slack for help!

Thanks again for your contribution!
repo-token: ${{ secrets.GITHUB_TOKEN }}
allow-repeats: false

nf-core:
runs-on: ubuntu-latest
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Nextflow
env:
CAPSULE_LOG: none
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
uses: nf-core/setup-nextflow@v1

- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: "3.6"
python-version: "3.7"
architecture: "x64"

- name: Install dependencies
Expand All @@ -71,7 +99,7 @@ jobs:

- name: Upload linting log file artifact
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: linting-logs
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Get PR number
id: pr_number
run: echo "::set-output name=pr_number::$(cat linting-logs/PR_number.txt)"
run: echo "pr_number=$(cat linting-logs/PR_number.txt)" >> $GITHUB_OUTPUT

- name: Post PR comment
uses: marocchino/sticky-pull-request-comment@v2
Expand Down
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
email_template.html
adaptivecard.json
slackreport.json
.nextflow*
work/
data/
Expand All @@ -7,3 +9,4 @@ results/
testing/
testing*
*.pyc
bin/
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,42 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v2.3.0 - [XXXX/XX/XX]

### `Added`

- [#350](https://github.com/nf-core/mag/pull/350) - Adds support for CheckM as alternative bin completeness and QC tool (added by @jfy133 and @skrakau)
- [#353](https://github.com/nf-core/mag/pull/353) - Added the busco_clean parameter to optionally clean each BUSCO directory after a successful (by @prototaxites)
- [#361](https://github.com/nf-core/mag/pull/361) - Added the skip_clipping parameter to skip read preprocessing with fastp or adapterremoval. Running the pipeline with skip_clipping, keep_phix and without specifying a host genome or fasta file skips the FASTQC_TRIMMED process (by @prototaxites)
- [#365](https://github.com/nf-core/mag/pull/365) - Added CONCOCT as an additional (optional) binning tool (by @jfy133)
- [#366](https://github.com/nf-core/mag/pull/366) - Added CAT_SUMMARISE process and cat_official_taxonomy parameter (by @prototaxites)
- [#372](https://github.com/nf-core/mag/pull/372) - Allow CAT_DB to take an extracted database as well as a tar.gz file (by @prototaxites).
- [#380](https://github.com/nf-core/mag/pull/380) - Added support for saving processed reads (clipped, host removed etc.) to results directory (by @jfy133)
- [#394](https://github.com/nf-core/mag/pull/394) - Added GUNC for additional chimeric bin/contamination QC (added by @jfy133)

### `Changed`

- [#340](https://github.com/nf-core/mag/pull/340),[#368](https://github.com/nf-core/mag/pull/368),[#373](https://github.com/nf-core/mag/pull/373) - Update to nf-core 2.7.2 `TEMPLATE` (by @jfy133, @d4straub, @skrakau)
- [#373](https://github.com/nf-core/mag/pull/373) - Removed parameter `--enable_conda`. Updated local modules to new conda syntax and updated nf-core modules (by @skrakau)
- [#385](https://github.com/nf-core/mag/pull/385) - CAT also now runs on unbinned contigs as well as binned contigs (added by @jfy133)
- [#399](https://github.com/nf-core/mag/pull/399/files) - Removed undocumented BUSCO_PLOT process (previously generated `*.busco_figure.png` plots unsuitable for metagenomics) (by @skrakau).

### `Fixed`

- [#345](https://github.com/nf-core/mag/pull/345) - Bowtie2 mode changed to global alignment for ancient DNA mode (`--very-sensitive` mode) to prevent soft clipping at the end of reads when running in local mode. (by @maxibor)
- [#349](https://github.com/nf-core/mag/pull/349) - Add a warning that pipeline will reset minimum contig size to 1500 specifically MetaBAT2 process, if a user supplies below this threshold. (by @jfy133)
- [#352](https://github.com/nf-core/mag/pull/352) - Escape the case in the BUSCO module that BUSCO can just detect a root lineage but is not able to find any marker genes (by @alexhbnr)
- [#355](https://github.com/nf-core/mag/pull/355) - Include error code 21 for retrying with higher memory for SPAdes and hybridSPAdes (by @mglubber)

### `Dependencies`

| Tool | Previous version | New version |
| --------- | ---------------- | ----------- |
| BUSCO | 5.1.0 | 5.4.3 |
| BCFtools | 1.14 | 1.16 |
| Freebayes | 1.3.5 | 1.3.6 |
| SAMtools | 1.15 | 1.16.1 |

## v2.2.1 - 2022/08/25

### `Added`
Expand Down
Loading