Skip to content

Commit 30de6f2

Browse files
authored
Merge pull request #12 from PurcellLab/feature/report-ux-topn
Report redesign + --always-top-n/--class search options + MkDocs docs site
2 parents f22d490 + 6d5cd1f commit 30de6f2

22 files changed

Lines changed: 3903 additions & 1948 deletions

.github/workflows/docs.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: docs
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: true
16+
17+
jobs:
18+
build-deploy:
19+
runs-on: ubuntu-latest
20+
environment:
21+
name: github-pages
22+
url: ${{ steps.deployment.outputs.page_url }}
23+
steps:
24+
- uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0 # hatch-vcs needs full history for the version
27+
- uses: actions/setup-python@v5
28+
with:
29+
python-version: "3.11"
30+
- run: pip install -e ".[docs]"
31+
- run: mkdocs build
32+
- uses: actions/configure-pages@v5
33+
- uses: actions/upload-pages-artifact@v3
34+
with:
35+
path: site
36+
- id: deployment
37+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ data/*html
1212
!data/ref_data/Gibbs_motifs_mouse/motif/*.png
1313
output/*
1414
.DS_Store
15+
# MkDocs build output
16+
/site/
1517
cli/*__pycache__
1618
test_output
1719
poetry.lock

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,30 @@ src/mhc_tp/
110110
tui/ Rich console banner, logging, results table
111111
tests/ pytest suite
112112
```
113+
114+
---
115+
116+
## Citation
117+
118+
If you use MHC-TP in your work, please cite:
119+
120+
> Munday PR, Krishna SSG, Fehring J, Croft NP, Purcell AW, Li C, Braun A.
121+
> Immunolyser 2.0: An advanced computational pipeline for comprehensive analysis
122+
> of immunopeptidomic data. *Comput Struct Biotechnol J.* 2025;29:296–304.
123+
> doi:[10.1016/j.csbj.2025.10.007](https://doi.org/10.1016/j.csbj.2025.10.007).
124+
> PMID: [41209766](https://pubmed.ncbi.nlm.nih.gov/41209766/); PMCID: PMC12590289.
125+
126+
```bibtex
127+
@article{Munday2025Immunolyser2,
128+
title = {Immunolyser 2.0: An advanced computational pipeline for comprehensive analysis of immunopeptidomic data},
129+
author = {Munday, Prithvi Raj and Krishna, Sanjay S. G. and Fehring, Joshua and Croft, Nathan P. and Purcell, Anthony W. and Li, Chen and Braun, Asolina},
130+
journal = {Computational and Structural Biotechnology Journal},
131+
volume = {29},
132+
pages = {296--304},
133+
year = {2025},
134+
doi = {10.1016/j.csbj.2025.10.007},
135+
pmid = {41209766},
136+
pmcid = {PMC12590289}
137+
}
138+
```
139+

docs/api.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# API reference
2+
3+
Auto-generated from the package docstrings.
4+
5+
## Search engine
6+
7+
::: mhc_tp.engine.search
8+
9+
::: mhc_tp.engine.kernels
10+
11+
## Reference data
12+
13+
::: mhc_tp.refdata.fetch
14+
15+
## Report
16+
17+
::: mhc_tp.report.render
18+
19+
::: mhc_tp.naming

0 commit comments

Comments
 (0)