Skip to content

Commit f0ad9f9

Browse files
committed
Merge branch 'dev'
2 parents 1b99093 + bb77466 commit f0ad9f9

18 files changed

+233
-740
lines changed

.github/workflows/docs.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Deploy Documentation
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'docs/**'
8+
- '.github/workflows/docs.yml'
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: write
13+
pages: write
14+
id-token: write
15+
16+
jobs:
17+
build-deploy:
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Check out repository
22+
uses: actions/checkout@v4
23+
24+
- name: Set up Quarto
25+
uses: quarto-dev/quarto-actions/setup@v2
26+
with:
27+
version: latest
28+
29+
- name: Render documentation
30+
run: |
31+
quarto render
32+
33+
- name: Deploy to GitHub Pages
34+
uses: peaceiris/actions-gh-pages@v3
35+
with:
36+
github_token: ${{ secrets.GITHUB_TOKEN }}
37+
publish_dir: ./_site
38+
publish_branch: gh-pages
39+
force_orphan: true
40+
user_name: 'github-actions[bot]'
41+
user_email: 'github-actions[bot]@users.noreply.github.com'
42+
commit_message: 'Deploy documentation for ${{ github.sha }}'

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
!/docs/*.md
7272
!/docs/*.pdf
7373
!/docs/*.html.gz
74+
!/docs/*.css
7475

7576
# globus adapter
7677
!/globus
@@ -94,3 +95,5 @@
9495
!tests/**/*.nf.test
9596
!tests/data/
9697
!tests/data/**/*
98+
99+
/.quarto/

_quarto.yml

Lines changed: 91 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,96 @@
11
project:
2-
output-dir: docs
3-
post-render: just readme
2+
type: website
3+
output-dir: _site
4+
render:
5+
- "docs/*.qmd"
6+
post-render:
7+
- "just copy-index"
48

