Skip to content

Commit bc55df3

Browse files
authored
Merge pull request #166 from nf-core/dev
PR for release 2.0.6
2 parents 2786af3 + ae956e2 commit bc55df3

11 files changed

Lines changed: 280 additions & 115 deletions

File tree

.travis.yml

Lines changed: 7 additions & 1 deletion
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.5
16+
- docker tag nfcore/eager:dev nfcore/eager:2.0.6
1717

1818
install:
1919
# Install Nextflow
@@ -40,6 +40,12 @@ script:
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)
4242
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --singleEnd --bwa_index results/reference_genome/bwa_index/bwa_index/
43+
# Run the basic pipeline with paired end data without collapsing
44+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --skip_collapse --saveReference
45+
# Run the basic pipeline with paired end data without trimming
46+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --skip_trim --saveReference
47+
# Run the basic pipeline with paired end data without adapterRemoval
48+
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --skip_adapterremoval --saveReference
4349
# Run the same pipeline testing optional step: fastp, complexity
4450
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --pairedEnd --complexity_filter --bwa_index results/reference_genome/bwa_index/bwa_index/
4551
# Test BAM Trimming

CHANGELOG.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,24 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7-
## [Unpublished / Dev Branch]
7+
## [2.0.6] - 2019-03-05
8+
9+
### `Added`
10+
11+
* [#152](https://github.com/nf-core/eager/pull/152) - Clarified `--complexity_filter` flag to be specifically for poly G trimming.
12+
* [#155](https://github.com/nf-core/eager/pull/155) - Added [Dedup log to output folders](https://github.com/nf-core/eager/issues/154)
13+
* [#159](https://github.com/nf-core/eager/pull/159) - Added Possibility to skip AdapterRemoval, skip merging, skip trimming fixing [#64](https://github.com/nf-core/eager/issues/64),[#137](https://github.com/nf-core/eager/issues/137) - thanks to @maxibor, @jfy133
14+
15+
### `Fixed`
16+
17+
* [#151](https://github.com/nf-core/eager/pull/151) - Fixed [post-deduplication step errors](https://github.com/nf-core/eager/issues/128
18+
* [#147](https://github.com/nf-core/eager/pull/147) - Fix Samtools Index for [large references](https://github.com/nf-core/eager/issues/146)
19+
* [#145](https://github.com/nf-core/eager/pull/145) - Added Picard Memory Handling [fix](https://github.com/nf-core/eager/issues/144)
20+
21+
### `Dependencies`
22+
* Picard Tools 2.18.23 -> 2.18.27
23+
* GATK 4.0.12.0 -> 4.1.0.0
24+
* FastP 0.19.6 -> 0.19.7
825

926
## [2.0.5] - 2019-01-28
1027

@@ -18,8 +35,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1835

1936
### `Dependencies`
2037
* Picard Tools 2.18.21 -> 2.18.23
21-
* R-Markdown 1.10 -> 1.11
22-
* FastP 0.19.5 -> 0.19.6
38+
* R-Markdown 1.10 -> 1.11
39+
* FastP 0.19.5 -> 0.19.6
2340

2441
## [2.0.4] - 2019-01-09
2542

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.5/bin:$PATH
6+
ENV PATH /opt/conda/envs/nf-core-eager-2.0.6/bin:$PATH

README.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,28 @@ Additional functionality contained by the pipeline currently includes:
4545
## Quick Start
4646

4747
1. Install [`nextflow`](docs/installation.md)
48+
4849
2. Install one of [`docker`](https://docs.docker.com/engine/installation/), [`singularity`](https://www.sylabs.io/guides/3.0/user-guide/) or [`conda`](https://conda.io/miniconda.html)
50+
4951
3. Download the EAGER pipeline
5052

5153
```bash
5254
nextflow pull nf-core/eager
5355
```
5456

55-
4. Set up your job with default parameters
57+
4. Test the pipeline using the provided test data
5658

5759
```bash
58-
nextflow run nf-core -profile <docker/singularity/conda> --reads'*_R{1,2}.fastq.gz' --fasta '<REFERENCE>.fasta'
60+
nextflow run nf-core/eager -profile <docker/singularity/conda>,test --pairedEnd
5961
```
6062

61-
5. See the overview of the run with under `<OUTPUT_DIR>/MultiQC/multiqc_report.html`
63+
5. Start running your own ancient DNA analysis!
64+
65+
```bash
66+
nextflow run nf-core/eager -profile <docker/singularity/conda> --reads'*_R{1,2}.fastq.gz' --fasta '<REFERENCE>.fasta'
67+
```
68+
69+
NB. You can see an overview of the run in the MultiQC report located at `<OUTPUT_DIR>/MultiQC/multiqc_report.html`
6270

6371
Modifications to the default pipeline are easily made using various options
6472
as described in the documentation.
@@ -84,6 +92,19 @@ James Fellows Yates, Raphael Eisenhofer and Judith Neukamm. If you want to
8492
contribute, please open an issue and ask to be added to the project - happy to
8593
do so and everyone is welcome to contribute here!
8694

95+
## Contributors
96+
97+
- [James A. Fellows-Yates](https://github.com/jfy133)
98+
- [Stephen Clayton](https://github.com/sc13-bioinf)
99+
- [Maxime Borry](https://github.com/maxibor)
100+
- [Judith Neukamm](https://github.com/JudithNeukamm)
101+
- [Raphael Eisenhofer](https://github.com/EisenRa)
102+
- [Maxime Garcia](https://github.com/MaxUlysse)
103+
- [Luc Venturini](https://github.com/lucventurini)
104+
- [Hester van Schalkwyk](https://github.com/hesterjvs)
105+
106+
If you've contributed and you're missing in here, please let me know and I'll add you in.
107+
87108
## Tool References
88109

89110
* **EAGER v1**, CircularMapper, DeDup* Peltzer, A., Jäger, G., Herbig, A., Seitz, A., Kniep, C., Krause, J., & Nieselt, K. (2016). EAGER: efficient ancient genome reconstruction. Genome Biology, 17(1), 1–14. [https://doi.org/10.1186/s13059-016-0918-z](https://doi.org/10.1186/s13059-016-0918-z) Download: [https://github.com/apeltzer/EAGER-GUI](https://github.com/apeltzer/EAGER-GUI) and [https://github.com/apeltzer/EAGER-CLI](https://github.com/apeltzer/EAGER-CLI)

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.5
7+
VERSION 2.0.6
88

99
%environment
10-
PATH=/opt/conda/envs/nf-core-eager-2.0.5/bin:$PATH
10+
PATH=/opt/conda/envs/nf-core-eager-2.0.6/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
@@ -31,7 +31,10 @@ process {
3131
withName:convertBam {
3232
cpus = { check_max(8 * task.attempt, 'cpus') }
3333
}
34-
34+
withName:makeSeqDict {
35+
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
36+
}
37+
3538
withName:bwa {
3639
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
3740
cpus = { check_max(8 * task.attempt, 'cpus') }

conf/multiqc_config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ top_modules:
99
- '*_fastqc.zip'
1010
path_filters_exclude:
1111
- '*.combined.prefixed_fastqc.zip'
12+
- 'fastp'
1213
- 'adapterRemoval'
1314
- 'fastqc':
1415
name: 'FastQC (post-AdapterRemoval)'

docs/usage.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ If you prefer, you can specify the full path to your reference genome when you r
170170
```
171171
> If you don't specify appropriate `--bwa_index`, `--fasta_index` parameters, the pipeline will create these indices for you automatically. Note, that saving these for later has to be turned on using `--saveReference`. You may also specify the path to a gzipped (`*.gz` file extension) FastA as reference genome - this will be uncompressed by the pipeline automatically for you. Note that other file extensions such as `.fna`, `.fa` are also supported but will be renamed to `.fasta` automatically by the pipeline.
172172
173+
### `--large_ref`
174+
175+
This parameter is required to be set for large reference genomes. If your reference genome is larger than 3.5GB, the `samtools index` calls in the pipeline need to generate `CSI` indices instead of `BAI` indices to accompensate for the size of the reference genome. This parameter is not required for smaller references (including a human `hg19` or `grch37`/`grch38` reference), but `>4GB` genomes have been shown to need `CSI` indices.
176+
173177
### `--genome` (using iGenomes)
174178

175179
The pipeline config files come bundled with paths to the illumina iGenomes reference index files. If running with docker or AWS, the configuration is set up to use the [AWS-iGenomes](https://ewels.github.io/AWS-iGenomes/) resource.
@@ -237,7 +241,7 @@ Use to set a top-limit for the default time requirement for each process.
237241
Should be a string in the format integer-unit. eg. `--max_time '2.h'`. If not specified, will be taken from the configuration in the `-profile` flag.
238242

239243
### `--max_cpus`
240-
Use to set a top-limit for the default CPU requirement for each process.
244+
Use to set a top-limit for the default CPU requirement for each **process**. This is not the maximum number of CPUs that can be used for the whole pipeline, but the maximum number of CPUs each program can use for each program submission (known as a process). Do not set this higher than what is available on your workstation or computing node can provide. If you're unsure, ask your local IT administrator for details on compute node capabilities!
241245
Should be a string in the format integer-unit. eg. `--max_cpus 1`. If not specified, will be taken from the configuration in the `-profile` flag.
242246

243247
### `--email`
@@ -279,12 +283,16 @@ This part of the documentation contains a list of user-adjustable parameters in
279283

280284
## Step skipping parameters
281285

282-
Some of the steps in the pipeline can be executed optionally. If you specify specific steps to be skipped, there won't be any output related to these modules.
286+
Some of the steps in the pipeline can be executed optionally. If you specify specific steps to be skipped, there won't be any output related to these modules.
283287

284288
### `--skip_preseq`
285289

286290
Turns off the computation of library complexity estimation.
287291

292+
### `--skip_adapterremoval`
293+
294+
Turns off adaptor trimming and paired-end read merging. Equivalent to setting both `--skip_collapse` and `--skip_trim`.
295+
288296
### `--skip_damage_calculation`
289297

290298
Turns off the DamageProfiler module to compute DNA damage profiles.
@@ -299,7 +307,7 @@ Turns off duplicate removal methods DeDup and MarkDuplicates respectively. No du
299307

300308
## Complexity Filtering Options
301309

302-
### `--complexity_filter`
310+
### `--complexity_filter_poly_g`
303311

304312
Performs a poly-G tail removal step in the beginning of the pipeline, if turned on. This can be useful for trimming ploy-G tails from short-fragments sequenced on two-colour Illumina chemistry such as NextSeqs (where no-fluorescence is read as a G on two-colour chemistry), which can inflate reported GC content values.
305313

@@ -329,6 +337,24 @@ Defines the minimum read quality per base that is required for a base to be kept
329337
### `--clip_min_adap_overlap` 1
330338
Sets the minimum overlap between two reads when read merging is performed. Default is set to `1` base overlap.
331339

340+
### `--skip_collapse`
341+
342+
Turns off the paired-end read merging.
343+
344+
For example
345+
```bash
346+
--pairedEnd --skip_collapse --reads '*.fastq'
347+
```
348+
349+
### `--skip_trim`
350+
351+
Turns off adaptor and quality trimming.
352+
353+
For example:
354+
```bash
355+
--pairedEnd --skip_trim --reads '*.fastq'
356+
```
357+
332358
## Read Mapping Parameters
333359

334360
## BWA (default)

environment.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: nf-core-eager-2.0.5
1+
name: nf-core-eager-2.0.6
22
channels:
33
- defaults
44
- bioconda
@@ -9,12 +9,12 @@ dependencies:
99
- bioconda::adapterremoval=2.2.2
1010
- bioconda::adapterremovalfixprefix=0.0.4
1111
- bioconda::bwa=0.7.17
12-
- bioconda::picard=2.18.23
12+
- bioconda::picard=2.18.27
1313
- bioconda::samtools=1.9
1414
- bioconda::dedup=0.12.3
1515
- bioconda::angsd=0.923
1616
- bioconda::circularmapper=1.93.4
17-
- bioconda::gatk4=4.0.12.0
17+
- bioconda::gatk4=4.1.0.0
1818
- bioconda::qualimap=2.2.2b
1919
- bioconda::vcf2genome=0.91
2020
- bioconda::damageprofiler=0.4.4
@@ -25,6 +25,6 @@ dependencies:
2525
- conda-forge::pigz=2.3.4
2626
- bioconda::sequencetools=1.2.2
2727
- bioconda::preseq=2.0.3
28-
- bioconda::fastp=0.19.6
28+
- bioconda::fastp=0.19.7
2929
- bioconda::bamutil=1.0.14
3030
#Missing Schmutzi,snpAD

0 commit comments

Comments
 (0)