Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
maxibor committed Oct 5, 2018
1 parent 6fab514 commit 31b65c3
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 46 deletions.
Binary file modified docs/source/_static/_img/dag.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 21 additions & 15 deletions docs/source/_static/coproID_result.html

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions docs/source/_static/multiqc_report.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions docs/source/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,18 @@ Methods

- **2.2 - Bowtie2:** Reads alignment on Genome2

- **3.1 - normalizedReadCount:** Count bp aligned on Genome1 and normalise by Genome1 size -> Nnr1
- **3 - PMDtools:** Filtering out reads without Post Mortem Damage (PMD).

- **3.2 - normalizedReadCount:** Count bp aligned on Genome2 and normalise by Genome2 size -> Nnr2
- **4 - normalizedReadCount:** Count aligned bp in each read passing an identity threshold, on each genome, and compute ratio

- **3.3 - Filter bamfile on identity:** Only reads passing the identity threshold will be retained
- **5 - MapDamage:** DNA damage assessment and aDNA identification

- **4 - MapDamage:** DNA damage assessment and aDNA identification
- **6 - plotAndReport:** Make plots and write Markdown report

- **5 - ComputeRatio:** Compute read proportion Nnr1/Nnr2 and write Markdown report
- **7 - Pandoc:** Convert Markdown report to HTML

- **6 - Pandoc:** Convert Markdown report to HTML
- **8 - MultiQC:** Generates QC report

- **7 - MultiQC:** Generates QC report

## Example pipeline graph

Expand Down
Binary file modified img/dag.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 15 additions & 12 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ Pipeline overview:
- 1.3: Bowtie Indexing of Genome2
- 2.1: Reads alignment on Genome1
- 2.2: Reads alignment on Genome2
- 3: Count aligned bp on each genome and compute ratio
- 4: MapDamage
- 5: Concatenate read ratios
- 6: Write Markdown report
- 7: Convert Markdown report to HTML
- 8: MultiQC
- 3: Checking for read PMD with PMDtools
- 4: Count aligned bp on each genome and compute ratio
- 5: MapDamage
- 6: Concatenate read ratios
- 7: Write Markdown report
- 8: Convert Markdown report to HTML
- 9: MultiQC
----------------------------------------------------------------------------------------
*/
Expand Down Expand Up @@ -430,6 +431,8 @@ if (params.collapse == "yes"){
}
}

// 3: Checking for read PMD with PMDtools

process pmdtoolsgenome1 {
tag "$name"

Expand Down Expand Up @@ -466,7 +469,7 @@ process pmdtoolsgenome2 {
"""
}

// 3: Count aligned bp on each genome and compute ratio
// 4: Count aligned bp on each genome and compute ratio

process countBp{
tag "$name"
Expand Down Expand Up @@ -494,7 +497,7 @@ process countBp{
"""
}

// 4: MapDamage
// 5: MapDamage

process mapdamageGenome1 {
tag "$name"
Expand Down Expand Up @@ -552,7 +555,7 @@ process mapdamageGenome2 {
"""
}

// 5: concatenate read ratios
// 6: concatenate read ratios

process concatenateRatios {
conda "python=3.6"
Expand All @@ -569,7 +572,7 @@ process concatenateRatios {
"""
}

// 6: Write Markdown report
// 7: Write Markdown report
process proportionAndReport {

conda 'python=3.6 matplotlib'
Expand All @@ -588,7 +591,7 @@ process proportionAndReport {
"""
}

// 6: Convert Markdown report to HTML
// 8: Convert Markdown report to HTML

process md2html {

Expand Down Expand Up @@ -616,7 +619,7 @@ process md2html {



// 7: MultiQC
// 9: MultiQC
process multiqc {

conda 'conda-forge::networkx bioconda::multiqc=1.5'
Expand Down

0 comments on commit 31b65c3

Please sign in to comment.