Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
3476908
Dev version bump to 2.3.0dev
jfy133 Oct 21, 2020
f2a326d
Merge pull request #588 from nf-core/master
jfy133 Oct 22, 2020
1827383
Template update for nf-core/tools version 1.11
nf-core-bot Oct 27, 2020
38d2b38
Merge branch 'dev' into TEMPLATE
jfy133 Oct 27, 2020
a0fe453
Linting
jfy133 Oct 27, 2020
f5f62af
Linting
jfy133 Oct 27, 2020
21a4400
Merge pull request #595 from nf-core/TEMPLATE
apeltzer Oct 28, 2020
ff7b8f6
Apparently we are big fans of Irina...
jfy133 Oct 30, 2020
22f90a9
Update usage.md
TCLamnidis Oct 30, 2020
a99ce04
Merge pull request #599 from nf-core/TCLamnidis-patch-1
TCLamnidis Oct 30, 2020
561e2a3
fix aws full test profiles
ggabernet Nov 1, 2020
dcae01e
remove awsfulltest config
ggabernet Nov 1, 2020
8b41ab8
Merge pull request #600 from ggabernet/dev
apeltzer Nov 2, 2020
81d96be
Add stress-test profile
jfy133 Nov 3, 2020
fb5d671
fix param typo
jfy133 Nov 4, 2020
e13f80b
Reset 2.2.1 back up to dev
jfy133 Nov 4, 2020
c073895
Update CHANGELOG.md
jfy133 Nov 4, 2020
e8e693e
Push back up to 2.3
jfy133 Nov 4, 2020
9be472b
Bump back up to 2.3.0dev
jfy133 Nov 4, 2020
31f9e0e
Update nextflow.config
jfy133 Nov 4, 2020
4051c61
Remove Irina duplicate
jfy133 Nov 4, 2020
916ae4b
Merge branch 'dev' into master-to-dev
jfy133 Nov 4, 2020
e0f2a88
Typo
jfy133 Nov 4, 2020
a6348fc
Merge pull request #603 from nf-core/master-to-dev
jfy133 Nov 4, 2020
9c1d7e4
Update test_stresstest_human.config
apeltzer Nov 5, 2020
b3d742c
Really long walltimes!
jfy133 Nov 6, 2020
60b11ff
Reimplement AdapterRemovalFixPrefix so DeDup can work properly when s…
jfy133 Nov 6, 2020
2232c2c
Update test_stresstest_human.config
jfy133 Nov 9, 2020
a706788
Fixredirectg for FixPrefix commands
jfy133 Nov 9, 2020
80f263f
Merge pull request #604 from nf-core/adapterremoval-prefix-fix
jfy133 Nov 9, 2020
a6c0100
Try reducing memory requirements and always errorStrategy on retry
jfy133 Nov 12, 2020
ede77f7
Add eager2 metromap
jfy133 Nov 12, 2020
ad86ab2
Merge pull request #606 from nf-core/jfy133-patch-1
jfy133 Nov 12, 2020
25a70d6
Remove GATK manual Jar specification and drop version for next patch
jfy133 Nov 13, 2020
91721d3
Remove leftover run:
jfy133 Nov 13, 2020
eea2dd0
Actually remove use of the jars :facepalm:
jfy133 Nov 13, 2020
2666385
Update usage.md
jfy133 Nov 13, 2020
dbca8ea
Update nextflow_schema.json
jfy133 Nov 13, 2020
85c853a
Clarified merging details in TSV input section
scarlhoff Nov 13, 2020
1d7162e
Update test_stresstest_human.config
jfy133 Nov 16, 2020
d67d0dc
Update nextflow_schema.json
jfy133 Nov 16, 2020
5105f16
Merge pull request #611 from scarlhoff/dev
jfy133 Nov 16, 2020
6d6cef3
Update README.md
jfy133 Nov 16, 2020
9217a24
Fix link for Selina
jfy133 Nov 16, 2020
b767519
Fix circularmapper error reported in https://github.com/nf-core/eager…
jfy133 Nov 16, 2020
d5aff01
Merge pull request #613 from nf-core/circular-mapper-fix
apeltzer Nov 16, 2020
13687a5
Merge branch 'dev' into gatk3
jfy133 Nov 16, 2020
f3c8be4
Fix GHA fails due to deprecated variables
jfy133 Nov 17, 2020
cf20fcb
Merge branch 'gatk3' of github.com:nf-core/eager into gatk3
jfy133 Nov 17, 2020
23be10d
Merge pull request #609 from nf-core/gatk3
apeltzer Nov 17, 2020
9e1f30b
Template update for nf-core/tools version 1.12
jfy133 Nov 30, 2020
e630cd9
Manual Template merge to tools 1.12
jfy133 Nov 30, 2020
5f60d08
Linting fixes
jfy133 Nov 30, 2020
7992d07
Update CHANGELOG.md
jfy133 Nov 30, 2020
4680f3e
Moar linting
jfy133 Nov 30, 2020
aa83851
Bump retries
jfy133 Dec 1, 2020
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
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ These tests are run both with the latest available version of `Nextflow` and als

