Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nf-core/demultiplex
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrtalbot committed Jun 5, 2023
2 parents cb01e68 + 8709f05 commit 81241a9
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
{
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/demultiplex/results-${{ github.sha }}"
}
profiles: test_full,aws_tower
profiles: test_full,public_aws_ecr,aws_tower
- uses: actions/upload-artifact@v3
with:
name: Tower debug log file
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
{
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/demultiplex/results-test-${{ github.sha }}"
}
profiles: test,aws_tower
profiles: test,public_aws_ecr,aws_tower
- uses: actions/upload-artifact@v3
with:
name: Tower debug log file
Expand Down
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## dev
## 1.3.0 - 2023-05-31

### `Added`

- Add `public_aws_ecr` profile for using ECR containers.
- Bump `fastp` module to v0.23.4

### `Changed`

- [#113](https://github.com/nf-core/demultiplex/pull/113) Back to dev
- [#115](https://github.com/nf-core/demultiplex/pull/115/files) Add public_aws_ecr profile

### `Fixed`

Expand Down
30 changes: 30 additions & 0 deletions conf/public_aws_ecr.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AWS ECR Config
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Config to set public AWS ECR images wherever possible
This improves speed when running on AWS infrastructure.
Use this as an example template when using your own private registry.
----------------------------------------------------------------------------------------
*/

docker.registry = 'public.ecr.aws'
podman.registry = 'public.ecr.aws'

process {
withName: 'BASES2FASTQ' {
container = 'docker.io/elembio/bases2fastq:1.1.0'
}
withName: 'BCL2FASTQ' {
container = 'docker.io/nfcore/bcl2fastq:2.20.0.422'
}
withName: 'BCLCONVERT' {
container = 'docker.io/nfcore/bclconvert:4.0.3'
}
withName: 'MD5SUM' {
container = 'docker.io/library/ubuntu:20.04'
}
withName: 'UNTAR' {
container = 'docker.io/library/ubuntu:20.04'
}
}
6 changes: 3 additions & 3 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"fastp": {
"branch": "master",
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
"git_sha": "d497a4868ace3302016ea8ed4b395072d5e833cd",
"installed_by": ["modules"]
},
"fqtk": {
Expand All @@ -42,7 +42,7 @@
},
"md5sum": {
"branch": "master",
"git_sha": "38b16706fa3a9d4ee2bf46fa5805e7397e275cdd",
"git_sha": "5c460c5a4736974abde2843294f35307ee2b0e5e",
"installed_by": ["modules"]
},
"multiqc": {
Expand All @@ -57,7 +57,7 @@
},
"untar": {
"branch": "master",
"git_sha": "38b16706fa3a9d4ee2bf46fa5805e7397e275cdd",
"git_sha": "5c460c5a4736974abde2843294f35307ee2b0e5e",
"installed_by": ["modules", "bcl_demultiplex"]
}
}
Expand Down
6 changes: 3 additions & 3 deletions modules/nf-core/fastp/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/md5sum/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/untar/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ profiles {
executor.cpus = 16
executor.memory = 60.GB
}
public_aws_ecr {
includeConfig 'conf/public_aws_ecr.config'
}
test { includeConfig 'conf/test.config' }
test_bases2fastq { includeConfig 'conf/test_bases2fastq.config' }
test_bcl2fastq { includeConfig 'conf/test_bcl2fastq.config' }
Expand All @@ -193,6 +196,12 @@ env {
// Capture exit codes from upstream processes when piping
process.shell = ['/bin/bash', '-euo', 'pipefail']

// Set default registry for Docker and Podman independent of -profile
// Will not be used unless Docker / Podman are enabled
// Set to your registry if you have a mirror of containers
docker.registry = 'quay.io'
podman.registry = 'quay.io'

def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
timeline {
enabled = true
Expand All @@ -218,7 +227,7 @@ manifest {
description = """Demultiplexing pipeline for Illumina sequencing data"""
mainScript = 'main.nf'
nextflowVersion = '!>=22.10.1'
version = '1.3.0dev'
version = '1.3.0'
doi = '10.5281/zenodo.7153103'
}

Expand Down

0 comments on commit 81241a9

Please sign in to comment.