Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a031bb7
Add FastA to reference folder if required
apeltzer Oct 12, 2018
51cce83
Use more when and less if clauses
apeltzer Oct 12, 2018
c4481ff
Add Creation of BAM indices
apeltzer Oct 13, 2018
2cff29a
Cleaning up my closet
apeltzer Oct 13, 2018
fded815
Add significantly more documentation
apeltzer Oct 13, 2018
288429e
Changelog updates
apeltzer Oct 13, 2018
75d1a0b
Started work on bamUtils bamtrimming
apeltzer Oct 13, 2018
594f978
Cool guys don't look at documentation, they blow things up and then w…
apeltzer Oct 13, 2018
e60aeac
Merge pull request #50 from nf-core/documentation_improvements
apeltzer Oct 14, 2018
b93a869
Merge pull request #48 from nf-core/clean_folder_structure
apeltzer Oct 14, 2018
f9c9211
Merge branch 'dev' into bam_indices
apeltzer Oct 14, 2018
73a90ae
Fix typo
apeltzer Oct 14, 2018
01732cb
Merge pull request #47 from nf-core/bam_indices
apeltzer Oct 14, 2018
20f67b5
BAM Trimming works now
apeltzer Oct 14, 2018
eef5bfe
Add testcase for trim_bam
apeltzer Oct 14, 2018
96180fc
Merge pull request #55 from nf-core/bamtrim_udghalf
apeltzer Oct 14, 2018
de7f794
Added lines describing how to access help messages
jfy133 Oct 15, 2018
f5a6b47
Add more help text to the pipeline
apeltzer Oct 15, 2018
0b51d09
Merge pull request #58 from nf-core/bamtrim_udghalf
apeltzer Oct 15, 2018
6c49fa2
Merge pull request #57 from jfy133/patch-3
apeltzer Oct 15, 2018
c4b60b6
Cleaned up Singularity and Docker file configs
apeltzer Oct 15, 2018
e8adb17
Treat all reads as merged
apeltzer Oct 15, 2018
f788576
DeDup as merged option added
apeltzer Oct 15, 2018
32ccd26
Docs for that feature
apeltzer Oct 15, 2018
7d60e36
Update usage
apeltzer Oct 15, 2018
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: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ script:
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --singleEnd
# Run the same pipeline testing optional step: fastp, complexity
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --complexity_filter
# Test BAM Trimming
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --trim_bam

12 changes: 6 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

Initial release of nf-core/eager featuring:

* QC Using FastQC/FastP
* FastQC read quality control
* (Optional) Read complexity filtering with FastP
* Read merging and clipping using AdapterRemoval v2
* Mapping using BWA
* Library Complexity Estimation with Preseq
* Conversion and Filtering of BAM files using Samtools
* Damage assessment via DamageProfiler, additional filtering using PMDTools
* Library Complexity Estimation with Preseq
* BAM Clipping with BamUtil for UDGhalf protocols
* QualiMap BAM QC
* Duplication removal via DeDup
* BAM Clipping with BamUtil for UDGhalf protocols
* QualiMap BAM quality control analysis

TODO sort this in order of analysis

