You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
release: add CHANGELOG, RELEASING runbook, and readthedocs config
Adds the supporting files that the avitai sibling repos use around their
publish workflow:
- .readthedocs.yaml: ubuntu-22.04 + Python 3.11 build, mkdocs-material
install, mkdocs.yml as configuration source, [docs] extras for the
project install. Mirrors the opifex setup so docs.avitai.bio /
ReadTheDocs hosting behave consistently.
- CHANGELOG.md: Keep a Changelog format with the 0.1.0 entry describing
the initial public release surface (40+ operators, 6 pipelines, soft
ops, sources, splitters, losses, training, docs, benchmarks, CI/CD).
- RELEASING.md: step-by-step runbook for the next maintainer release —
bump version, update changelog, run the local checks (pytest,
pre-commit, mkdocs build --strict, uv build, twine check), tag,
push, and run the publish workflow with target=github-release.
Documents the PYPI_API_TOKEN / TEST_PYPI_API_TOKEN repo-secret
requirements.
Copy file name to clipboardExpand all lines: README.md
+57-30Lines changed: 57 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ This enables learning optimal pipeline parameters directly from data, rather tha
48
48
-**Composable Architecture** built on the Datarax, Artifex, Opifex, and Calibrax stack
49
49
-**Training Utilities** with gradient clipping, custom loss functions, and synthetic data generation
50
50
51
-
For complete operator and pipeline listings, see the [Operators Overview](https://docs.avitai.bio/diffbio/user-guide/operators/overview/) and [Pipelines Overview](https://docs.avitai.bio/diffbio/user-guide/pipelines/overview/) in the documentation.
51
+
For complete operator and pipeline listings, see the [Operators Overview](https://diffbio.readthedocs.io/en/latest/user-guide/operators/overview/) and [Pipelines Overview](https://diffbio.readthedocs.io/en/latest/user-guide/pipelines/overview/) in the documentation.
52
52
53
53
## Installation
54
54
@@ -70,24 +70,22 @@ import jax
70
70
import jax.numpy as jnp
71
71
from flax import nnx
72
72
73
-
from diffbio.operators import DifferentiableQualityFilter
74
-
from diffbio.operators.variant.pileup import DifferentiablePileup
75
-
from diffbio.operators.alignment.smith_waterman import SmoothSmithWaterman
73
+
from diffbio.operators import DifferentiableQualityFilter, QualityFilterConfig
76
74
77
-
# Quality filtering with learnable threshold
75
+
# Quality filtering with learnable threshold (default initial_threshold=20.0)
78
76
quality_filter = DifferentiableQualityFilter(
79
-
threshold=20.0,
80
-
temperature=1.0,
77
+
QualityFilterConfig(initial_threshold=20.0),
81
78
rngs=nnx.Rngs(0),
82
79
)
83
80
84
-
# Apply to reads
81
+
# Apply to a one-hot encoded sequence with per-position quality scores
0 commit comments