Skip to content

Commit 2786af3

Browse files
authored
Merge pull request #134 from nf-core/dev
PR release 2.0.5
2 parents 02ed5a7 + deed532 commit 2786af3

13 files changed

Lines changed: 296 additions & 138 deletions

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ before_install:
1313
# Pull the docker image first so the test doesn't wait for this
1414
- docker pull nfcore/eager:dev
1515
# Fake the tag locally so that the pipeline runs properly
16-
- docker tag nfcore/eager:dev nfcore/eager:2.0.4
16+
- docker tag nfcore/eager:dev nfcore/eager:2.0.5
1717

1818
install:
1919
# Install Nextflow
@@ -39,16 +39,16 @@ script:
3939
# Run the basic pipeline with the test profile
4040
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --saveReference
4141
# Run the basic pipeline with single end data (pretending its single end actually)
42-
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --singleEnd --bwa_index results/reference_genome/bwa_index/
42+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --singleEnd --bwa_index results/reference_genome/bwa_index/bwa_index/
4343
# Run the same pipeline testing optional step: fastp, complexity
44-
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --complexity_filter --bwa_index results/reference_genome/bwa_index/
44+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --complexity_filter --bwa_index results/reference_genome/bwa_index/bwa_index/
4545
# Test BAM Trimming
46-
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --trim_bam --bwa_index results/reference_genome/bwa_index/
46+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --trim_bam --bwa_index results/reference_genome/bwa_index/bwa_index/
4747
# Test running with CircularMapper
4848
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --circularmapper --circulartarget 'NC_007596.2'
4949
# Test running with BWA Mem
50-
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --bwamem --bwa_index results/reference_genome/bwa_index/
50+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --bwamem --bwa_index results/reference_genome/bwa_index/bwa_index/
5151
# Test with zipped reference input
5252
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --fasta 'https://raw.githubusercontent.com/nf-core/test-datasets/eager2/reference/Test.fasta.gz'
53-
# Test basic pipeline with Conda too
54-
- travis_wait 25 nextflow run ${TRAVIS_BUILD_DIR} -profile test,conda --pairedEnd --bwa_index results/reference_genome/bwa_index/
53+
# Run the basic pipeline with the bam input profile
54+
- nextflow run ${TRAVIS_BUILD_DIR} -profile testbam,docker --bam

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unpublished / Dev Branch]
88