## Getting help

For further information/help, please consult the [nf-core/eager documentation](https://nf-co.re/eager/latest/usage) and don't hesitate to get in touch on the nf-core Slack [#eager](https://nfcore.slack.com/channels/eager) channel ([join our Slack here](https://nf-co.re/join/slack)).
For further information/help, please consult the [nf-core/eager documentation](https://nf-co.re/eager/usage) and don't hesitate to get in touch on the nf-core Slack [#eager](https://nfcore.slack.com/channels/eager) channel ([join our Slack here](https://nf-co.re/join/slack)).

# Code Contribution Guidelines

Expand Down
32 changes: 17 additions & 15 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# nf-core/eager bug report
---
name: Bug report
about: Report something that is broken or incorrect
labels: bug
---

<!--
# nf-core/eager bug report

Hi there!

Thanks for telling us about a problem with the pipeline.

Please delete this text and anything that's not relevant from the template below:
-->

Expand All @@ -17,12 +22,9 @@ Have you checked in the following places for your error?:
- [ ] [Troubleshooting](https://nf-co.re/usage/troubleshooting)
(for nf-core specific information)

Please also check the the corresponding version's documentation on github, if not
testing the latest release.

## Describe the bug
## Description of the bug

A clear and concise description of what the bug is.
<!-- A clear and concise description of what the bug is. -->

## Steps to reproduce

Expand All @@ -33,13 +35,13 @@ Steps to reproduce the behaviour:

## Expected behaviour

A clear and concise description of what you expected to happen.
<!-- A clear and concise description of what you expected to happen. -->

## Log files

1. The command used to run the pipeline
2. The `.nextflow.log` file (which is a hidden file in whichever place you _ran_
the pipeline from - not necessarily in the output directory!)
1. Command line: <!-- [e.g. `nextflow run ...`] -->
2. The `.nextflow.log` file (which is a hidden file in whichever place you _ran_ the pipeline from - not necessarily in the output directory!)
3. See error: <!-- [Please provide your error message] -->

## System

Expand All @@ -54,10 +56,10 @@ A clear and concise description of what you expected to happen.

## Container engine

- Engine: <!-- [e.g. Conda, Docker or Singularity] -->
- version: <!-- [e.g. 2.1.0] -->
- Image tag: <!-- [e.g. nfcore/eager:2.1.0] -->
- Engine: <!-- [e.g. Conda, Docker, Singularity or Podman] -->
- version: <!-- [e.g. 1.0.0] -->
- Image tag: <!-- [e.g. nfcore/eager:1.0.0] -->

## Additional context

Add any other context about the problem here.
<!-- Add any other context about the problem here. -->
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
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 #eager channel"
url: https://nfcore.slack.com/channels/eager
about: Discussion about the nf-core/eager pipeline
8 changes: 7 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# nf-core/eager feature request
---
name: Feature request
about: Suggest an idea for the nf-core website
labels: enhancement
---

<!--
# nf-core/eager feature request

Hi there!

Expand Down
6 changes: 5 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# nf-core/eager pull request
<!--
# nf-core/eager pull request

Many thanks for contributing to nf-core/eager!

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/eager/tree/master/.github/CONTRIBUTING.md)
-->

## PR checklist
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ name: nf-core AWS full size tests
# It runs the -profile 'test_full' on AWS batch

on:
release:
types: [published]
workflow_run:
workflows: ["nf-core Docker push (release)"]
types: [completed]
workflow_dispatch:

jobs:
Expand All @@ -15,13 +16,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Miniconda
uses: goanpeca/setup-miniconda@v1.0.2
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.7
- name: Install awscli
run: conda install -c conda-forge awscli
- name: Start AWS batch job
# TODO nf-core: You can customise AWS full pipeline tests as required
# 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
Expand All @@ -38,4 +40,4 @@ jobs:
--job-name nf-core-eager \
--job-queue $AWS_JOB_QUEUE \
--job-definition $AWS_JOB_DEFINITION \
--container-overrides '{"command": ["nf-core/eager", "-r '"${GITHUB_SHA}"' -profile awsfulltest --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"'"}]}'
--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"'"}]}'
2 changes: 1 addition & 1 deletion .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Miniconda
uses: goanpeca/setup-miniconda@v1.0.2
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: nf-core branch protection
# This workflow is triggered on PRs to master branch on the repository
# It fails when someone tries to make a PR against the nf-core `master` branch instead of `dev`
on:
pull_request:
pull_request_target:
branches: [master]

