Skip to content

Commit 7971d89

Browse files
authored
Merge pull request #594 from nf-core/patch-2.2.1
Patch 2.2.1
2 parents b1ae5ad + 8ad3437 commit 7971d89

12 files changed

Lines changed: 278 additions & 222 deletions

File tree

.dockstore.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/awstest.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ name: nf-core AWS test
44
# It runs the -profile 'test' on AWS batch.
55

66
on:
7-
push:
8-
branches:
9-
- master
107
workflow_dispatch:
118

129
jobs:

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ jobs:
3434
3535
- name: Build new docker image
3636
if: env.GIT_DIFF
37-
run: docker build --no-cache . -t nfcore/eager:2.2.0
37+
run: docker build --no-cache . -t nfcore/eager:2.2.1
3838

3939
- name: Pull docker image
4040
if: ${{ !env.GIT_DIFF }}
4141
run: |
4242
docker pull nfcore/eager:dev
43-
docker tag nfcore/eager:dev nfcore/eager:2.2.0
43+
docker tag nfcore/eager:dev nfcore/eager:2.2.1
4444
4545
- name: Install Nextflow
4646
run: |

CHANGELOG.md

Lines changed: 188 additions & 177 deletions
Large diffs are not rendered by default.

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nfcore/base:1.10.2
1+
FROM nfcore/base:1.11
22
LABEL authors="The nf-core/eager community" \
33
description="Docker image containing all software requirements for the nf-core/eager pipeline"
44

@@ -7,10 +7,10 @@ COPY environment.yml /
77
RUN conda env create --quiet -f /environment.yml && conda clean -a
88

99
# Add conda installation dir to PATH (instead of doing 'conda activate')
10-
ENV PATH /opt/conda/envs/nf-core-eager-2.2.0/bin:$PATH
10+
ENV PATH /opt/conda/envs/nf-core-eager-2.2.1/bin:$PATH
1111

1212
# Dump the details of the installed packages to a file for posterity
13-
RUN conda env export --name nf-core-eager-2.2.0 > nf-core-eager-2.2.0.yml
13+
RUN conda env export --name nf-core-eager-2.2.1 > nf-core-eager-2.2.1.yml
1414

1515
# Instruct R processes to use these empty files instead of clashing with a local version
1616
RUN touch .Rprofile
-226 Bytes
Loading

docs/images/usage/merging_files.svg

Lines changed: 58 additions & 27 deletions
Loading

docs/usage.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060

6161
<!-- /TOC -->
6262

63+
## Introduction
64+
6365
## Running the pipeline
6466

6567
### Quick Start
@@ -735,6 +737,10 @@ If you want to use pre-existing `bwa index` indices, please supply the
735737
nf-core/eager will automagically detect the index files by searching for the
736738
FASTA filename with the corresponding `bwa` index file suffixes.
737739

740+
> :warning: pre-built indices must currently be built on non-gzipped FASTA files
741+
> due to limitations of `samtools`. However once indices have been built, you
742+
> can re-gzip the FASTA file as nf-core will unzip this particular file for you.
743+
738744
For example:
739745

740746
```bash
@@ -756,6 +762,10 @@ If you want to use pre-existing `bt2 index` indices, please supply the
756762
nf-core/eager will automagically detect the index files by searching for the
757763
FASTA filename with the corresponding `bt2` index file suffixes.
758764

765+
> :warning: pre-built indices must currently be built on non-gzipped FASTA files
766+
> due to limitations of `samtools`. However once indices have been built, you
767+
> can re-gzip the FASTA file as nf-core will unzip this particular file for you.
768+
759769
For example:
760770

761771
```bash
@@ -789,6 +799,10 @@ If you want to use a pre-existing `picard CreateSequenceDictionary` dictionary
789799
file, use this to specify the required `.dict` file for the selected reference
790800
genome.
791801

802+
> :warning: pre-built indices must currently be built on non-gzipped FASTA files
803+
> due to limitations of `samtools`. However once indices have been built, you
804+
> can re-gzip the FASTA file as nf-core will unzip this particular file for you.
805+
792806
For example:
793807

794808
```bash
@@ -2382,7 +2396,7 @@ profiles {
23822396
big_data {
23832397
process {
23842398
withName: markduplicates {
2385-
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
2399+
memory = 16.GB
23862400
}
23872401
}
23882402
}
@@ -2393,6 +2407,12 @@ Where we have increased the default `4.GB` to `16.GB`. Make sure that you keep
23932407
the `check_max` function, as this prevents your run asking for too much memory
23942408
during retries.
23952409

2410+
> Note that with this you will _not_ have the automatic retry mechanism. If
2411+
> you want this, re-add the `check_max()` function on the `memory` line, and
2412+
> add to the bottom of the entire file (outside the profiles block), the
2413+
> block starting `def check_max(obj, type) {`, which is at the end of the
2414+
> [nextflow.config file](https://github.com/nf-core/eager/blob/master/nextflow.config)
2415+
23962416
Once saved, we can then modify your original Nextflow run command:
23972417

23982418
```bash

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: nf-core-eager-2.2.0
1+
name: nf-core-eager-2.2.1
22
channels:
33
- conda-forge
44
- bioconda

main.nf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ if( params.bt2_index != '' && params.mapper == 'bowtie2' ){
348348
.into {bt2_index; bt2_index_bwamem}
349349

350350
bwa_index = Channel.empty()
351+
bwa_index_bwamem = Channel.empty()
351352
}
352353

353354
// Validate BAM input isn't set to paired_end
@@ -855,6 +856,7 @@ if( params.bwa_index == '' && !params.fasta.isEmpty() && (params.mapper == 'bwaa
855856
mkdir BWAIndex && mv ${fasta}* BWAIndex
856857
"""
857858
}
859+
858860
bt2_index = Channel.empty()
859861
}
860862

0 commit comments

Comments
 (0)