9+
## [2.0.5] - 2019-01-28
10+
11+
### `Added`
12+
* [#127](https://github.com/nf-core/eager/pull/127) - Added a second testcase for testing the pipeline properly
13+
* [#129](https://github.com/nf-core/eager/pull/129) - Support BAM files as [input format](https://github.com/nf-core/eager/issues/41)
14+
* [#131](https://github.com/nf-core/eager/pull/131) - Support different [reference genome file extensions](https://github.com/nf-core/eager/issues/130)
15+
16+
### `Fixed`
17+
* [#128](https://github.com/nf-core/eager/issues/128) - Fixed reference genome handling errors
18+
19+
### `Dependencies`
20+
* Picard Tools 2.18.21 -> 2.18.23
21+
* R-Markdown 1.10 -> 1.11
22+
* FastP 0.19.5 -> 0.19.6
23+
924
## [2.0.4] - 2019-01-09
1025

1126
### `Added`

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ FROM nfcore/base
33
LABEL description="Docker image containing all requirements for nf-core/eager pipeline"
44
COPY environment.yml /
55
RUN conda env create -f /environment.yml && conda clean -a
6-
ENV PATH /opt/conda/envs/nf-core-eager-2.0.4/bin:$PATH
6+
ENV PATH /opt/conda/envs/nf-core-eager-2.0.5/bin:$PATH

Singularity

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Bootstrap:docker
44
%labels
55
MAINTAINER Alexander Peltzer <alexander.peltzer@qbic.uni-tuebingen.de>
66
DESCRIPTION Container image containing all requirements for the nf-core/eager pipeline
7-
VERSION 2.0.4
7+
VERSION 2.0.5
88

99
%environment
10-
PATH=/opt/conda/envs/nf-core-eager-2.0.4/bin:$PATH
10+
PATH=/opt/conda/envs/nf-core-eager-2.0.5/bin:$PATH
1111
export PATH
1212

1313
%files

conf/base.config

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ process {
2828
//errorStrategy = 'ignore'
2929
}
3030

31-
31+
withName:convertBam {
32+
cpus = { check_max(8 * task.attempt, 'cpus') }
33+
}
34+
3235
withName:bwa {
3336
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
3437
cpus = { check_max(8 * task.attempt, 'cpus') }

conf/test.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ params {
1515
//Input data
1616
singleEnd = false
1717
readPaths = [['JK2782_TGGCCGATCAACGA_L008', ['https://github.com/nf-core/test-datasets/raw/eager2/testdata/Mammoth/JK2782_TGGCCGATCAACGA_L008_R1_001.fastq.gz.tengrand.fq.gz','https://github.com/nf-core/test-datasets/raw/eager2/testdata/Mammoth/JK2782_TGGCCGATCAACGA_L008_R2_001.fastq.gz.tengrand.fq.gz']],
18+
['JK2785_TGGCCGATCAACGA_L008', ['https://github.com/nf-core/test-datasets/raw/eager2/testdata/Mammoth/JK2785_TGGCCGATCAACGA_L008_R1_001.fastq.gz.tengrand.fq.gz','https://github.com/nf-core/test-datasets/raw/eager2/testdata/Mammoth/JK2785_TGGCCGATCAACGA_L008_R2_001.fastq.gz.tengrand.fq.gz']],
1819
]
1920
// Genome references
2021
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager2/reference/Mammoth_MT_Krause.fasta'

conf/testbam.config

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* -------------------------------------------------
3+
* Nextflow config file for running tests
4+
* -------------------------------------------------
5+
* Defines bundled input files and everything required
6+
* to run a fast and simple test. Use as follows:
7+
* nextflow run nf-core/eager -profile test, docker (or singularity, or conda)
8+
*/
9+
10+
params {
11+
max_cpus = 2
12+
max_memory = 6.GB
13+
max_time = 48.h
14+
genome = "Custom"
15+
//Input data
16+
readPaths = [
17+
'https://github.com/nf-core/test-datasets/raw/eager2/testdata/Mammoth/bam/test1.bam',
18+
'https://github.com/nf-core/test-datasets/raw/eager2/testdata/Mammoth/bam/test2.bam'
19+
]
20+
// Genome references
21+
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager2/reference/Mammoth_MT_Krause.fasta'
22+
}

docs/faq.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Frequently Asked Questions

docs/troubleshooting.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# nf-core/eager: Troubleshooting
22

3+
## My pipeline update doesn't seem to do anything!
4+
5+
To download a new version of a pipeline, you can use the following, replacing `<VERSION>` the the corresponding verison.
6+
7+
```bash
8+
nextflow pull nf-core/eager -r <VERSION>
9+
```
10+
However, in very rare cases, minor fixes to a version will be pushed out without a version number bump. This can confuse nextflow slightly, as it thinks you already have the 'broken' version from your original pipeline download.
11+
12+
If when running the pipeline you don't see any changes in the fixed version when running it, you can try removing your nextflow EAGER cache typically stored in your home directory with
13+
14+
```bash
15+
rm -r ~/.nextflow/assets/nf-core/eager
16+
```
17+
18+
And re-pull the pipeline with the command above. This will install a fresh version of the version with the fixes.
19+
320
## Input files not found
421

522
If no file, only one input file, or only read one and not read two is picked up then something is wrong with your input file declaration
@@ -26,3 +43,4 @@ If you still have an issue with running the pipeline then feel free to contact u
2643
Have a look at the [pipeline website](https://github.com/nf-core/eager) to find out how.
2744

2845
If you have problems that are related to Nextflow and not our pipeline then check out the [Nextflow gitter channel](https://gitter.im/nextflow-io/nextflow) or the [google group](https://groups.google.com/forum/#!forum/nextflow).
46+

0 commit comments

Comments
 (0)