Skip to content

Commit 7075fd4

Browse files
committed
Changes in doc architecture
1 parent e23def3 commit 7075fd4

14 files changed

+225
-186
lines changed
File renamed without changes.

docs/CITATIONS.md

+4
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
---
2+
hide:
3+
- navigation
4+
---
15
--8<-- "CITATIONS.md:"

docs/CONTRIBUTING.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
hide:
3+
- navigation
4+
---
15
# Contributing Guidelines
26

37
Hi there!

docs/customisation/index.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Customisation
3+
---
4+
5+
The viralgenie pipeline is highly customisable, allowing you to tailor the analysis to your specific needs. This section provides information on how to customise the pipeline, including configuration options and database customisation.
6+
7+
## [Custom Databases](databases.md)
8+
9+
Viralgenie uses a variety of databases to analyse reads, contigs, and consensus constructs. While the default databases are sufficient for most cases, you can create custom databases if needed. This section provides guidance on how to create and use custom databases for different tools used in the pipeline. For more details, see the [databases guide](databases.md).
10+
11+
## [Custom Tool Configuration](configuration.md)
12+
13+
Viralgenie allows you to modify the arguments of the tools used in the pipeline by providing a custom configuration file. This can be done by copying a segment from the `modules.config` file and modifying the arguments as needed. For more details, see the [configuration guide](configuration.md).

docs/README.md docs/index.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Viralgenie
33
description: A metagenomics analysis pipeline for eukaryotic viruses written in nextflow
4+
hide:
5+
- navigation
6+
- toc
47
---
58

69
# ![viralgenie](images/nf-core-viralgenie_logo_dark.png#only-dark)
@@ -12,16 +15,17 @@ description: A metagenomics analysis pipeline for eukaryotic viruses written in
1215

1316
==}
1417