Furthermore, this already creates an interactive report using MultiQC, which will be upgraded in V2.1 "Ulm" to contain more aDNA specific metrics.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ FROM nfcore/base
LABEL description="Docker image containing all requirements for nf-core/eager pipeline"
COPY environment.yml /
RUN conda env create -f /environment.yml && conda clean -a
ENV PATH /opt/conda/envs/nf-core-eager-2.0dev/bin:$PATH
ENV PATH /opt/conda/envs/nf-core-eager-2.0.0dev/bin:$PATH
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,26 @@
![Singularity Container available](https://img.shields.io/badge/singularity-available-7E4C74.svg)

## Introduction
THIS PIPELINE IS A WORK IN PROGRESS. Thanks for checking it out! Hopefully it will be functional soon.

**nf-core/eager** is a bioinformatics best-practice analysis pipeline for ancient DNA data analysis.

The pipeline uses [Nextflow](https://www.nextflow.io), a bioinformatics workflow tool. It pre-processes raw data from FastQ inputs, aligns the reads and performs extensive quality-control on the results. It comes with docker / singularity containers making installation trivial and results highly reproducible.

### Pipeline steps

* Make BWA reference genome index (optional)
* FastQC
* Create reference genome indices (optional)
* BWA
* Samtools Index
* Sequence Dictionary
* QC with FastQC
* AdapterRemoval for read clipping and merging
* Align with BWA
* Read mapping with BWA
* Samtools sort, index, stats & conversion to BAM
* DeDup read deduplication or MarkDuplicates
* DeDup read deduplication / MarkDuplicates
* QualiMap BAM QC Checking
* Preseq estimation
* DamageProfiler damage profiling
* PMDTools damagge filtering / assessment

### Documentation
The nf-core/eager pipeline comes with documentation about the pipeline, found in the `docs/` directory:
Expand Down
18 changes: 3 additions & 15 deletions Singularity
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,17 @@ From:nfcore/base
Bootstrap:docker

%labels
<<<<<<< HEAD
MAINTAINER Alexander Peltzer <alexander.peltzer@qbic.uni-tuebingen.de>
DESCRIPTION Container image containing all requirements for the nf-core/EAGER2 pipeline
VERSION 2.0dev
DESCRIPTION Container image containing all requirements for the nf-core/eager pipeline
VERSION 2.0.0dev

%environment
PATH=/opt/conda/envs/nf-core-eager-2.0dev/bin:$PATH
=======
DESCRIPTION Singularity image containing all requirements for the nf-core/eager pipeline
VERSION 1.0dev

%environment
PATH=/opt/conda/envs/nf-core-eager-1.0dev/bin:$PATH
>>>>>>> TEMPLATE
PATH=/opt/conda/envs/nf-core-eager-2.0.0dev/bin:$PATH
export PATH

%files
environment.yml /

%post
<<<<<<< HEAD
/opt/conda/bin/conda env create -f /environment.yml
=======
/opt/conda/bin/conda env create -f /environment.yml
>>>>>>> TEMPLATE
/opt/conda/bin/conda clean -a
29 changes: 29 additions & 0 deletions assets/where_are_my_files.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
=====================
Where are my files?
=====================

By default, the nfcore/eager pipeline does not save large intermediate files to the
results directory. This is to try to conserve disk space.

These files can be found in the pipeline `work` directory if needed.
Alternatively, re-run the pipeline using `-resume` in addition to one of
the below command-line options and they will be copied into the results directory:

`--saveReference`
Save any downloaded or generated reference genome files to your results folder.
These can then be used for future pipeline runs, reducing processing times.

-----------------------------------
Setting defaults in a config file
-----------------------------------
If you would always like these files to be saved without having to specify this on
the command line, you can save the following to your personal configuration file
(eg. `~/.nextflow/config`):

params.saveReference = true

For more help, see the following documentation:

https://github.com/nf-core/eager/blob/master/docs/usage.md
https://www.nextflow.io/docs/latest/getstarted.html
https://www.nextflow.io/docs/latest/config.html
1 change: 0 additions & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ To start using the nf-core/eager pipeline, follow the steps below:
4. [Reference genomes](#4-reference-genomes)
5. [Appendices](#appendices)
* [Running on UPPMAX](#running-on-uppmax)
>>>>>>> TEMPLATE

## 1) Install NextFlow
Nextflow runs on most POSIX systems (Linux, Mac OSX etc). It can be installed by running the following commands:
Expand Down
81 changes: 0 additions & 81 deletions docs/parameters.md

This file was deleted.

3 changes: 1 addition & 2 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# nf-core/eager: Troubleshooting
>>>>>>> TEMPLATE

## Input files not found

If only 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
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

1. The path must be enclosed in quotes (`'` or `"`)
2. The path must have at least one `*` wildcard character. This is even if you are only running one paired end sample.
Expand Down
Loading