Skip to content

Commit 3fb6411

Browse files
committed
update docs
1 parent 85c6ba6 commit 3fb6411

File tree

10 files changed

+312
-73
lines changed

10 files changed

+312
-73
lines changed

docs/credits.md

Lines changed: 0 additions & 54 deletions
This file was deleted.

docs/faqs.md

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
# FAQs
2+
3+
# TwistMethylFlow FAQs
4+
5+
## Pipeline Steps
6+
7+
### Generate Reference Genome
8+
??? question "What is the purpose of Generate Reference Genome?"
9+
This step creates reference genome index files for **Bismark**, which are required for bisulfite read alignment.
10+
11+
### Raw Data QC
12+
??? question "How is raw sequencing data quality assessed?"
13+
Raw Data QC uses **FastQC** to evaluate per-base quality, GC content, adapter contamination, and other metrics.
14+
15+
### Adapter Trimming
16+
??? question "How should adapters and low-quality bases be handled?"
17+
**Trim Galore** removes adapters and low-quality bases from reads, ensuring high-quality data for alignment.
18+
19+
### Align Reads
20+
??? question "How are reads aligned to the reference genome?"
21+
**Bismark (Bowtie2)** aligns bisulfite-treated reads to the reference genome.
22+
Accurate alignment is crucial for downstream methylation analysis.
23+
24+
### Deduplicate Removal
25+
??? question "What is deduplicate removal?"
26+
**Bismark** removes PCR duplicates from aligned reads to prevent bias in methylation calling.
27+
28+
### Sort and Indexing
29+
??? question "How are BAM files prepared after alignment?"
30+
**Samtools** sorts and indexes deduplicated BAM files for efficient access in downstream analyses.
31+
32+
### Extract Methylation Calls
33+
??? question "How are methylation calls extracted?"
34+
**Bismark** extracts cytosine methylation calls from aligned reads, generating the input for differential methylation analysis.
35+
36+
### Summary Report
37+
??? question "How is the summary report generated?"
38+
**Bismark** summarizes alignment statistics and methylation extraction results, including conversion efficiency.
39+
40+
### Alignment QC
41+
??? question "How is alignment quality assessed?"
42+
**Qualimap** generates metrics such as coverage, mapping quality, and duplication rate for aligned reads.
43+
44+
### QC Reporting
45+
??? question "How are QC reports aggregated?"
46+
**MultiQC** compiles QC reports from FastQC, Bismark, and Qualimap into a single comprehensive report.
47+
48+
### Differential Methylation
49+
??? question "How is differential methylation analysis performed?"
50+
**EdgeR** and **MethylKit** identify differentially methylated positions or regions, considering replicates and experimental design.
51+
52+
### Post Processing
53+
??? question "How are results visualized?"
54+
**ggplot2** creates summary plots like heatmaps, volcano plots, and coverage plots for differential methylation results.
55+
56+
### GO Analysis
57+
??? question "How is Gene Ontology analysis performed?"
58+
Functional enrichment analysis identifies pathways associated with differentially methylated genes, providing biological interpretation.
59+
60+
---
61+
62+
## Nextflow Workflow Concepts
63+
64+
### General Nextflow
65+
??? question "What is Nextflow?"
66+
Nextflow is a workflow management system for reproducible and scalable scientific pipelines.
67+
It allows users to define tasks and data flow using **processes** and **channels**.
68+
69+
### Processes
70+
??? question "What are processes in Nextflow?"
71+
Processes encapsulate a task with defined inputs, outputs, and commands.
72+
They run independently and can scale across computing resources.
73+
74+
### Channels
75+
??? question "What are channels in Nextflow?"
76+
Channels are asynchronous data streams that connect processes, passing input and output data between them.
77+
78+
### Outputs
79+
??? question "How do I define outputs in Nextflow?"
80+
Outputs are declared using the `output` block in processes or workflows.
81+
This defines what data is saved for downstream steps or exported from the workflow.
82+
83+
### Parallel Execution
84+
??? question "How does Nextflow handle parallel execution?"
85+
Nextflow automatically runs independent processes in parallel based on available compute resources, enabling scalable execution.
86+
87+
### Reproducibility
88+
??? question "How does Nextflow ensure reproducibility?"
89+
Nextflow supports containerization (Docker/Singularity) and environment specification, ensuring the same pipeline produces identical results across systems.
90+
91+
### Workflow Profiles
92+
??? question "What are Nextflow profiles?"
93+
Profiles allow users to define environment-specific configurations, such as compute clusters, Docker images, and resource limits, for flexible pipeline execution.
94+
95+
### Learning Resources
96+
??? question "Where can I learn more about Nextflow?"
97+
- [Nextflow Documentation](https://www.nextflow.io/docs/latest/index.html)
98+
- [Nextflow Tutorials](https://nf-co.re/docs/usage/tutorials/nextflow)
99+
- [Hello Nextflow Training](https://training.nextflow.io/2.0/hello_nextflow/)
100+
101+

docs/images/JD_logo.png

36.9 KB
Loading

docs/overrides/main.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
{% extends "base.html" %}
22

3+
{# ---------------------- Sidebar block ---------------------- #}
4+
{% block sidebar %}
5+
{{ super() }}
6+
7+
<!-- Sidebar GitHub links per page, pushed to bottom -->
8+
<div class="md-sidebar-footer md-sidebar-footer--custom">
9+
{% include "partials/sidebar-github.html" %}
10+
</div>
11+
{% endblock %}
12+
13+
{# ---------------------- Footer block ---------------------- #}
314
{% block footer %}
415
<div style="
516
display: flex;

docs/overrides/partials/logo.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{% set repo_url = page and page.meta and page.meta.repo_url or "https://github.com/JD2112" %}
2+
3+
<a href="{{ repo_url }}" target="_blank" style="display:flex; align-items:center; text-decoration:none;">
4+
<img src="{{ base_url }}/images/JD_logo.png" alt="Logo" style="height:24px; margin-right:8px;">
5+
</a>

docs/overrides/partials/nav.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{#-
2+
This file was automatically generated - do not edit
3+
-#}
4+
{% import "partials/nav-item.html" as item with context %}
5+
{% set class = "md-nav md-nav--primary" %}
6+
{% if "navigation.tabs" in features %}
7+
{% set class = class ~ " md-nav--lifted" %}
8+
{% endif %}
9+
{% if "toc.integrate" in features %}
10+
{% set class = class ~ " md-nav--integrated" %}
11+
{% endif %}
12+
<nav class="{{ class }}" aria-label="{{ lang.t('nav') }}" data-md-level="0">
13+
<label class="md-nav__title" for="__drawer">
14+
<a href="{{ config.extra.homepage | d(nav.homepage.url, true) | url }}" title="{{ config.site_name | e }}" class="md-nav__button md-logo" aria-label="{{ config.site_name }}" data-md-component="logo">
15+
{% include "partials/logo.html" %}
16+
</a>
17+
{{ config.site_name }}
18+
</label>
19+
{% if config.repo_url %}
20+
<div class="md-nav__source">
21+
{% include "partials/source.html" %}
22+
</div>
23+
{% endif %}
24+
<ul class="md-nav__list" data-md-scrollfix>
25+
{% for nav_item in nav %}
26+
{% set path = "__nav_" ~ loop.index %}
27+
<li class="md-nav__item">
28+
{{ item.render(nav_item, path, 1) }}
29+
30+
{# Only add GitHub icon for actual pages #}
31+
{% if nav_item.__class__.__name__ == "Page" and nav_item.file.src_path.endswith("tutorials.md") %}
32+
<a href="{% if 'methylr/tutorials.md' in nav_item.file.src_path %}https://github.com/JD2112/methylr
33+
{% elif 'olinkwrapper/tutorials.md' in nav_item.file.src_path %}https://github.com/JD2112/ShinyOlink
34+
{% elif 'shinyWGCNA/tutorials.md' in nav_item.file.src_path %}https://github.com/JD2112/Shiny-WGCNA
35+
{% endif %}"
36+
target="_blank" class="md-nav__repo-icon" style="margin-left:5px; vertical-align:middle;">
37+
<img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" width="16" height="16" alt="GitHub">
38+
</a>
39+
{% endif %}
40+
41+
</li>
42+
{% endfor %}
43+
44+
</ul>
45+
</nav>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{% if page and page.meta.repo_url %}
2+
<div class="sidebar-github" style="margin-top:1rem; text-align:center;">
3+
<a href="{{ page.meta.repo_url }}" target="_blank" title="GitHub Repo">
4+
<img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
5+
alt="GitHub" width="32" height="32">
6+
</a>
7+
</div>
8+
{% endif %}

docs/references.md

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,59 @@
6161
>Huber, W., Carey, V., Gentleman, R. et al. Orchestrating high-throughput genomic analysis with Bioconductor. Nat Methods 12, 115–121 (2015). [https://doi.org/10.1038/nmeth.3252](https://doi.org/10.1038/nmeth.3252).
6262
6363
### Singularity
64-
>Kurtzer GM, Sochat V, Bauer MW. Singularity: Scientific containers for mobility of compute. PLoS One. 2017 May 11;12(5):e0177459. doi: 10.1371/journal.pone.0177459. eCollection 2017. PubMed PMID: 28494014; PubMed Central PMCID: PMC5426675.
64+
>Kurtzer GM, Sochat V, Bauer MW. Singularity: Scientific containers for mobility of compute. PLoS One. 2017 May 11;12(5):e0177459. doi: 10.1371/journal.pone.0177459. eCollection 2017. PubMed PMID: 28494014; PubMed Central PMCID: PMC5426675.
65+
66+
---
67+
68+
## 👤 Authors and Maintainers
69+
70+
| Role | Name & Link | Description |
71+
|--------------|------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|
72+
| **Main Author** | [Jyotirmoy Das](https://github.com/JD2112) | Lead designer, developer, and overall coordinator for the **TwistMethylFlow** pipeline. |
73+
| **Maintainer** | [Jyotirmoy Das](https://github.com/JD2112) | Actively maintaining the pipeline, fixing bugs, and implementing new features. |
74+
| **Contributors**| [All Contributors](https://github.com/JD2112/TwistMethylFlow/pulls) | Thanks to everyone who helped in development, testing, and enhancement. Contributions welcome! |
75+
76+
---
77+
78+
## 📄 Citation
79+
80+
If you use **TwistMethylFlow** in your work, please cite:
81+
82+
> Das, J. (2024). *TwistMethylFlow (v1.0.0)*. Zenodo. [https://doi.org/10.5281/zenodo.14204261](https://doi.org/10.5281/zenodo.14204261)
83+
84+
---
85+
86+
## ❓ Help, FAQ, Troubleshooting
87+
88+
- Refer to the [User Manual](index.md) for detailed usage instructions and guidance.
89+
- For bug reports, questions, or feature requests, please open an [issue on GitHub](https://github.com/JD2112/TwistMethylFlow/issues).
90+
91+
---
92+
93+
## 📜 License
94+
95+
This project is licensed under the terms of the **GNU General Public License v3.0**.
96+
97+
---
98+
99+
## 🙏 Acknowledgements
100+
101+
### Research Institutions
102+
103+
- **Core Facility, Faculty of Medicine and Health Sciences, Linköping University**
104+
[Linköping University Core Facility](https://liu.se/en/organisation/liu/medfak/coref)
105+
106+
- **Clinical Genomics Linköping, Science for Life Laboratory, Sweden**
107+
[Clinical Genomics Linköping](https://www.scilifelab.se/units/clinical-genomics-linkoping/)
108+
109+
- **National Academic Infrastructure for Supercomputing in Sweden (NAISS)**
110+
> The computations/data storage were enabled by resources provided by the National Academic Infrastructure for Supercomputing in Sweden (NAISS), partially funded by the Swedish Research Council through grant agreement no. 2022-06725.
111+
112+
These institutions provided invaluable resources and support for the development and testing of the TwistMethylFlow pipeline.
113+
114+
### Additional Thanks
115+
116+
- **Open Source Community**: Special thanks to the developers and contributors of [Nextflow](https://www.nextflow.io/), [Bismark](https://www.bioinformatics.babraham.ac.uk/projects/bismark/), [methylKit](https://github.com/observer101/methylKit), [EdgeR](https://bioconductor.org/packages/release/bioc/html/edgeR.html) and other bioinformatics tools integrated into this pipeline.
117+
- **Users and Testers**: A heartfelt thank you to all the early adopters, testers, and collaborators who helped refine and improve the tool through their feedback and bug reports.
118+
119+
---

0 commit comments

Comments
 (0)