15-
[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-%E2%89%A523.04.0-23aa62.svg)](https://www.nextflow.io/) [![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000&logo=anaconda)](https://docs.conda.io/en/latest/) [![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?labelColor=000000&logo=docker)](https://www.docker.com/) [![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg?labelColor=000000)](https://sylabs.io/docs/)
16-
[![Launch on Nextflow Tower](https://img.shields.io/badge/Launch%20%F0%9F%9A%80-Nextflow%20Tower-%234256e7)](https://tower.nf/launch?pipeline=https://github.com/Joon-Klaps/viralgenie)
18+
[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-%E2%89%A524.04.2-23aa62.svg)](https://www.nextflow.io/) [![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000&logo=anaconda)](https://docs.conda.io/en/latest/) [![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?labelColor=000000&logo=docker)](https://www.docker.com/) [![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg?labelColor=000000)](https://sylabs.io/docs/)
19+
[![Launch on Seqera Platform](https://img.shields.io/badge/Launch%20%F0%9F%9A%80-Seqera%20Platform-%234256e7)](https://tower.nf/launch?pipeline=https://github.com/Joon-Klaps/viralgenie)
1720

1821
[![GitHub Actions CI Status](https://github.com/Joon-Klaps/viralgenie/actions/workflows/ci.yml/badge.svg)](https://github.com/Joon-Klaps/viralgenie/actions?query=workflow%3A%22nf-core+CI%22)
1922
[![GitHub Actions Linting Status](https://github.com/Joon-Klaps/viralgenie/actions/workflows/linting.yml/badge.svg)](https://github.com/Joon-Klaps/viralgenie/actions?query=workflow%3A%22nf-core+linting%22)
23+
2024
<!-- [![Get help on Slack](http://img.shields.io/badge/slack-nf--core%20%23viralgenie-4A154B?labelColor=000000&logo=slack)](https://nfcore.slack.com/channels/viralgenie)-->
2125

2226
## Introduction
2327

24-
**Viralgenie** is a bioinformatics best-practice analysis pipeline for reconstructing consensus genomes and to identify intra-host variants from metagenomic sequencing data or enriched based sequencing data like hybrid capture.
28+
**Viralgenie** is a bioinformatics best-practice analysis pipeline for reconstructing consensus genomes and identifying intra-host variants from metagenomic sequencing data or enriched based sequencing data like hybrid capture.
2529

2630
## Pipeline summary
2731

docs/installation.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
hide:
3+
- navigation
4+
---
15
# Installation
26

37
Viralgenie uses Nextflow, and a [package/container management system](https://www.nextflow.io/docs/latest/container.html#containers) ([Docker](https://www.docker.com/resources/what-container/), [Singularity](https://docs.sylabs.io/guides/latest/user-guide/introduction.html) or [Conda](https://docs.conda.io/en/latest/)) so both need to be installed on the system where you launch your analysis.

docs/output.md

+118-127
Large diffs are not rendered by default.

docs/parameters.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
hide:
3+
- navigation
4+
---
5+
16
# Viralgenie pipeline parameters
27

38
A pipeline to reconstruct consensus genomes and identify intrahost variants from metagenomic sequencing data or enriched based sequencing data like hybrid capture.

docs/quickstart.md

+15-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1+
---
2+
hide:
3+
- navigation
4+
---
15
# Quick Start
26

37
Viralgenie needs two things:
48

59
1. [Nextflow](https://www.nextflow.io/)
6-
2. [Docker](https://www.docker.com/resources/what-container/) or [Singularity](https://docs.sylabs.io/guides/latest/user-guide/introduction.html) or [Conda](https://docs.conda.io/en/latest/)
10+
2. [Docker](https://www.docker.com/resources/what-container/), [Singularity](https://docs.sylabs.io/guides/latest/user-guide/introduction.html), or [Conda](https://docs.conda.io/en/latest/)
711

812
```bash
913
# Install nextflow with conda
1014
conda install nextflow
1115
```
1216

13-
Run the pipeline with a small test dataset with docker containers:
17+
Run the pipeline with a small test dataset using Docker containers:
1418
```bash
1519
nextflow run Joon-Klaps/viralgenie \
1620
-profile test,docker
@@ -46,36 +50,36 @@ An input file contains the paths to the fastq files and the sample names. The in
4650
sample3,AEG588A3_S3_L002_R1_001.fastq.gz,AEG588A3_S3_L002_R2_001.fastq.gz
4751
```
4852

49-
5053
=== "YAML"
5154

5255
```yaml title="input-samplesheet.yaml"
5356
- sample: sample1
54-
fastq1: AEG588A1_S1_L002_R1_001.fastq.gz
55-
fastq2: AEG588A1_S1_L002_R2_001.fastq.gz
57+
fastq1: AEG588A1_S1_L002_R1_001.fastq.gz
58+
fastq2: AEG588A1_S1_L002_R2_001.fastq.gz
5659
- sample: sample2
57-
fastq1: AEG588A5_S5_L003_R1_001.fastq.gz
60+
fastq1: AEG588A5_S5_L003_R1_001.fastq.gz
5861
- sample: sample3
59-
fastq1: AEG588A3_S3_L002_R1_001.fastq.gz
60-
fastq2: AEG588A3_S3_L002_R2_001.fastq.gz
62+
fastq1: AEG588A3_S3_L002_R1_001.fastq.gz
63+
fastq2: AEG588A3_S3_L002_R2_001.fastq.gz
6164
```
6265

6366
=== "JSON"
67+
6468
```json title="samplesheet.json"
6569
[
6670
{
6771
"sample": "sample1",
6872
"fastq1": "AEG588A1_S1_L002_R1_001.fastq.gz",
69-
"fastq2": "AEG588A1_S1_L002_R2_001.fastq.gz",
73+
"fastq2": "AEG588A1_S1_L002_R2_001.fastq.gz"
7074
},
7175
{
7276
"sample": "sample2",
73-
"fastq1": "AEG588A5_S5_L003_R1_001.fastq.gz",
77+
"fastq1": "AEG588A5_S5_L003_R1_001.fastq.gz"
7478
},
7579
{
7680
"sample": "sample3",
7781
"fastq1": "AEG588A3_S3_L002_R1_001.fastq.gz",
78-
"fastq2": "AEG588A3_S3_L002_R2_001.fastq.gz",
82+
"fastq2": "AEG588A3_S3_L002_R2_001.fastq.gz"
7983
}
8084
]
8185
```

docs/stylesheets/extra.css

+6-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@
1212
background-color: #4a6c6f;
1313
}
1414

15-
.md-nav {
16-
margin-bottom: 0.9rem;
15+
.md-sidebar {
16+
width: 15%;
17+
}
18+
19+
.md-grid {
20+
max-width: 1440px;
1721
}
1822

1923
.center {

docs/usage.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
hide:
3+
- navigation
4+
---
15
# Usage
26

37
Try out the pipeline right now!

docs/workflow/overview.md docs/workflow/index.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
## Workflow
1+
---
2+
title: Workflow overview
3+
---
24

35
Viralgenie takes in a set of reads and performs 5 major analyses, each of them are explained in more detail in the following sections:
46

mkdocs.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@ repo_url: https://github.com/Joon-Klaps/viralgenie
44
site_url: https://joon-klaps.github.io/viralgenie/latest/
55

66
nav:
7-
- Home:
8-
- "Introduction": README.md
9-
- "Installation": installation.md
10-
- "Usage": usage.md
11-
- "Output": output.md
12-
- "Citations": CITATIONS.md
7+
- Home: index.md
138
- Quick Start: quickstart.md
14-
- Workflow:
15-
- "Pipeline overview": workflow/overview.md
9+
- Installation: installation.md
10+
- Usage: usage.md
11+
- Parameters: "parameters.md"
12+
- Output: output.md
13+
- Workflows:
14+
- workflow/index.md
1615
- "Preprocessing": workflow/preprocessing.md
1716
- "Metagenomic diversity": workflow/metagenomic_diversity.md
1817
- "Assembly & Polishing": workflow/assembly_polishing.md
1918
- "Variant analysis & Iterative refinement": workflow/variant_and_refinement.md
2019
- "Consensus evaluation": workflow/consensus_qc.md
21-
- Parameters: "parameters.md"
2220
- Customisation:
21+
- customisation/index.md
2322
- "Databases": customisation/databases.md
2423
- "Configuration": customisation/configuration.md
24+
- Citations: CITATIONS.md
2525
- Contributing: "CONTRIBUTING.md"
2626

2727
theme:
@@ -54,14 +54,14 @@ theme:
5454
code: "Ubuntu Mono"
5555
features:
5656
- announce.dismiss
57-
- content.action.edit
5857
- content.code.annotate
5958
- content.code.copy
6059
- header.autohide
6160
- navigation.footer
6261
- navigation.instant
6362
- navigation.sections
6463
- navigation.tabs
64+
- navigation.indexes
6565
- navigation.tabs.sticky
6666
- navigation.top
6767
- navigation.tracking

0 commit comments

Comments
 (0)