Skip to content

Commit a281d22

Browse files
authored
Merge pull request #49 from nf-core/dev
Get latest changes
2 parents 9219070 + f2c0750 commit a281d22

90 files changed

Lines changed: 34687 additions & 3880 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,28 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
110
# nf-core/eager bug report
211

312
Hi there!
413

514
Thanks for telling us about a problem with the pipeline.
6-
Please delete this text and anything that's not relevant from the template below:
15+
16+
## Check Documentation
17+
18+
Have you checked in the following places for your error?:
19+
- [ ] [Frequently Asked Questions](https://nf-co.re/eager/docs/faq)
20+
(for nf-core/eager specific information)
21+
- [ ] [Troubleshooting](https://nf-co.re/usage/troubleshooting)
22+
(for nf-core specific information)
23+
24+
Please also check the the corresponding branch documentation on github, if not
25+
testing the latest release.
726

827
## Describe the bug
928

@@ -20,6 +39,12 @@ Steps to reproduce the behaviour:
2039

2140
A clear and concise description of what you expected to happen.
2241

42+
## Log files
43+
44+
1. The command use to run the pipeline
45+
2. The `.nextflow.log` file (which a hidden file in which ever place you _ran_
46+
the pipeline from - not necessarily the output directory!)
47+
2348
## System
2449

2550
- Hardware: <!-- [e.g. HPC, Desktop, Cloud...] -->

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
110
# nf-core/eager feature request
211

312
Hi there!
413

514
Thanks for suggesting a new feature for the pipeline!
6-
Please delete this text and anything that's not relevant from the template below:
715

816
## Is your feature request related to a problem? Please describe
917

.github/markdownlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ no-inline-html:
77
allowed_elements:
88
- img
99
- p
10+
- kbd

.github/workflows/awsfulltest.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: nf-core AWS full test
2+
# This workflow is triggered on push to the master branch and on published releases.
3+
# It runs the -profile 'test_full' on AWS batch
4+
5+
on:
6+
release:
7+
types: [published]
8+
9+
jobs:
10+
run-awstest:
11+
if: github.repository == 'nf-core/eager'
12+
name: Run AWS full tests
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Setup Miniconda
16+
uses: goanpeca/setup-miniconda@v1.0.2
17+
with:
18+
auto-update-conda: true
19+
python-version: 3.7
20+
- name: Install awscli
21+
run: conda install -c conda-forge awscli
22+
- name: Start AWS batch job
23+
# Add full size test data (but still relatively small datasets for few samples)
24+
# on the `test_full.config` test runs with only one set of parameters
25+
# Then specify `-profile test_full` instead of `-profile test` on the AWS batch command
26+
env:
27+
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
28+
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
29+
TOWER_ACCESS_TOKEN: ${{secrets.AWS_TOWER_TOKEN}}
30+
AWS_JOB_DEFINITION: ${{secrets.AWS_JOB_DEFINITION}}
31+
AWS_JOB_QUEUE: ${{secrets.AWS_JOB_QUEUE}}
32+
AWS_S3_BUCKET: ${{secrets.AWS_S3_BUCKET}}
33+
run: |
34+
aws batch submit-job \
35+
--region eu-west-1 \
36+
--job-name nf-core-eager \
37+
--job-queue $AWS_JOB_QUEUE \
38+
--job-definition $AWS_JOB_DEFINITION \
39+
--container-overrides '{"command": ["nf-core/eager", "-r '"${GITHUB_SHA}"' -profile test_full --outdir s3://'"${AWS_S3_BUCKET}"'/eager/results-'"${GITHUB_SHA}"' -w s3://'"${AWS_S3_BUCKET}"'/eager/work-'"${GITHUB_SHA}"' -with-tower"], "environment": [{"name": "TOWER_ACCESS_TOKEN", "value": "'"$TOWER_ACCESS_TOKEN"'"}]}'

.github/workflows/awstest.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: nf-core AWS test
2+
# This workflow is triggered on push to the master branch and on published releases.
3+
# It runs the -profile 'test_tsv' on AWS batch
4+
5+
on:
6+
push:
7+
branches:
8+
- master
9+
10+
jobs:
11+
run-awstest:
12+
if: github.repository == 'nf-core/eager'
13+
name: Run AWS test
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Setup Miniconda
17+
uses: goanpeca/setup-miniconda@v1.0.2
18+
with:
19+
auto-update-conda: true
20+
python-version: 3.7
21+
- name: Install awscli
22+
run: conda install -c conda-forge awscli
23+
- name: Start AWS batch job
24+
env:
25+
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
26+
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
27+
TOWER_ACCESS_TOKEN: ${{secrets.AWS_TOWER_TOKEN}}
28+
AWS_JOB_DEFINITION: ${{secrets.AWS_JOB_DEFINITION}}
29+
AWS_JOB_QUEUE: ${{secrets.AWS_JOB_QUEUE}}
30+
AWS_S3_BUCKET: ${{secrets.AWS_S3_BUCKET}}
31+
run: |
32+
aws batch submit-job \
33+
--region eu-west-1 \
34+
--job-name nf-core-eager \
35+
--job-queue $AWS_JOB_QUEUE \
36+
--job-definition $AWS_JOB_DEFINITION \
37+
--container-overrides '{"command": ["nf-core/eager", "-r '"${GITHUB_SHA}"' -profile test_tsv --outdir s3://'"${AWS_S3_BUCKET}"'/eager/results-'"${GITHUB_SHA}"' -w s3://'"${AWS_S3_BUCKET}"'/eager/work-'"${GITHUB_SHA}"' -with-tower"], "environment": [{"name": "TOWER_ACCESS_TOKEN", "value": "'"$TOWER_ACCESS_TOKEN"'"}]}'

0 commit comments

Comments
 (0)