forked from nf-core/sarek
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- # nf-core/sarek pull request Many thanks for contributing to nf-core/sarek! Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs). Remember that PRs should be made against the dev branch, unless you're preparing a pipeline release. Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/sarek/tree/master/.github/CONTRIBUTING.md) --> ## 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](https://github.com/nf-core/sarek/tree/master/.github/CONTRIBUTING.md) - [ ] If necessary, also make a PR on the nf-core/sarek _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository. - [ ] Make sure your code lints (`nf-core pipelines lint`). - [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`). - [ ] Check for unexpected warnings in debug mode (`nextflow run . -profile debug,test,docker --outdir <OUTDIR>`). - [ ] 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). --------- Co-authored-by: Friederike Hanssen <[email protected]> Co-authored-by: Friederike Hanssen <[email protected]> Co-authored-by: tdanhorn <[email protected]> Co-authored-by: Thomas <[email protected]>
- Loading branch information
1 parent
ae4dd11
commit 5fe5cdf
Showing
26 changed files
with
114 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,13 +81,24 @@ jobs: | |
if: github.repository == 'nf-core/sarek' && github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'master' || github.event_name == 'workflow_dispatch' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: octokit/[email protected] | ||
- name: Get PR reviews | ||
uses: octokit/[email protected] | ||
if: github.event_name != 'workflow_dispatch' | ||
id: check_approvals | ||
continue-on-error: true | ||
with: | ||
route: GET /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews | ||
route: GET /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews?per_page=100 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- id: test_variables | ||
|
||
- name: Check for approvals | ||
if: ${{ failure() && github.event_name != 'workflow_dispatch' }} | ||
run: | | ||
echo "No review approvals found. At least 2 approvals are required to run this action automatically." | ||
exit 1 | ||
- name: Check for enough approvals (>=2) | ||
id: test_variables | ||
if: github.event_name != 'workflow_dispatch' | ||
run: | | ||
JSON_RESPONSE='${{ steps.check_approvals.outputs.data }}' | ||
|
@@ -114,11 +125,9 @@ jobs: | |
} | ||
profiles: ${{ matrix.profile }} | ||
|
||
- uses: actions/upload-artifact@v3 | ||
name: Save Logs | ||
if: success() || failure() | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: tower-${{ matrix.profile }}-log | ||
name: Seqera Platform debug log file | ||
path: | | ||
tower_action_*.log | ||
tower_action_*.json | ||
seqera_platform_action_*.log | ||
seqera_platform_action_*.json |
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
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 |
---|---|---|
|
@@ -336,14 +336,14 @@ env { | |
} | ||
|
||
// Set bash options | ||
process.shell = """\ | ||
bash | ||
set -e # Exit if a tool returns a non-zero status/exit code | ||
set -u # Treat unset variables and parameters as an error | ||
set -o pipefail # Returns the status of the last command to exit with a non-zero status or zero if all successfully execute | ||
set -C # No clobber - prevent output redirection from overwriting files. | ||
""" | ||
process.shell = [ | ||
"bash", | ||
"-C", // No clobber - prevent output redirection from overwriting files. | ||
"-e", // Exit if a tool returns a non-zero status/exit code | ||
"-u", // Treat unset variables and parameters as an error | ||
"-o", // Returns the status of the last command to exit.. | ||
"pipefail" // ..with a non-zero status or zero if all successfully execute | ||
] | ||
|
||
// Disable process selector warnings by default. Use debug profile to enable warnings. | ||
nextflow.enable.configProcessNamesValidation = false | ||
|
@@ -381,13 +381,13 @@ manifest { | |
description = """An open-source analysis pipeline to detect germline or somatic variants from whole genome or targeted sequencing""" | ||
mainScript = 'main.nf' | ||
nextflowVersion = '!>=24.04.2' | ||
version = '3.5.0' | ||
version = '3.5.1' | ||
doi = '10.12688/f1000research.16665.2, 10.1093/nargab/lqae031, 10.5281/zenodo.3476425' | ||
} | ||
|
||
// Nextflow plugins | ||
plugins { | ||
id 'nf-schema@2.1.1' // Validation of pipeline parameters and creation of an input channel from a sample sheet | ||
id 'nf-schema@2.2.1' // Validation of pipeline parameters and creation of an input channel from a sample sheet | ||
id '[email protected]' // Provenance reports for pipeline runs | ||
} | ||
|
||
|
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
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 |
---|---|---|
|
@@ -51,7 +51,7 @@ | |
"vcftools": "0.1.16" | ||
}, | ||
"Workflow": { | ||
"nf-core/sarek": "v3.5.0" | ||
"nf-core/sarek": "v3.5.1" | ||
} | ||
}, | ||
[ | ||
|
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 |
---|---|---|
|
@@ -51,7 +51,7 @@ | |
"vcftools": "0.1.16" | ||
}, | ||
"Workflow": { | ||
"nf-core/sarek": "v3.5.0" | ||
"nf-core/sarek": "v3.5.1" | ||
} | ||
}, | ||
[ | ||
|
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 @@ | |
"bcftools": 1.2 | ||
}, | ||
"Workflow": { | ||
"nf-core/sarek": "v3.5.0" | ||
"nf-core/sarek": "v3.5.1" | ||
} | ||
}, | ||
[ | ||
|
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"tabix": 1.2 | ||
}, | ||
"Workflow": { | ||
"nf-core/sarek": "v3.5.0" | ||
"nf-core/sarek": "v3.5.1" | ||
} | ||
}, | ||
[ | ||
|
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"tabix": 1.2 | ||
}, | ||
"Workflow": { | ||
"nf-core/sarek": "v3.5.0" | ||
"nf-core/sarek": "v3.5.1" | ||
} | ||
}, | ||
[ | ||
|
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 |
---|---|---|
|
@@ -39,7 +39,7 @@ | |
"vcftools": "0.1.16" | ||
}, | ||
"Workflow": { | ||
"nf-core/sarek": "v3.5.0" | ||
"nf-core/sarek": "v3.5.1" | ||
} | ||
}, | ||
[ | ||
|
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
"samtools": 1.21 | ||
}, | ||
"Workflow": { | ||
"nf-core/sarek": "v3.5.0" | ||
"nf-core/sarek": "v3.5.1" | ||
} | ||
}, | ||
[ | ||
|
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
"samtools": 1.21 | ||
}, | ||
"Workflow": { | ||
"nf-core/sarek": "v3.5.0" | ||
"nf-core/sarek": "v3.5.1" | ||
} | ||
}, | ||
[ | ||
|
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 |
---|---|---|
|
@@ -39,7 +39,7 @@ | |
"vcftools": "0.1.16" | ||
}, | ||
"Workflow": { | ||
"nf-core/sarek": "v3.5.0" | ||
"nf-core/sarek": "v3.5.1" | ||
} | ||
}, | ||
[ | ||
|
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
Oops, something went wrong.