-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/dev' into feature/create-bam-p…
…arameter
- Loading branch information
Showing
66 changed files
with
938 additions
and
1,039 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,38 @@ | ||
name: nf-core AWS full size tests | ||
# This workflow is triggered on published releases. | ||
# This workflow is triggered on PRs opened against the master branch. | ||
# It can be additionally triggered manually with GitHub actions workflow dispatch button. | ||
# It runs the -profile 'test_full' on AWS batch | ||
|
||
on: | ||
release: | ||
types: [published] | ||
pull_request: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
pull_request_review: | ||
types: [submitted] | ||
|
||
jobs: | ||
run-platform: | ||
name: Run AWS full tests | ||
if: github.repository == 'nf-core/scrnaseq' | ||
# run only if the PR is approved by at least 2 reviewers and against the master branch or manually triggered | ||
if: github.repository == 'nf-core/scrnaseq' && github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'master' || github.event_name == 'workflow_dispatch' | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
aligner: ["alevin", "kallisto", "star", "cellranger", "universc"] | ||
steps: | ||
- uses: octokit/[email protected] | ||
id: check_approvals | ||
with: | ||
route: GET /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- id: test_variables | ||
if: github.event_name != 'workflow_dispatch' | ||
run: | | ||
JSON_RESPONSE='${{ steps.check_approvals.outputs.data }}' | ||
CURRENT_APPROVALS_COUNT=$(echo $JSON_RESPONSE | jq -c '[.[] | select(.state | contains("APPROVED")) ] | length') | ||
test $CURRENT_APPROVALS_COUNT -ge 2 || exit 1 # At least 2 approvals are required | ||
- name: Launch workflow via Seqera Platform | ||
uses: seqeralabs/action-tower-launch@v2 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: nf-core linting | ||
# This workflow is triggered on pushes and PRs to the repository. | ||
# It runs the `nf-core lint` and markdown lint tests to ensure | ||
# It runs the `nf-core pipelines lint` and markdown lint tests to ensure | ||
# that the code meets the nf-core guidelines. | ||
on: | ||
push: | ||
|
@@ -41,17 +41,32 @@ jobs: | |
python-version: "3.12" | ||
architecture: "x64" | ||
|
||
- name: read .nf-core.yml | ||
uses: pietrobolcato/[email protected] | ||
id: read_yml | ||
with: | ||
config: ${{ github.workspace }}/.nf-core.yml | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install nf-core | ||
pip install nf-core==${{ steps.read_yml.outputs['nf_core_version'] }} | ||
- name: Run nf-core pipelines lint | ||
if: ${{ github.base_ref != 'master' }} | ||
env: | ||
GITHUB_COMMENTS_URL: ${{ github.event.pull_request.comments_url }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_PR_COMMIT: ${{ github.event.pull_request.head.sha }} | ||
run: nf-core -l lint_log.txt pipelines lint --dir ${GITHUB_WORKSPACE} --markdown lint_results.md | ||
|
||
- name: Run nf-core lint | ||
- name: Run nf-core pipelines lint --release | ||
if: ${{ github.base_ref == 'master' }} | ||
env: | ||
GITHUB_COMMENTS_URL: ${{ github.event.pull_request.comments_url }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_PR_COMMIT: ${{ github.event.pull_request.head.sha }} | ||
run: nf-core -l lint_log.txt lint --dir ${GITHUB_WORKSPACE} --markdown lint_results.md | ||
run: nf-core -l lint_log.txt pipelines lint --release --dir ${GITHUB_WORKSPACE} --markdown lint_results.md | ||
|
||
- name: Save PR number | ||
if: ${{ always() }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: nf-core template version comment | ||
# This workflow is triggered on PRs to check if the pipeline template version matches the latest nf-core version. | ||
# It posts a comment to the PR, even if it comes from a fork. | ||
|
||
on: pull_request_target | ||
|
||
jobs: | ||
template_version: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out pipeline code | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: Read template version from .nf-core.yml | ||
uses: nichmor/[email protected] | ||
id: read_yml | ||
with: | ||
config: ${{ github.workspace }}/.nf-core.yml | ||
|
||
- name: Install nf-core | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install nf-core==${{ steps.read_yml.outputs['nf_core_version'] }} | ||
- name: Check nf-core outdated | ||
id: nf_core_outdated | ||
run: echo "OUTPUT=$(pip list --outdated | grep nf-core)" >> ${GITHUB_ENV} | ||
|
||
- name: Post nf-core template version comment | ||
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2 | ||
if: | | ||
contains(env.OUTPUT, 'nf-core') | ||
with: | ||
repo-token: ${{ secrets.NF_CORE_BOT_AUTH_TOKEN }} | ||
allow-repeats: false | ||
message: | | ||
> [!WARNING] | ||
> Newer version of the nf-core template is available. | ||
> | ||
> Your pipeline is using an old version of the nf-core template: ${{ steps.read_yml.outputs['nf_core_version'] }}. | ||
> Please update your pipeline to the latest version. | ||
> | ||
> For more documentation on how to update your pipeline, please see the [nf-core documentation](https://github.com/nf-core/tools?tab=readme-ov-file#sync-a-pipeline-with-the-template) and [Synchronisation documentation](https://nf-co.re/docs/contributing/sync). | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ results/ | |
testing/ | ||
testing* | ||
*.pyc | ||
null/ | ||
log/ | ||
reports/ | ||
testme.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
repository_type: pipeline | ||
nf_core_version: "2.14.1" | ||
bump_version: null | ||
lint: | ||
template_strings: False | ||
files_unchanged: | ||
- .github/ISSUE_TEMPLATE/bug_report.yml | ||
files_exist: | ||
- lib/Utils.groovy | ||
# TODO This is because of an issue with the monochromeLogs parameter | ||
# See nextflow.config for details | ||
schema_params: False | ||
files_unchanged: | ||
- .github/ISSUE_TEMPLATE/bug_report.yml | ||
schema_params: false | ||
template_strings: false | ||
nf_core_version: 3.0.2 | ||
org_path: null | ||
repository_type: pipeline | ||
template: | ||
author: Bailey PJ, Botvinnik O, Marques de Almeida F, Peltzer A, Sturm G | ||
description: Pipeline for processing 10x Genomics single cell rnaseq data | ||
force: false | ||
is_nfcore: true | ||
name: scrnaseq | ||
org: nf-core | ||
outdir: . | ||
skip_features: null | ||
version: 2.8.0dev | ||
update: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ repos: | |
- [email protected] | ||
|
||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python | ||
rev: "2.7.3" | ||
rev: "3.0.3" | ||
hooks: | ||
- id: editorconfig-checker | ||
alias: ec |
Oops, something went wrong.