jobs:
Expand Down
27 changes: 11 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,25 @@ jobs:
uses: actions/checkout@v2

- name: Check if Dockerfile or Conda environment changed
uses: technote-space/get-diff-action@v1
uses: technote-space/get-diff-action@v4
with:
PREFIX_FILTER: |
FILES: |
Dockerfile
environment.yml

- name: Build new docker image
if: env.GIT_DIFF
run: docker build --no-cache . -t nfcore/eager:2.2.1
if: env.MATCHED_FILES
run: docker build --no-cache . -t nfcore/eager:dev

- name: Pull docker image
if: ${{ !env.GIT_DIFF }}
if: ${{ !env.MATCHED_FILES }}
run: |
docker pull nfcore/eager:dev
docker tag nfcore/eager:dev nfcore/eager:2.2.1
docker tag nfcore/eager:dev nfcore/eager:dev

- name: Install Nextflow
env:
CAPSULE_LOG: none
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
Expand Down Expand Up @@ -142,22 +144,15 @@ jobs:
- name: PMDTOOLS Test PMDtools works alone
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_pmdtools
- name: GATK 3.5 Download resource files
run: |
mkdir -p jars/gatk_3_5
wget https://storage.googleapis.com/gatk-software/package-archive/gatk/GenomeAnalysisTK-3.5-0-g36282e4.tar.bz2 -P jars/gatk_3_5
tar xvf jars/gatk_3_5/GenomeAnalysisTK-3.5-0-g36282e4.tar.bz2 -C jars/gatk_3_5/
chmod +x jars/gatk_3_5/GenomeAnalysisTK.jar
GATK_JAR=$(readlink -f jars/gatk_3_5/GenomeAnalysisTK.jar)
- name: GENOTYPING_UG AND MULTIVCFANALYZER Test running GATK UnifiedGenotyper and MultiVCFAnalyzer, additional VCFS
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_genotyping --gatk_ug_jar '/home/runner/work/eager/eager/jars/gatk_3_5/GenomeAnalysisTK.jar' --genotyping_tool 'ug' --gatk_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP' --run_multivcfanalyzer --additional_vcf_files 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/testdata/Mammoth/vcf/JK2772_CATCAGTGAGTAGA_L008_R1_001.fastq.gz.tengrand.fq.combined.fq.mapped_rmdup.bam.unifiedgenotyper.vcf.gz' --write_allele_frequencies
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_genotyping --genotyping_tool 'ug' --gatk_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP' --run_multivcfanalyzer --additional_vcf_files 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/testdata/Mammoth/vcf/JK2772_CATCAGTGAGTAGA_L008_R1_001.fastq.gz.tengrand.fq.combined.fq.mapped_rmdup.bam.unifiedgenotyper.vcf.gz' --write_allele_frequencies
- name: COMPLEX LANE/LIBRARY MERGING Test running lane and library merging prior to GATK UnifiedGenotyper and running MultiVCFAnalyzer
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv_complex,docker --run_genotyping --gatk_ug_jar '/home/runner/work/eager/eager/jars/gatk_3_5/GenomeAnalysisTK.jar' --genotyping_tool 'ug' --gatk_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP' --run_multivcfanalyzer
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv_complex,docker --run_genotyping --genotyping_tool 'ug' --gatk_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP' --run_multivcfanalyzer
- name: GENOTYPING_UG ON TRIMMED BAM Test
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_genotyping --run_trim_bam --genotyping_source 'trimmed' --gatk_ug_jar '/home/runner/work/eager/eager/jars/gatk_3_5/GenomeAnalysisTK.jar' --genotyping_tool 'ug' --gatk_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP'
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_genotyping --run_trim_bam --genotyping_source 'trimmed' --genotyping_tool 'ug' --gatk_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP'
- name: BAM_INPUT Run the basic pipeline with the bam input profile, skip AdapterRemoval as no convertBam
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv_bam,docker --skip_adapterremoval
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ jobs:
uses: actions/checkout@v2

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