5-
toc: true
6-
number-sections: true
7-
# bibliography: references.bib
9+
website:
10+
title: "OneRoof Documentation"
11+
description: "Comprehensive documentation for the OneRoof bioinformatics pipeline"
12+
site-url: https://nrminor.github.io/oneroof/
13+
repo-url: https://github.com/nrminor/oneroof
14+
15+
navbar:
16+
background: primary
17+
left:
18+
- href: docs/index.qmd
19+
text: "Home"
20+
- href: docs/developer.qmd
21+
text: "Developer Guide"
22+
- href: docs/pipeline_architecture.qmd
23+
text: "Architecture"
24+
- href: docs/whats-that-file.qmd
25+
text: "File Reference"
26+
- href: docs/data_management.qmd
27+
text: "Data Management"
28+
# right:
29+
# - icon: github
30+
# href: https://github.com/nrminor/oneroof
31+
# - icon: docker
32+
# href: https://hub.docker.com/r/nrminor/dorado-and-friends
33+
tools:
34+
- icon: github
35+
menu:
36+
- text: Source Code
37+
href: https://github.com/nrminor/oneroof
38+
- text: Report Issue
39+
href: https://github.com/nrminor/oneroof/issues
40+
collapse: true
41+
collapse-below: lg
42+
toggle-position: right
43+
44+
sidebar:
45+
style: "docked"
46+
search: true
47+
# contents:
48+
# - section: "Getting Started"
49+
# contents:
50+
# - docs/index.qmd
51+
# - text: "Installation"
52+
# href: docs/index.qmd#installation
53+
# - text: "Quick Start"
54+
# href: docs/index.qmd#quick-start
55+
# - section: "Development"
56+
# contents:
57+
# - docs/developer.qmd
58+
# - docs/pipeline_architecture.qmd
59+
# - section: "Reference"
60+
# contents:
61+
# - docs/whats-that-file.qmd
62+
# - docs/data_management.qmd
63+
64+
back-to-top-navigation: true
65+
page-navigation: true
66+
reader-mode: true
67+
68+
page-footer:
69+
left: |
70+
© 2025 OneRoof Contributors
71+
center: |
72+
[MIT License](https://github.com/nrminor/oneroof/blob/main/LICENSE)
73+
right: |
74+
Built with [Quarto](https://quarto.org/)
75+
76+
format:
77+
html:
78+
theme:
79+
light: flatly
80+
dark: darkly
81+
css: docs/styles.css
82+
toc: true
83+
toc-depth: 3
84+
toc-location: right
85+
code-fold: false
86+
code-tools: true
87+
code-copy: true
88+
code-overflow: wrap
89+
highlight-style: github
90+
link-external-icon: false
91+
link-external-newwindow: true
92+
smooth-scroll: true
93+
anchor-sections: true
894

995
execute:
1096
freeze: auto

docs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.quarto/

docs/data_management.pdf

-20.5 KB
Binary file not shown.

docs/developer.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111

1212
Most `oneroof` development happens in the `dev` branch of this repo. To get started with doing so yourself, clone and switch to the `dev` branch like so:
1313

14-
git clone https://github.com/nrminor/oneroof.git && \
15-
cd oneroof && \
16-
git checkout dev
14+
``` bash
15+
git clone https://github.com/nrminor/oneroof.git && \
16+
cd oneroof && \
17+
git checkout dev
18+
```
1719

1820
From there, you’ll have a few tools to consider installing if you haven’t already:
1921

@@ -97,7 +99,7 @@ Like most Nextflow pipelines, `oneroof` also has a few other important directori
9799

98100
We’re big fans of the [Ruff](https://docs.astral.sh/ruff/) linter and formatter, and we use it liberally in the writing of our Python scripts. To do so yourself in VSCode, we offer the following configuration for your User Settings JSON:
99101

100-
``` json
102+
``` jsonc
101103
{
102104
"[python]": {
103105
"editor.defaultFormatter": "charliermarsh.ruff",

docs/developer.pdf

-469 Bytes
Binary file not shown.

docs/developer.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ engine: knitr
1616

1717
Most `oneroof` development happens in the `dev` branch of this repo. To get started with doing so yourself, clone and switch to the `dev` branch like so:
1818

19-
```
19+
```bash
2020
git clone https://github.com/nrminor/oneroof.git && \
2121
cd oneroof && \
2222
git checkout dev
@@ -104,7 +104,7 @@ Like most Nextflow pipelines, `oneroof` also has a few other important directori
104104

105105
We're big fans of the [Ruff](https://docs.astral.sh/ruff/) linter and formatter, and we use it liberally in the writing of our Python scripts. To do so yourself in VSCode, we offer the following configuration for your User Settings JSON:
106106

107-
```json
107+
```jsonc
108108
{
109109
"[python]": {
110110
"editor.defaultFormatter": "charliermarsh.ruff",

docs/index.pdf

-122 KB
Binary file not shown.

docs/index.qmd

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "OneRoof: A Pipeline Prototype for Base-, Variant-, and Consensus-calling under One Proverbial Roof"
2+
title: "OneRoof: Base-, Variant-, and Consensus-calling under One Proverbial Roof."
33
toc: true
44
format:
55
html:
@@ -19,7 +19,7 @@ execute:
1919

2020
## Overview
2121

22-
`oneroof` is a pipeline designed to take a common series of bioinformatic tasks (see below) and put them under "one roof". We mean this quite literally: the pipeline will perform at its best when run on networked devices in the same building.
22+
`oneroof` is a [Nextflow](https://nextflow.io/) pipeline designed to take a common series of bioinformatic tasks (see below) and put them under "one roof". We mean this literally as well as figuratively: the pipeline will perform certain tasks best when run on networked devices in the same building.
2323

2424
`oneroof` was originally developed in the early stages of the [United States Bovine Highly Pathogenic Avian Influenza (HPAI) outbreak of 2024](https://nextstrain.org/avian-flu/h5n1/ha/2y), when we wanted one, configurable, easy-to-run pipeline that would do all of the following seamlessly:
2525

@@ -79,7 +79,7 @@ Command line argument | Default value | Explanation
7979
`--primer_bed` | None | A bed file of primer coordinates relative to the reference provided with the parameters `refseq` and `ref_gbk`.
8080
`--refseq` | None | The reference sequence to be used for mapping in FASTA format.
8181
`--ref_gbk` | None | The reference sequence to be used for variant annotation in Genbank format.
82-
`--remote_pod5_location` | None | A remote location to use with a TCP stream to watch for pod5 files in realtime as they are generated by the sequencing instrument.
82+
`--remote_pod5_location` | None | A remote location to use with an SSH client to watch for pod5 files in realtime as they are generated by the sequencing instrument.
8383
`--file_watcher_config` | None | Configuration file for remote file monitoring. An example can be found at conf/file_watcher.template.yml.
8484
`--pod5_dir` | None | If a remote pod5 location isn't given, users may provide a local, on-device directory where pod5 files have been manually transferred.
8585
`--precalled_staging` | None | A local directory to watch for Nanopore FASTQs or BAMs as the become available. This is for cases where basecalling is being performed via another workflow, resulting in BAMs or FASTQs that are gradually transferred into `params.precalled_staging` as basecalling completes.
@@ -146,7 +146,7 @@ nextflow run . \
146146

147147
Especially on Apple Silicon Macs, this will reduce the overhead of using the Docker Virtual Machine and allow the pipeline to invoke tools installed directly within the local project environment.
148148

149-
Note also that more information on the repo's files is available in our [developer guide](docs/developer.md).
149+
Note also that more information on the repo's files is available in our [developer guide](developer.qmd).
150150

151151
## Testing
152152

@@ -188,21 +188,21 @@ Tests are organized in the `tests/` directory:
188188

189189
The test suite uses minimal synthetic data to ensure fast execution while still exercising all key pipeline features. Tests are automatically run in CI/CD on all pull requests and pushes to main branches.
190190

191-
For more details on the testing framework and how to write new tests, see the [test suite documentation](tests/README.md).
191+
For more details on the testing framework and how to write new tests, see the [test suite documentation](../tests/README.md).
192192

193193
## Further Documentation
194194

195195
For more detailed information about specific aspects of the OneRoof pipeline, please refer to the following documentation:
196196

197-
- **[Developer Guide](docs/developer.md)** - Comprehensive guide for developers working with the codebase, including project structure, coding standards, and development workflows
198-
- **[Pipeline Architecture](docs/pipeline_architecture.md)** - Detailed technical documentation of the pipeline's architecture, including workflow diagrams, module descriptions, and data flow
199-
- **[File Reference Guide](docs/whats-that-file.md)** - Complete listing of all files in the repository with descriptions of their purpose and functionality
200-
- **[Globus Integration](globus/README.md)** - Instructions for setting up and using Globus integration for automated data transfer and remote workflow execution
201-
- **[Test Suite Documentation](tests/README.md)** - Guide to the testing framework, including how to write and run tests, test data organization, and CI/CD integration
197+
- **[Developer Guide](developer.qmd)** - Comprehensive guide for developers working with the codebase, including project structure, coding standards, and development workflows
198+
- **[Pipeline Architecture](pipeline_architecture.qmd)** - Detailed technical documentation of the pipeline's architecture, including workflow diagrams, module descriptions, and data flow
199+
- **[File Reference Guide](whats-that-file.qmd)** - Complete listing of all files in the repository with descriptions of their purpose and functionality
200+
- **[Globus Integration](../globus/README.md)** - Instructions for setting up and using Globus integration for automated data transfer and remote workflow execution
201+
- **[Test Suite Documentation](../tests/README.md)** - Guide to the testing framework, including how to write and run tests, test data organization, and CI/CD integration
202202

203203
## Contributing
204204

205-
Contributions, feature requests, improvement suggestions, and bug reports via GitHub issues are all welcome! For more information on how to work with the project and what all the repo files are, see our [developer guide](docs/developer.md).
205+
Contributions, feature requests, improvement suggestions, and bug reports via GitHub issues are all welcome! For more information on how to work with the project and what all the repo files are, see our [developer guide](developer.qmd).
206206

207207
## Is it any good?
208208

0 commit comments

Comments
 (0)