-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from nf-core/dev
Prepare release 2.0.0
- Loading branch information
Showing
100 changed files
with
5,093 additions
and
3,003 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_size = 4 | ||
indent_style = space | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
|
||
[*.json] | ||
insert_final_newline = unset | ||
|
||
# These files are edited and tested upstream in nf-core/modules | ||
[/modules/nf-core/**] | ||
charset = unset | ||
end_of_line = unset | ||
insert_final_newline = unset | ||
trim_trailing_whitespace = unset | ||
indent_style = unset | ||
indent_size = unset | ||
|
||
[/assets/email*] | ||
indent_size = unset |
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ version: 1.2 | |
workflows: | ||
- subclass: nfl | ||
primaryDescriptorPath: /nextflow.config | ||
publish: True |
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,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Join nf-core | ||
url: https://nf-co.re/join | ||
about: Please join the nf-core community here | ||
- name: "Slack #bacass channel" | ||
url: https://nfcore.slack.com/channels/bacass | ||
about: Discussion about the nf-core/bacass pipeline |
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 was deleted.
Oops, something went wrong.
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,41 +1,33 @@ | ||
name: nf-core AWS full size tests | ||
# This workflow is triggered on published releases. | ||
# It can be additionally triggered manually with GitHub actions workflow dispatch. | ||
# 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] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run-awstest: | ||
run-tower: | ||
name: Run AWS full tests | ||
if: github.repository == 'nf-core/bacass' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup Miniconda | ||
uses: goanpeca/setup-miniconda@v1.0.2 | ||
with: | ||
auto-update-conda: true | ||
python-version: 3.7 | ||
- name: Install awscli | ||
run: conda install -c conda-forge awscli | ||
- name: Start AWS batch job | ||
- name: Launch workflow via tower | ||
uses: nf-core/tower-action@master | ||
# Add full size test data (but still relatively small datasets for few samples) | ||
# on the `test_full.config` test runs with only one set of parameters | ||
# Then specify `-profile test_full` instead of `-profile test` on the AWS batch command | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
TOWER_ACCESS_TOKEN: ${{ secrets.AWS_TOWER_TOKEN }} | ||
AWS_JOB_DEFINITION: ${{ secrets.AWS_JOB_DEFINITION }} | ||
AWS_JOB_QUEUE: ${{ secrets.AWS_JOB_QUEUE }} | ||
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }} | ||
run: | | ||
aws batch submit-job \ | ||
--region eu-west-1 \ | ||
--job-name nf-core-bacass \ | ||
--job-queue $AWS_JOB_QUEUE \ | ||
--job-definition $AWS_JOB_DEFINITION \ | ||
--container-overrides '{"command": ["nf-core/bacass", "-r '"${GITHUB_SHA}"' -profile test --outdir s3://'"${AWS_S3_BUCKET}"'/bacass/results-'"${GITHUB_SHA}"' -w s3://'"${AWS_S3_BUCKET}"'/bacass/work-'"${GITHUB_SHA}"' -with-tower"], "environment": [{"name": "TOWER_ACCESS_TOKEN", "value": "'"$TOWER_ACCESS_TOKEN"'"}]}' | ||
|
||
with: | ||
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }} | ||
bearer_token: ${{ secrets.TOWER_BEARER_TOKEN }} | ||
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }} | ||
pipeline: ${{ github.repository }} | ||
revision: ${{ github.sha }} | ||
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/bacass/work-${{ github.sha }} | ||
parameters: | | ||
{ | ||
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/bacass/results-${{ github.sha }}" | ||
} | ||
profiles: '[ "test_full", "aws_tower" ]' | ||
|
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,38 +1,28 @@ | ||
name: nf-core AWS test | ||
# This workflow is triggered on push to the master branch. | ||
# It can be additionally triggered manually with GitHub actions workflow dispatch. | ||
# It runs the -profile 'test' on AWS batch. | ||
# This workflow can be triggered manually with the GitHub actions workflow dispatch button. | ||
# It runs the -profile 'test' on AWS batch | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run-awstest: | ||
run-tower: | ||
name: Run AWS tests | ||
if: github.repository == 'nf-core/bacass' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup Miniconda | ||
uses: goanpeca/setup-miniconda@v1.0.2 | ||
- name: Launch workflow via tower | ||
uses: nf-core/tower-action@master | ||
|
||
with: | ||
auto-update-conda: true | ||
python-version: 3.7 | ||
- name: Install awscli | ||
run: conda install -c conda-forge awscli | ||
- name: Start AWS batch job | ||
# For example: adding multiple test runs with different parameters | ||
# Remember that you can parallelise this by using strategy.matrix | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
TOWER_ACCESS_TOKEN: ${{ secrets.AWS_TOWER_TOKEN }} | ||
AWS_JOB_DEFINITION: ${{ secrets.AWS_JOB_DEFINITION }} | ||
AWS_JOB_QUEUE: ${{ secrets.AWS_JOB_QUEUE }} | ||
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }} | ||
run: | | ||
aws batch submit-job \ | ||
--region eu-west-1 \ | ||
--job-name nf-core-bacass \ | ||
--job-queue $AWS_JOB_QUEUE \ | ||
--job-definition $AWS_JOB_DEFINITION \ | ||
--container-overrides '{"command": ["nf-core/bacass", "-r '"${GITHUB_SHA}"' -profile test --outdir s3://'"${AWS_S3_BUCKET}"'/bacass/results-'"${GITHUB_SHA}"' -w s3://'"${AWS_S3_BUCKET}"'/bacass/work-'"${GITHUB_SHA}"' -with-tower"], "environment": [{"name": "TOWER_ACCESS_TOKEN", "value": "'"$TOWER_ACCESS_TOKEN"'"}]}' | ||
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }} | ||
bearer_token: ${{ secrets.TOWER_BEARER_TOKEN }} | ||
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }} | ||
pipeline: ${{ github.repository }} | ||
revision: ${{ github.sha }} | ||
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/bacass/work-${{ github.sha }} | ||
parameters: | | ||
{ | ||
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/bacass/results-${{ github.sha }}" | ||
} | ||
profiles: '[ "test", "aws_tower" ]' | ||
|
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.