- uses: actions/setup-python@v1
with:
python-version: '3.6'
Expand All @@ -55,12 +58,19 @@ jobs:
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 ${GITHUB_WORKSPACE}
run: nf-core -l lint_log.txt lint ${GITHUB_WORKSPACE} --markdown lint_results.md

- name: Save PR number
if: ${{ always() }}
run: echo ${{ github.event.pull_request.number }} > PR_number.txt

- name: Upload linting log file artifact
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: linting-log-file
path: lint_log.txt
path: |
lint_log.txt
lint_results.md
PR_number.txt

29 changes: 29 additions & 0 deletions .github/workflows/linting_comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

name: nf-core linting comment
# This workflow is triggered after the linting action is complete
# It posts an automated comment to the PR, even if the PR is coming from a fork

on:
workflow_run:
workflows: ["nf-core linting"]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Download lint results
uses: dawidd6/action-download-artifact@v2
with:
workflow: linting.yml

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

- name: Post PR comment
uses: marocchino/sticky-pull-request-comment@v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
number: ${{ steps.pr_number.outputs.pr_number }}
path: linting-logs/lint_results.md

28 changes: 28 additions & 0 deletions .github/workflows/push_dockerhub_dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: nf-core Docker push (dev)
# This builds the docker image and pushes it to DockerHub
# Runs on nf-core repo releases and push event to 'dev' branch (PR merges)
on:
push:
branches:
- dev

jobs:
push_dockerhub:
name: Push new Docker image to Docker Hub (dev)
runs-on: ubuntu-latest
# Only run for the nf-core repo, for releases and merged PRs
if: ${{ github.repository == 'nf-core/eager' }}
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASS: ${{ secrets.DOCKERHUB_PASS }}
steps:
- name: Check out pipeline code
uses: actions/checkout@v2

- name: Build new docker image
run: docker build --no-cache . -t nfcore/eager:dev

- name: Push Docker image to DockerHub (dev)
run: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push nfcore/eager:dev
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
name: nf-core Docker push
name: nf-core Docker push (release)
# This builds the docker image and pushes it to DockerHub
# Runs on nf-core repo releases and push event to 'dev' branch (PR merges)
on:
push:
branches:
- dev
release:
types: [published]

jobs:
push_dockerhub:
name: Push new Docker image to Docker Hub
name: Push new Docker image to Docker Hub (release)
runs-on: ubuntu-latest
# Only run for the nf-core repo, for releases and merged PRs
if: ${{ github.repository == 'nf-core/eager' }}
Expand All @@ -24,15 +21,7 @@ jobs:
- name: Build new docker image
run: docker build --no-cache . -t nfcore/eager:latest

- name: Push Docker image to DockerHub (dev)
if: ${{ github.event_name == 'push' }}
run: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker tag nfcore/eager:latest nfcore/eager:dev
docker push nfcore/eager:dev

- name: Push Docker image to DockerHub (release)
if: ${{ github.event_name == 'release' }}
run: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push nfcore/eager:latest
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ results/
.DS_Store
tests/
testing/
testing*
*.pyc
main_playground.nf
.vscode
*.code-workspace
nf-params.json
nf-params.json
20 changes: 18 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
# nf-core/eager: Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [2.2.2dev] - Unreleased

### `Added`

- Added large scale 'stress-test' profile for AWS (using de Barros Damgaard et al. 2018's 137 ancient human genomes)

### `Fixed`

- Fixed AWS full test profile.
- [#587](https://github.com/nf-core/eager/issues/587) - Re-implemented AdapterRemovalFixPrefix for DeDup compatibility of including singletons
- [#602](https://github.com/nf-core/eager/issues/602) - Added the newly avaliable GATK 3.5 conda package.
- [#610](https://github.com/nf-core/eager/issues/610) - Create bwa_index channel when specifying circularmapper as mapper
- Updated template to nf-core/tools 1.12

### `Deprecated`

- Flag `--gatk_ug_jar` has now been removed as GATK 3.5 is now avaliable within the nf-core/eager software environment.

## [2.2.1] - 2020-10-20

### `Fixed`
Expand Down
Loading