Repository navigation
Reads clone groups by solid containment: 202 species, calibrated on same-strain pairs - #320
Merged
Merged
Conversation
…ent ANI from the worker sketches Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lone threshold Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y) before the older pair tables; low coverage withholds counts; page reads thresholds from the data Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…every same-strain pair for calibration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…), calibration README; uniform species withhold counts Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Per-species clone groups for the reads survey are now computed with the error-tolerant solid containment distance. This is the distance from
sketch_query.py, validated against SNPs on 136 A. fumigatus strains. The worker sketches from the 2026-11-08 sketch pass provide the input. The site uses these tables in place of the older plain-containment pair tables.datasets/reads/sra_survey/pilot/clone_solid.py(new), which:clone_solid/(new, 2.4 MB) contains:<slug>.clones.tsvfor 202 species groups, covering 21,618 of 22,138 runs;summary.tsv;same_strain_pairs.tsv.gz;README.mdwith the method, calibration, limits and the reproduce command.scripts/build_reads_site.py: the site prefersclone_solid/<slug>.clones.tsvand falls back to the old pair tables. It groups at 0.9995, with the plateau checked against 0.999. Counts are withheld when:species.htmlandindex.htmlread the thresholds and method from the data, and say why counts were withheld.Calibration
There are 30,045 pairs of runs filed under the same strain name. The ANI distribution has two modes, with a valley between 0.999 and 0.9995 (881 pairs). About 6,300 pairs sit at or above 0.9995: resequencing of one strain. Most of the rest sit at or below 0.999: one name reused for different lines. This matches the sketch store's 30x validation, where the same-strain median was 0.99996 and the between-strain p99 was 0.999. The table is in
clone_solid/README.md.A first run kept the k-mers seen once, and its median abundance came out at 1–5 for 167 species. It is not used; it is described in the README and kept on the HPCC for comparison.
Effect on the site
Checks
tests/test_clone_solid.py, 8 tests on synthetic sketches, no sourmash needed;Note
This branches from main without #317 (BioProject links). Both PRs edit
build_reads_site.pyandspecies.htmlin separate places. Whichever merges second may need a small rebase, and I can do it.🤖 Generated with Claude Code