Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e64525d8d8 | ||
|
|
93ff24c4dd | ||
|
|
bfb9289abe | ||
|
|
b2222afbe3 | ||
|
|
e4528725d4 | ||
|
|
f935fb66c4 | ||
|
|
f1b4b4ebda |
No files matched your search
+1
-1
@@ -1 +1 @@
|
|||||||
0.3.4+0.1.1
|
0.3.12+0.1.1
|
||||||
+8
-2
@@ -111,6 +111,12 @@ clean:
|
|||||||
@echo "$(YELLOW)→ Cleaning...$(NC)"
|
@echo "$(YELLOW)→ Cleaning...$(NC)"
|
||||||
$(CARGO) clean
|
$(CARGO) clean
|
||||||
|
|
||||||
|
## msrv-check: Does the declared rust-version name an installed toolchain on which the crate checks? (none declared: nothing)
|
||||||
|
msrv-check:
|
||||||
|
@$(KIT_DIR)/scripts/msrv-check.sh
|
||||||
|
|
||||||
|
.PHONY: msrv-check
|
||||||
|
|
||||||
## check: Code check (host, then EXTRA_TARGETS)
|
## check: Code check (host, then EXTRA_TARGETS)
|
||||||
check:
|
check:
|
||||||
@$(KIT_DIR)/scripts/publish-guard.sh
|
@$(KIT_DIR)/scripts/publish-guard.sh
|
||||||
@@ -138,8 +144,8 @@ clippy:
|
|||||||
watch:
|
watch:
|
||||||
$(CARGO) watch -x check
|
$(CARGO) watch -x check
|
||||||
|
|
||||||
## ci: Verification pipeline (deps-check fmt-check clippy test doc-build)
|
## ci: Verification pipeline (deps-check fmt-check clippy msrv-check test doc-build)
|
||||||
ci: deps-check fmt-check clippy test doc-build
|
ci: deps-check fmt-check clippy msrv-check test doc-build
|
||||||
@echo "$(GREEN)✓ All CI checks passed$(NC)"
|
@echo "$(GREEN)✓ All CI checks passed$(NC)"
|
||||||
|
|
||||||
## deps: Outdated dependencies
|
## deps: Outdated dependencies
|
||||||
|
|||||||
@@ -11,7 +11,10 @@ CARGO_TOML ?= Cargo.toml
|
|||||||
-include $(DEVPATCH_DIR)/org.mk
|
-include $(DEVPATCH_DIR)/org.mk
|
||||||
REGISTRY ?=
|
REGISTRY ?=
|
||||||
REGISTRY_INDEX ?=
|
REGISTRY_INDEX ?=
|
||||||
export CARGO_TOML REGISTRY REGISTRY_INDEX FORGE_TOKEN_FILE
|
# MEMBERS_DIR: folder of the workspace when it is not the project root (e.g. src): its Cargo.toml and its
|
||||||
|
# members are scanned by dev-patch and deps-check, in addition to the root ones.
|
||||||
|
MEMBERS_DIR ?=
|
||||||
|
export CARGO_TOML MEMBERS_DIR REGISTRY REGISTRY_INDEX FORGE_TOKEN_FILE
|
||||||
|
|
||||||
# Private registry: the index comes from the environment, never from a file tracked by the repository (CI,
|
# Private registry: the index comes from the environment, never from a file tracked by the repository (CI,
|
||||||
# Docker and a repository cloned alone therefore work without configuration).
|
# Docker and a repository cloned alone therefore work without configuration).
|
||||||
@@ -23,7 +26,7 @@ endif
|
|||||||
|
|
||||||
# Joint development: .cargo/config.toml (local, ignored) is regenerated at EVERY invocation of
|
# Joint development: .cargo/config.toml (local, ignored) is regenerated at EVERY invocation of
|
||||||
# make, whatever the target, from the project's actual dependencies. Nothing to remember.
|
# make, whatever the target, from the project's actual dependencies. Nothing to remember.
|
||||||
DEV_PATCH_RUN := $(shell CARGO_TOML='$(CARGO_TOML)' REGISTRY='$(REGISTRY)' REGISTRY_INDEX='$(REGISTRY_INDEX)' $(DEVPATCH_DIR)/scripts/dev-patch.sh)
|
DEV_PATCH_RUN := $(shell CARGO_TOML='$(CARGO_TOML)' MEMBERS_DIR='$(MEMBERS_DIR)' REGISTRY='$(REGISTRY)' REGISTRY_INDEX='$(REGISTRY_INDEX)' $(DEVPATCH_DIR)/scripts/dev-patch.sh)
|
||||||
|
|
||||||
.PHONY: dev-patch
|
.PHONY: dev-patch
|
||||||
## dev-patch: Regenerates .cargo/config.toml (registry + local patches); already done at every make
|
## dev-patch: Regenerates .cargo/config.toml (registry + local patches); already done at every make
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
# break -> x.y+1.0 while x = 0, otherwise x+1.0.0
|
# break -> x.y+1.0 while x = 0, otherwise x+1.0.0
|
||||||
# additions -> x.y+1.0 once x >= 1 (SemVer: new feature), x.y.z+1 while x = 0
|
# additions -> x.y+1.0 once x >= 1 (SemVer: new feature), x.y.z+1 while x = 0
|
||||||
# otherwise -> x.y.z+1
|
# otherwise -> x.y.z+1
|
||||||
# RELEASE=x.y.z forces the version. Updates Cargo.toml, version.txt and the
|
# RELEASE=x.y.z forces the version. Updates Cargo.toml, version.txt and the dependency
|
||||||
# dependency line `<crate> = "x.y"` of README.md when they exist.
|
# lines of README.md (`<crate> = "x.y"` or `<crate> = { version = "x.y", ... }`) when they exist.
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
. "$(dirname "$0")/common.sh"
|
. "$(dirname "$0")/common.sh"
|
||||||
|
|
||||||
@@ -61,7 +61,11 @@ sed -i.bak "s/^version = \"$current\"/version = \"$new_version\"/" "$CARGO_TOML"
|
|||||||
rm "$CARGO_TOML.bak"
|
rm "$CARGO_TOML.bak"
|
||||||
[ -f version.txt ] && echo "$new_version" >version.txt
|
[ -f version.txt ] && echo "$new_version" >version.txt
|
||||||
if [ -f README.md ]; then
|
if [ -f README.md ]; then
|
||||||
sed -i.bak "s/^$name = \"[0-9][0-9.]*\"/$name = \"$(echo "$new_version" | cut -d. -f1,2)\"/" README.md
|
short=$(echo "$new_version" | cut -d. -f1,2)
|
||||||
|
sed -E -i.bak \
|
||||||
|
-e "s/^(${name}[[:space:]]*=[[:space:]]*\")[0-9][0-9.]*\"/\1$short\"/" \
|
||||||
|
-e "s/^(${name}[[:space:]]*=[[:space:]]*\{([^}]*[ ,])?version[[:space:]]*=[[:space:]]*\")[0-9][0-9.]*\"/\1$short\"/" \
|
||||||
|
README.md
|
||||||
rm README.md.bak
|
rm README.md.bak
|
||||||
fi
|
fi
|
||||||
ok "✓ Version $new_version written to $CARGO_TOML (and version.txt, README.md if they exist)"
|
ok "✓ Version $new_version written to $CARGO_TOML (and version.txt, README.md if they exist)"
|
||||||
@@ -135,7 +135,7 @@ for manifest in "${manifests[@]}"; do
|
|||||||
new=$(floor_for "$latest")
|
new=$(floor_for "$latest")
|
||||||
rewrite_req "$manifest" "$key" "$new"
|
rewrite_req "$manifest" "$key" "$new"
|
||||||
info " $crate ($manifest): \"$req\" → \"$new\" (latest version: $latest)"
|
info " $crate ($manifest): \"$req\" → \"$new\" (latest version: $latest)"
|
||||||
updates+="$crate "
|
updates+="$crate@$latest "
|
||||||
else
|
else
|
||||||
bad "$crate ($manifest): the requirement \"$req\" does not accept the latest version $latest → \"$(floor_for "$latest")\" (make deps-bump)"
|
bad "$crate ($manifest): the requirement \"$req\" does not accept the latest version $latest → \"$(floor_for "$latest")\" (make deps-bump)"
|
||||||
fi
|
fi
|
||||||
@@ -150,21 +150,21 @@ for manifest in "${manifests[@]}"; do
|
|||||||
new=$(floor_for "$latest")
|
new=$(floor_for "$latest")
|
||||||
rewrite_req "$manifest" "$key" "$new"
|
rewrite_req "$manifest" "$key" "$new"
|
||||||
info " $crate ($manifest): \"$req\" → \"$new\" (latest version: $latest)"
|
info " $crate ($manifest): \"$req\" → \"$new\" (latest version: $latest)"
|
||||||
updates+="$crate "
|
updates+="$crate@$latest "
|
||||||
else
|
else
|
||||||
bad "$crate ($manifest): the requirement \"$req\" is behind the latest version $latest → \"$(floor_for "$latest")\" (make deps-bump)"
|
bad "$crate ($manifest): the requirement \"$req\" is behind the latest version $latest → \"$(floor_for "$latest")\" (make deps-bump)"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cargo.lock: on the latest version that the requirement accepts.
|
# Cargo.lock: on the latest version that the requirement accepts.
|
||||||
if [ -f Cargo.lock ]; then
|
if [ -f "$LOCKFILE" ]; then
|
||||||
locked=$(lock_entries | awk -v n="$crate" '$1 == n && index($3, "crates.io-index") { print $2 }' | sort -V | tail -n 1)
|
locked=$(lock_entries | awk -v n="$crate" '$1 == n && index($3, "crates.io-index") { print $2 }' | sort -V | tail -n 1)
|
||||||
if [ -n "$locked" ] && [ "$locked" != "$latest" ] &&
|
if [ -n "$locked" ] && [ "$locked" != "$latest" ] &&
|
||||||
[ "$(printf '%s\n%s\n' "$locked" "$latest" | sort -V | tail -n 1)" = "$latest" ]; then
|
[ "$(printf '%s\n%s\n' "$locked" "$latest" | sort -V | tail -n 1)" = "$latest" ]; then
|
||||||
if [ "$mode" = bump ]; then
|
if [ "$mode" = bump ]; then
|
||||||
updates+="$crate "
|
updates+="$crate@$latest "
|
||||||
else
|
else
|
||||||
bad "$crate: Cargo.lock is on $locked, the latest version is $latest → cargo update -p $crate (make deps-bump)"
|
bad "$crate: $LOCKFILE is on $locked, the latest version is $latest → cargo update $(lock_update_args "$crate" "$latest" crates.io-index) (make deps-bump)"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -180,10 +180,8 @@ if [ "$offline" -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$mode" = bump ] && [ -n "$updates" ]; then
|
if [ "$mode" = bump ] && [ -n "$updates" ]; then
|
||||||
for n in $(printf '%s\n' $updates | sort -u); do
|
# shellcheck disable=SC2086 # list of words
|
||||||
info " cargo update -p $n"
|
lock_update crates.io-index $updates
|
||||||
"$CARGO" update -p "$n" >/dev/null
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$fail" -ne 0 ]; then
|
if [ "$fail" -ne 0 ]; then
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ while IFS=$'\t' read -r manifest line; do
|
|||||||
sed -E "/^${name}[[:space:]]*=.*registry[[:space:]]*=[[:space:]]*\"$REGISTRY\"/ s/(version[[:space:]]*=[[:space:]]*\")[^\"]*/\1$new/" "$manifest" >"$manifest.tmp" &&
|
sed -E "/^${name}[[:space:]]*=.*registry[[:space:]]*=[[:space:]]*\"$REGISTRY\"/ s/(version[[:space:]]*=[[:space:]]*\")[^\"]*/\1$new/" "$manifest" >"$manifest.tmp" &&
|
||||||
mv "$manifest.tmp" "$manifest"
|
mv "$manifest.tmp" "$manifest"
|
||||||
info " $name ($manifest): \"$req\" → \"$new\" (latest published version: $latest)"
|
info " $name ($manifest): \"$req\" → \"$new\" (latest published version: $latest)"
|
||||||
updates+="$name "
|
updates+="$name@$latest "
|
||||||
else
|
else
|
||||||
bad "$name ($manifest): the requirement \"$req\" does not accept the latest published version $latest → $name = { version = \"$(req_for "$latest")\", registry = \"$REGISTRY\" } (make deps-bump)"
|
bad "$name ($manifest): the requirement \"$req\" does not accept the latest published version $latest → $name = { version = \"$(req_for "$latest")\", registry = \"$REGISTRY\" } (make deps-bump)"
|
||||||
fi
|
fi
|
||||||
@@ -99,13 +99,13 @@ while IFS=$'\t' read -r manifest line; do
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Cargo.lock: on the latest version if the dependency comes from the registry.
|
# Cargo.lock: on the latest version if the dependency comes from the registry.
|
||||||
if [ -f Cargo.lock ]; then
|
if [ -f "$LOCKFILE" ]; then
|
||||||
locked=$(lock_entries | awk -v n="$name" -v r="/api/packages/$REGISTRY/" '$1 == n && index($3, r) { print $2 }' | sort -V | tail -n 1)
|
locked=$(lock_entries | awk -v n="$name" -v r="/api/packages/$REGISTRY/" '$1 == n && index($3, r) { print $2 }' | sort -V | tail -n 1)
|
||||||
if [ -n "$locked" ] && [ "$locked" != "$latest" ] && [ "$acc" -eq 0 ]; then
|
if [ -n "$locked" ] && [ "$locked" != "$latest" ] && [ "$acc" -eq 0 ]; then
|
||||||
if [ "$mode" = bump ]; then
|
if [ "$mode" = bump ]; then
|
||||||
updates+="$name "
|
updates+="$name@$latest "
|
||||||
else
|
else
|
||||||
bad "$name: Cargo.lock is on $locked, the latest published version is $latest → cargo update -p $name (make deps-bump)"
|
bad "$name: $LOCKFILE is on $locked, the latest published version is $latest → cargo update $(lock_update_args "$name" "$latest" "/api/packages/$REGISTRY/") (make deps-bump)"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -132,14 +132,14 @@ if [ "$offline" -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Cargo.lock: ignored patch and duplicates.
|
# Cargo.lock: ignored patch and duplicates.
|
||||||
if [ -f Cargo.lock ]; then
|
if [ -f "$LOCKFILE" ]; then
|
||||||
unused=$(awk '
|
unused=$(awk '
|
||||||
/^\[\[patch.unused\]\]/ { u = 1; next }
|
/^\[\[patch.unused\]\]/ { u = 1; next }
|
||||||
/^\[/ { u = 0 }
|
/^\[/ { u = 0 }
|
||||||
u && /^name = / { gsub(/"/, "", $3); print $3 }
|
u && /^name = / { gsub(/"/, "", $3); print $3 }
|
||||||
' Cargo.lock | sort -u | paste -sd' ' -)
|
' "$LOCKFILE" | sort -u | paste -sd' ' -)
|
||||||
if [ -n "$unused" ] && [ "$mode" = check ]; then
|
if [ -n "$unused" ] && [ "$mode" = check ]; then
|
||||||
bad "Cargo.lock: local patch ignored for $unused — the project's requirement does not accept the version of the neighbouring folder"
|
bad "$LOCKFILE: local patch ignored for $unused — the project's requirement does not accept the version of the neighbouring folder"
|
||||||
fi
|
fi
|
||||||
dups=$(lock_entries | awk -v r="/api/packages/$REGISTRY/" '
|
dups=$(lock_entries | awk -v r="/api/packages/$REGISTRY/" '
|
||||||
{ c[$1]++; vs[$1] = vs[$1] " " $2; if ($3 == "-" || index($3, r)) p[$1] = 1 }
|
{ c[$1]++; vs[$1] = vs[$1] " " $2; if ($3 == "-" || index($3, r)) p[$1] = 1 }
|
||||||
@@ -147,16 +147,14 @@ if [ -f Cargo.lock ]; then
|
|||||||
')
|
')
|
||||||
if [ -n "$dups" ]; then
|
if [ -n "$dups" ]; then
|
||||||
while IFS= read -r d; do
|
while IFS= read -r d; do
|
||||||
bad "Cargo.lock: several versions of ${d%%:*} in the build (${d#*: }) — align the requirements of the crates that depend on it"
|
bad "$LOCKFILE: several versions of ${d%%:*} in the build (${d#*: }) — align the requirements of the crates that depend on it"
|
||||||
done <<<"$dups"
|
done <<<"$dups"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$mode" = bump ] && [ -n "$updates" ]; then
|
if [ "$mode" = bump ] && [ -n "$updates" ]; then
|
||||||
for n in $(printf '%s\n' $updates | sort -u); do
|
# shellcheck disable=SC2086 # list of words
|
||||||
info " cargo update -p $n"
|
lock_update "/api/packages/$REGISTRY/" $updates
|
||||||
"$CARGO" update -p "$n" >/dev/null
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$fail" -ne 0 ]; then
|
if [ "$fail" -ne 0 ]; then
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Functions shared by the dependency checks (deps-check.sh, deps-check-external.sh).
|
# Functions shared by the dependency checks (deps-check.sh, deps-check-external.sh).
|
||||||
# To be sourced after common.sh. Nothing here writes a file.
|
# To be sourced after common.sh. Only lock_update writes a file (Cargo.lock, through cargo).
|
||||||
|
|
||||||
index_url="${REGISTRY_INDEX#sparse+}"
|
index_url="${REGISTRY_INDEX#sparse+}"
|
||||||
index_url="${index_url%/}"
|
index_url="${index_url%/}"
|
||||||
@@ -53,6 +53,15 @@ req_for() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Cargo.lock of the project and the cargo option that designates its workspace. The workspace is the
|
||||||
|
# root, unless MEMBERS_DIR holds it (a Cargo.toml with a [workspace] table).
|
||||||
|
LOCKFILE=Cargo.lock
|
||||||
|
workspace_args=""
|
||||||
|
if [ -n "${MEMBERS_DIR:-}" ] && grep -q '^\[workspace[].]' "$MEMBERS_DIR/Cargo.toml" 2>/dev/null; then
|
||||||
|
LOCKFILE="$MEMBERS_DIR/Cargo.lock"
|
||||||
|
workspace_args="--manifest-path $MEMBERS_DIR/Cargo.toml "
|
||||||
|
fi
|
||||||
|
|
||||||
# Packages of Cargo.lock, one per line: "name version source" ("-" without source). The
|
# Packages of Cargo.lock, one per line: "name version source" ("-" without source). The
|
||||||
# [[patch.unused]] blocks are excluded.
|
# [[patch.unused]] blocks are excluded.
|
||||||
lock_entries() {
|
lock_entries() {
|
||||||
@@ -64,12 +73,51 @@ lock_entries() {
|
|||||||
inpkg && /^version = / { gsub(/"/, "", $3); v = $3 }
|
inpkg && /^version = / { gsub(/"/, "", $3); v = $3 }
|
||||||
inpkg && /^source = / { gsub(/"/, "", $3); s = $3 }
|
inpkg && /^source = / { gsub(/"/, "", $3); s = $3 }
|
||||||
END { flush() }
|
END { flush() }
|
||||||
' Cargo.lock
|
' "$LOCKFILE"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Semver-compatible series of version $1: x (≥ 1), 0.y, or 0.0.z itself.
|
||||||
|
series() {
|
||||||
|
case "$1" in
|
||||||
|
0.0.*) echo "$1" ;;
|
||||||
|
0.*) echo "$1" | cut -d. -f1,2 ;;
|
||||||
|
*) echo "$1" | cut -d. -f1 ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
# Arguments of `cargo update` that move crate $1, taken from the sources containing $3, to its latest
|
||||||
|
# version $2. When Cargo.lock holds several versions of the crate, the bare name is ambiguous: the one
|
||||||
|
# of the series of $2 is named. If there is none (the requirement has just been raised to a new
|
||||||
|
# series), `--workspace` makes cargo resolve the new requirement.
|
||||||
|
lock_update_args() {
|
||||||
|
local count=0 v old=""
|
||||||
|
[ -f "$LOCKFILE" ] && count=$(lock_entries | awk -v n="$1" '$1 == n' | wc -l)
|
||||||
|
if [ "$count" -le 1 ]; then
|
||||||
|
echo "$workspace_args-p $1"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
for v in $(lock_entries | awk -v n="$1" -v s="$3" '$1 == n && index($3, s) { print $2 }'); do
|
||||||
|
[ "$(series "$v")" = "$(series "$2")" ] && old="$v"
|
||||||
|
done
|
||||||
|
if [ -n "$old" ]; then echo "$workspace_args-p $1@$old"; else echo "$workspace_args--workspace"; fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Runs the `cargo update` of each "crate@latest" of $2…, taken from the sources containing $1.
|
||||||
|
lock_update() {
|
||||||
|
local source="$1" u args
|
||||||
|
shift
|
||||||
|
for u in $(printf '%s\n' "$@" | sort -u); do
|
||||||
|
args=$(lock_update_args "${u%@*}" "${u#*@}" "$source")
|
||||||
|
info " cargo update $args"
|
||||||
|
# shellcheck disable=SC2086 # list of words, without spaces inside
|
||||||
|
"$CARGO" update $args >/dev/null
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
manifests=("$CARGO_TOML")
|
manifests=("$CARGO_TOML")
|
||||||
# Root of a workspace whose member CARGO_TOML designates (workspace): shared dependencies.
|
# Root of a workspace whose member CARGO_TOML designates (workspace): shared dependencies.
|
||||||
[ "$CARGO_TOML" != Cargo.toml ] && [ -f Cargo.toml ] && manifests+=(Cargo.toml)
|
[ "$CARGO_TOML" != Cargo.toml ] && [ -f Cargo.toml ] && manifests+=(Cargo.toml)
|
||||||
for m in */Cargo.toml; do
|
# MEMBERS_DIR: folder holding the workspace (root Cargo.toml and members) when it is not the project root.
|
||||||
if [ -f "$m" ]; then manifests+=("$m"); fi
|
for m in */Cargo.toml ${MEMBERS_DIR:+"$MEMBERS_DIR/Cargo.toml" "$MEMBERS_DIR"/*/Cargo.toml}; do
|
||||||
|
if [ -f "$m" ] && [ "$m" != "$CARGO_TOML" ]; then manifests+=("$m"); fi
|
||||||
done
|
done
|
||||||
@@ -7,7 +7,8 @@
|
|||||||
# (Cargo complains about it), whatever the number of crates coming out of a workspace.
|
# (Cargo complains about it), whatever the number of crates coming out of a workspace.
|
||||||
#
|
#
|
||||||
# Run by crate.mk on every make invocation. The file is rewritten only if it changes.
|
# Run by crate.mk on every make invocation. The file is rewritten only if it changes.
|
||||||
# Reads the root Cargo.toml and those of the direct subfolders (workspace members);
|
# Reads the root Cargo.toml and those of the direct subfolders (workspace members), and, if MEMBERS_DIR is set,
|
||||||
|
# those of that folder (its Cargo.toml and its direct subfolders);
|
||||||
# only the dependencies on one line `name = { …, registry = "<registry>" }` are seen.
|
# only the dependencies on one line `name = { …, registry = "<registry>" }` are seen.
|
||||||
# A .cargo/config.toml that was not generated by this script is never overwritten (warning).
|
# A .cargo/config.toml that was not generated by this script is never overwritten (warning).
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
@@ -31,7 +32,11 @@ manifests=("$CARGO_TOML")
|
|||||||
# Root of a workspace whose member CARGO_TOML designates (workspace): this is where the shared
|
# Root of a workspace whose member CARGO_TOML designates (workspace): this is where the shared
|
||||||
# dependencies ([workspace.dependencies]) are declared.
|
# dependencies ([workspace.dependencies]) are declared.
|
||||||
[ "$CARGO_TOML" != Cargo.toml ] && [ -f Cargo.toml ] && manifests+=(Cargo.toml)
|
[ "$CARGO_TOML" != Cargo.toml ] && [ -f Cargo.toml ] && manifests+=(Cargo.toml)
|
||||||
for m in */Cargo.toml; do [ -f "$m" ] && manifests+=("$m"); done
|
# MEMBERS_DIR: folder holding the workspace (root Cargo.toml and members), when it is not the project root
|
||||||
|
# (application workspace with its crates under src/: MEMBERS_DIR := src).
|
||||||
|
for m in */Cargo.toml ${MEMBERS_DIR:+"$MEMBERS_DIR/Cargo.toml" "$MEMBERS_DIR"/*/Cargo.toml}; do
|
||||||
|
[ -f "$m" ] && [ "$m" != "$CARGO_TOML" ] && manifests+=("$m")
|
||||||
|
done
|
||||||
|
|
||||||
registry_deps() {
|
registry_deps() {
|
||||||
sed -nE "s/^([A-Za-z0-9_-]+)[[:space:]]*=[[:space:]]*\{[^}]*registry[[:space:]]*=[[:space:]]*\"$REGISTRY\".*/\1/p" "$@"
|
sed -nE "s/^([A-Za-z0-9_-]+)[[:space:]]*=[[:space:]]*\{[^}]*registry[[:space:]]*=[[:space:]]*\"$REGISTRY\".*/\1/p" "$@"
|
||||||
|
|||||||
Executable
+28
@@ -0,0 +1,28 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Checks the `rust-version` declared in Cargo.toml. It is a guarantee ("this crate builds with that toolchain"),
|
||||||
|
# so it must name a toolchain that is INSTALLED here and on which the crate really passes `cargo check`:
|
||||||
|
# a version nobody tested is a promise nobody can keep.
|
||||||
|
# - no rust-version: nothing to check (exit 0);
|
||||||
|
# - rust-version but no matching installed toolchain: refused, with the command to install it;
|
||||||
|
# - otherwise `cargo +<toolchain> check --all-targets` must pass.
|
||||||
|
# The toolchain is matched on the version as written: "1.100" matches 1.100.x, "1.100.0" matches only 1.100.0.
|
||||||
|
set -euo pipefail
|
||||||
|
. "$(dirname "$0")/common.sh"
|
||||||
|
|
||||||
|
[ -f "$CARGO_TOML" ] || exit 0
|
||||||
|
ver=$(sed -nE 's/^rust-version[[:space:]]*=[[:space:]]*"([^"]+)".*/\1/p' "$CARGO_TOML" | head -n 1)
|
||||||
|
[ -n "$ver" ] || exit 0
|
||||||
|
|
||||||
|
if ! command -v rustup >/dev/null; then
|
||||||
|
err "✗ rust-version = \"$ver\" but rustup is absent: the claim cannot be tested here"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
pat="^$(printf '%s' "$ver" | sed 's/\./\\./g')(\\.[0-9]+)?-"
|
||||||
|
tc=$(rustup toolchain list | awk '{print $1}' | grep -E "$pat" | head -n 1 || true)
|
||||||
|
if [ -z "$tc" ]; then
|
||||||
|
err "✗ rust-version = \"$ver\": no such toolchain installed, so it cannot be tested."
|
||||||
|
err " Install it (rustup toolchain install $ver) and re-run, or declare a version that is installed."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
info "→ Checking the code with toolchain $tc (rust-version = \"$ver\")..."
|
||||||
|
"$CARGO" "+$tc" check --all-targets
|
||||||
@@ -1,12 +1,30 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Safeguard: a crate published on a private registry declares `publish = ["<registry>"]` in its
|
# Safeguards before a publication:
|
||||||
# Cargo.toml, so that cargo itself refuses any publication elsewhere (crates.io for example).
|
# 1. a crate published on a private registry declares `publish = ["<registry>"]` in its Cargo.toml, so that
|
||||||
|
# cargo itself refuses any publication elsewhere (crates.io for example);
|
||||||
|
# 2. the published archive does not carry the kit's own files (.crate-kit/, .gitea/, api/, Makefile):
|
||||||
|
# development tooling, useless to the users of the crate. `exclude` in [package] keeps them out.
|
||||||
# Not applicable: kind without publication (PUBLISH=no), registry absent or crates-io.
|
# Not applicable: kind without publication (PUBLISH=no), registry absent or crates-io.
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
. "$(dirname "$0")/common.sh"
|
. "$(dirname "$0")/common.sh"
|
||||||
[ "${PUBLISH:-yes}" = no ] && exit 0
|
[ "${PUBLISH:-yes}" = no ] && exit 0
|
||||||
{ [ -n "$REGISTRY" ] && [ "$REGISTRY" != crates-io ]; } || exit 0
|
{ [ -n "$REGISTRY" ] && [ "$REGISTRY" != crates-io ]; } || exit 0
|
||||||
[ -f "$CARGO_TOML" ] || exit 0
|
[ -f "$CARGO_TOML" ] || exit 0
|
||||||
grep -qE "^publish[[:space:]]*=[[:space:]]*\[[[:space:]]*\"$REGISTRY\"[[:space:]]*\]" "$CARGO_TOML" && exit 0
|
if ! grep -qE "^publish[[:space:]]*=[[:space:]]*\[[[:space:]]*\"$REGISTRY\"[[:space:]]*\]" "$CARGO_TOML"; then
|
||||||
err "✗ $CARGO_TOML : publish = [\"$REGISTRY\"] missing in [package] (without it, cargo publish would accept crates.io)"
|
err "✗ $CARGO_TOML : publish = [\"$REGISTRY\"] missing in [package] (without it, cargo publish would accept crates.io)"
|
||||||
exit 1
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# What cargo would really put in the archive (not a reading of Cargo.toml).
|
||||||
|
if ! listing=$("$CARGO" package --allow-dirty --list --manifest-path "$CARGO_TOML" 2>&1); then
|
||||||
|
err "✗ cannot list the files of the package, so its content cannot be checked:"
|
||||||
|
printf '%s\n' "$listing" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
internal=$(printf '%s\n' "$listing" | grep -E '^(\.crate-kit/|\.gitea/|api/|Makefile$)' || true)
|
||||||
|
if [ -n "$internal" ]; then
|
||||||
|
err "✗ the published archive would contain the kit's internal files:"
|
||||||
|
printf '%s\n' "$internal" | head -n 5 | sed 's/^/ /' >&2
|
||||||
|
err " add to [package] of $CARGO_TOML: exclude = [\".crate-kit/\", \".gitea/\", \"api/\", \"Makefile\"]"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
@@ -17,6 +17,8 @@ if [ "${PUBLISH:-yes}" = no ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
[ -n "$REGISTRY" ] || { err "✗ no registry: declare the kit extension (KIT_OVERLAY in the Makefile, org.mk) or set REGISTRY = crates-io"; exit 1; }
|
[ -n "$REGISTRY" ] || { err "✗ no registry: declare the kit extension (KIT_OVERLAY in the Makefile, org.mk) or set REGISTRY = crates-io"; exit 1; }
|
||||||
|
# Same safeguards as `make check` (publish = [...] and no internal file in the archive): the CI runs this script.
|
||||||
|
"$(dirname "$0")/publish-guard.sh"
|
||||||
version=$(current_version)
|
version=$(current_version)
|
||||||
name=$(crate_name)
|
name=$(crate_name)
|
||||||
if [ -n "${DRY_RUN:-}" ]; then
|
if [ -n "${DRY_RUN:-}" ]; then
|
||||||
|
|||||||
@@ -5,6 +5,11 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- "v*"
|
- "v*"
|
||||||
|
|
||||||
|
# Private cargo registry `obi` (public read access): the index normally comes from `make` (obi-kit, org.mk),
|
||||||
|
# which these jobs do not use, and `.cargo/config.toml` is not versioned.
|
||||||
|
env:
|
||||||
|
CARGO_REGISTRIES_OBI_INDEX: sparse+https://forge.metabarcoding.org/api/packages/obi/cargo/
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-release:
|
create-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -104,9 +109,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Build macOS binary
|
- name: Build macOS binary
|
||||||
run: |
|
run: |
|
||||||
|
# The build runs in a container: the registry index of the workflow env must be passed explicitly.
|
||||||
CID=$(docker create \
|
CID=$(docker create \
|
||||||
|
-e CARGO_REGISTRIES_OBI_INDEX \
|
||||||
-w /src/src \
|
-w /src/src \
|
||||||
registry.metabarcoding.org/cibuilder/rustcrossosx:latest \
|
registry.metabarcoding.org/cibuilder/rustcrossosx:1.100.0 \
|
||||||
cargo build --release --target aarch64-apple-darwin --no-default-features)
|
cargo build --release --target aarch64-apple-darwin --no-default-features)
|
||||||
docker cp . "$CID:/src"
|
docker cp . "$CID:/src"
|
||||||
docker start -a "$CID"
|
docker start -a "$CID"
|
||||||
|
|||||||
Generated
-7
@@ -1,7 +0,0 @@
|
|||||||
# This file is automatically @generated by Cargo.
|
|
||||||
# It is not intended for manual editing.
|
|
||||||
version = 4
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "obikseq"
|
|
||||||
version = "0.1.0"
|
|
||||||
+201
-5
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>obikmer</title>
|
<title>obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="/." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="/." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -129,13 +129,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="/." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="/." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -387,6 +387,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="/theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="/theory/evolutionary_distances/" class="md-nav__link">
|
<a href="/theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -409,6 +437,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="/theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="/theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -665,6 +749,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="/implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="/implementation/unitig_evidence/" class="md-nav__link">
|
<a href="/implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -861,6 +973,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="/implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="/implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="/implementation/filtering/" class="md-nav__link">
|
<a href="/implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1139,6 +1307,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="/architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="/architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="/architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Index architecture.refs - obikmer</title>
|
<title>Index architecture.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../numa_worker_pools/" class="md-nav__link">
|
<a href="../numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Kmer index - obikmer</title>
|
<title>Kmer index - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -674,6 +758,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -870,6 +982,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1390,6 +1558,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../numa_worker_pools/" class="md-nav__link">
|
<a href="../numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>NUMA-aware partition runner - obikmer</title>
|
<title>NUMA-aware partition runner - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -136,13 +136,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -394,6 +394,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -416,6 +444,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -672,6 +756,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -868,6 +980,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1148,6 +1316,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../numa_worker_pools/" class="md-nav__link">
|
<a href="../numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="prev" href="../siblings/">
|
<link rel="prev" href="../hot_resume_memoization/">
|
||||||
|
|
||||||
|
|
||||||
<link rel="next" href="../numa_partition_runner/">
|
<link rel="next" href="../numa_partition_runner/">
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>NUMA-aware worker pools - obikmer</title>
|
<title>NUMA-aware worker pools - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -674,6 +758,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -870,6 +982,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1150,6 +1318,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item md-nav__item--active">
|
<li class="md-nav__item md-nav__item--active">
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Query.refs - obikmer</title>
|
<title>Query.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../numa_worker_pools/" class="md-nav__link">
|
<a href="../numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1270,7 +1466,7 @@
|
|||||||
<h1 id="coverage-architecturequerymd">Coverage: architecture/query.md</h1>
|
<h1 id="coverage-architecturequerymd">Coverage: architecture/query.md</h1>
|
||||||
<h2 id="code-couvert">Code couvert</h2>
|
<h2 id="code-couvert">Code couvert</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>obikmer/src/cmd/query.rs</code> — commande query, format de sortie</li>
|
<li><code>obiskim/src/cmd/query.rs</code> — commande query, format de sortie</li>
|
||||||
<li><code>obikindex/src/partition/query_layer.rs</code> — routage de la requête à travers les partitions</li>
|
<li><code>obikindex/src/partition/query_layer.rs</code> — routage de la requête à travers les partitions</li>
|
||||||
<li><code>obiread/src/lib.rs</code> — lecture des séquences d'entrée pour la requête</li>
|
<li><code>obiread/src/lib.rs</code> — lecture des séquences d'entrée pour la requête</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Query system - obikmer</title>
|
<title>Query system - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../numa_worker_pools/" class="md-nav__link">
|
<a href="../numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1524,6 +1720,45 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="#query-memory-partitionkmers-replaces-the-per-partition-hashmap-2026-10-15" class="md-nav__link">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
Query memory: PartitionKmers replaces the per-partition HashMap (2026-10-15)
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<nav class="md-nav" aria-label="Query memory: PartitionKmers replaces the per-partition HashMap (2026-10-15)">
|
||||||
|
<ul class="md-nav__list">
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="#chunk-size-sweep-on-a-small-input-2026-10-15" class="md-nav__link">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
Chunk size sweep on a small input (2026-10-15)
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="#automatic-chunk-size-now-follows-the-input-size-2026-10-15" class="md-nav__link">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
Automatic chunk size now follows the input size (2026-10-15)
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
@@ -1561,7 +1796,7 @@
|
|||||||
decompose all sequences into superkmers (SuperKmerIter) — construction only,
|
decompose all sequences into superkmers (SuperKmerIter) — construction only,
|
||||||
not the dedup key
|
not the dedup key
|
||||||
deduplicate at k-mer granularity, split by partition in the same pass:
|
deduplicate at k-mer granularity, split by partition in the same pass:
|
||||||
by_partition: Vec<HashMap<CanonicalKmer, Vec<KmerDesc>>> ← KmerDesc = (seq_idx, pos)
|
by_partition: Vec<PartitionKmers> ← sorted unique k-mers + flat KmerDesc = (seq_idx, pos) slices (2026-10-15, was a HashMap — see "Query memory" below)
|
||||||
allocate SmerIndex (SmerIndex::new): in_index: Vec<bool>, sized total_smers —
|
allocate SmerIndex (SmerIndex::new): in_index: Vec<bool>, sized total_smers —
|
||||||
NOT multiplied by n_genomes
|
NOT multiplied by n_genomes
|
||||||
allocate by_genome: Vec<Vec<(seq_idx, pos, value)>>, one empty Vec per genome —
|
allocate by_genome: Vec<Vec<(seq_idx, pos, value)>>, one empty Vec per genome —
|
||||||
@@ -1733,7 +1968,7 @@ ATCGATCG...
|
|||||||
<p><code>kmer_count + kmer_missing</code> ≤ total k_user-mers in the sequence. The gap corresponds to k_user-mers whose z-window was not fully confirmed (at least one s-mer absent or zero for all genomes) but whose first s-mer was present in the index.</p>
|
<p><code>kmer_count + kmer_missing</code> ≤ total k_user-mers in the sequence. The gap corresponds to k_user-mers whose z-window was not fully confirmed (at least one s-mer absent or zero for all genomes) but whose first s-mer was present in the index.</p>
|
||||||
<hr />
|
<hr />
|
||||||
<h2 id="cli">CLI</h2>
|
<h2 id="cli">CLI</h2>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer query <index> [--detail] [--mismatch] [--count-missing]
|
<div class="highlight"><pre><span></span><code>obiskim query <index> [--detail] [--mismatch] [--count-missing]
|
||||||
[--force-presence] [--presence-threshold <n>]
|
[--force-presence] [--presence-threshold <n>]
|
||||||
[-z <z>] [-T <threads>] [--chunk-size <MiB>]
|
[-z <z>] [-T <threads>] [--chunk-size <MiB>]
|
||||||
<query.fa> [<query2.fa> ...]
|
<query.fa> [<query2.fa> ...]
|
||||||
@@ -1813,7 +2048,7 @@ replacing the <code>CanonicalKmer</code> key by the resolved <code>slot</code> (
|
|||||||
<p><strong>7. Partition-level parallelism is currently absent — and a NUMA-aware mechanism for exactly this already exists, unused, in <code>obikindex</code>.</strong>
|
<p><strong>7. Partition-level parallelism is currently absent — and a NUMA-aware mechanism for exactly this already exists, unused, in <code>obikindex</code>.</strong>
|
||||||
<code>process_chunk</code>'s partition loop (<code>query.rs:250-278</code>, <code>for (part_idx, part_sks) in by_part.iter().enumerate()</code>) processes every partition of a chunk sequentially on the single worker thread that owns that chunk. This is a parallelism axis on its own, independent of the column question below.
|
<code>process_chunk</code>'s partition loop (<code>query.rs:250-278</code>, <code>for (part_idx, part_sks) in by_part.iter().enumerate()</code>) processes every partition of a chunk sequentially on the single worker thread that owns that chunk. This is a parallelism axis on its own, independent of the column question below.
|
||||||
More importantly: <code>docmd/architecture/numa_partition_runner.md</code> and <code>numa_worker_pools.md</code> document <code>PartitionRunner</code> (<code>obikindex/src/numa.rs</code>), <strong>already implemented</strong> and already used by <code>merge.rs</code>, <code>index.rs</code> (<code>build_layers</code>), <code>select.rs</code>, <code>reindex.rs</code>, <code>rebuild.rs</code> — one controller thread per NUMA node, a Rayon pool pinned to that node's CPUs (<code>hwlocality</code>, <code>numa</code> feature, default-on in <code>obikindex/Cargo.toml</code>), adaptive worker activation driven by <em>both</em> a CPU-efficiency signal and an I/O-throughput signal (<code>CpuSample</code>/<code>IoSample</code>, <code>/proc/self/io</code> on Linux). It exists precisely because a naive <code>into_par_iter()</code> on the global Rayon pool measurably degrades ×60 on this codebase's own 192-core/8-NUMA reference machine (<code>numa_worker_pools.md</code>, § Problem) once workers contend for cross-socket memory bandwidth on shared mmap'd/hashed structures — exactly the shape of the matrix-column scan in point 8 below.
|
More importantly: <code>docmd/architecture/numa_partition_runner.md</code> and <code>numa_worker_pools.md</code> document <code>PartitionRunner</code> (<code>obikindex/src/numa.rs</code>), <strong>already implemented</strong> and already used by <code>merge.rs</code>, <code>index.rs</code> (<code>build_layers</code>), <code>select.rs</code>, <code>reindex.rs</code>, <code>rebuild.rs</code> — one controller thread per NUMA node, a Rayon pool pinned to that node's CPUs (<code>hwlocality</code>, <code>numa</code> feature, default-on in <code>obikindex/Cargo.toml</code>), adaptive worker activation driven by <em>both</em> a CPU-efficiency signal and an I/O-throughput signal (<code>CpuSample</code>/<code>IoSample</code>, <code>/proc/self/io</code> on Linux). It exists precisely because a naive <code>into_par_iter()</code> on the global Rayon pool measurably degrades ×60 on this codebase's own 192-core/8-NUMA reference machine (<code>numa_worker_pools.md</code>, § Problem) once workers contend for cross-socket memory bandwidth on shared mmap'd/hashed structures — exactly the shape of the matrix-column scan in point 8 below.
|
||||||
<code>obikmer</code> already depends on <code>obikindex</code> (<code>obikmer/Cargo.toml</code>, for <code>KmerIndex</code>), so <code>PartitionRunner</code> is directly reachable from <code>cmd/query.rs</code> — no new dependency. Both the partition-level loop and (see point 8) the genome-column scan should be driven through it rather than through ad-hoc <code>rayon::into_par_iter()</code>, to avoid reproducing the already-measured-and-fixed contention problem. Also relevant: the "CPU-only signal stalls on I/O-bound stages" issue documented for <code>pack_matrices</code> (mmap-heavy, page-fault-bound) applies just as much to a column-major mmap scan over persistent matrices — reuse the existing dual CPU/IO activation signal rather than re-deriving one.</p>
|
<code>obiskim</code> already depends on <code>obikindex</code> (<code>obiskim/Cargo.toml</code>, for <code>KmerIndex</code>), so <code>PartitionRunner</code> is directly reachable from <code>cmd/query.rs</code> — no new dependency. Both the partition-level loop and (see point 8) the genome-column scan should be driven through it rather than through ad-hoc <code>rayon::into_par_iter()</code>, to avoid reproducing the already-measured-and-fixed contention problem. Also relevant: the "CPU-only signal stalls on I/O-bound stages" issue documented for <code>pack_matrices</code> (mmap-heavy, page-fault-bound) applies just as much to a column-major mmap scan over persistent matrices — reuse the existing dual CPU/IO activation signal rather than re-deriving one.</p>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p><strong>Correction from implementation (Phase 4 below)</strong>: this turned out not to be viable as described. <code>PartitionRunner::run()</code>'s actual body spawns roughly one OS thread per worker slot across every NUMA node <strong>on every call</strong> (confirmed by reading <code>numa.rs</code>, not just its doc comments) — fine for the one-call-per-command-invocation batch usage in <code>merge</code>/<code>build_layers</code>, but <code>query_partition_with</code> runs once per <code>(chunk, partition)</code>, far too frequently to absorb that spawn cost. Partition-level parallelism via <code>PartitionRunner</code> is deferred, not implemented. See Phase 4's "What did not ship, and why" for the detail.</p>
|
<p><strong>Correction from implementation (Phase 4 below)</strong>: this turned out not to be viable as described. <code>PartitionRunner::run()</code>'s actual body spawns roughly one OS thread per worker slot across every NUMA node <strong>on every call</strong> (confirmed by reading <code>numa.rs</code>, not just its doc comments) — fine for the one-call-per-command-invocation batch usage in <code>merge</code>/<code>build_layers</code>, but <code>query_partition_with</code> runs once per <code>(chunk, partition)</code>, far too frequently to absorb that spawn cost. Partition-level parallelism via <code>PartitionRunner</code> is deferred, not implemented. See Phase 4's "What did not ship, and why" for the detail.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
@@ -1834,19 +2069,19 @@ Stage 2's output should be <code>HashMap<genome_idx, Vec<(seq_idx, positio
|
|||||||
<p>None of this is implemented yet — parked here as a coherent roadmap while the design is discussed further. Suggested dependency order: (1) I/O parallelism → (3) genome-aware chunk sizing → (4)–(9) staged/k-mer-deduped/NUMA-aware-partition-and-column-major/sparse query engine (larger refactor, biggest structural payoff — reuses <code>PartitionRunner</code> rather than inventing a new parallelism mechanism) → (2) parallel gzip (separate, orthogonal, tracked in chunkreader.md) → secondary diagnostics patterns.</p>
|
<p>None of this is implemented yet — parked here as a coherent roadmap while the design is discussed further. Suggested dependency order: (1) I/O parallelism → (3) genome-aware chunk sizing → (4)–(9) staged/k-mer-deduped/NUMA-aware-partition-and-column-major/sparse query engine (larger refactor, biggest structural payoff — reuses <code>PartitionRunner</code> rather than inventing a new parallelism mechanism) → (2) parallel gzip (separate, orthogonal, tracked in chunkreader.md) → secondary diagnostics patterns.</p>
|
||||||
<hr />
|
<hr />
|
||||||
<h2 id="implementation-plan">Implementation plan</h2>
|
<h2 id="implementation-plan">Implementation plan</h2>
|
||||||
<p>Concrete, phased translation of the roadmap above. Phases 0–2 are small, independent, low-risk, and each individually testable against current <code>query</code> output — land them first, in order, and measure on the reference 192-core/8-NUMA machine before deciding whether phases 3–5 (the staged/sparse engine, the larger structural payoff) are still worth their cost. Phases 3–5 are one coordinated change spanning <code>obikmer</code>, <code>obikindex::partition</code>, and <code>obicompactvec</code> — they should not be split across releases mid-way, because the intermediate state (e.g. k-mer-level dedup feeding the old dense <code>KmerResults</code>) has no correctness or performance benefit on its own. Phase 6 is unrelated to phases 0–5 and can happen any time, independently, if <code>rapidgzip-rs</code> is validated (see <a href="../../implementation/chunkreader/#future-work--parallel-gzip-decompression-in-xopen">chunkreader.md</a>).</p>
|
<p>Concrete, phased translation of the roadmap above. Phases 0–2 are small, independent, low-risk, and each individually testable against current <code>query</code> output — land them first, in order, and measure on the reference 192-core/8-NUMA machine before deciding whether phases 3–5 (the staged/sparse engine, the larger structural payoff) are still worth their cost. Phases 3–5 are one coordinated change spanning <code>obiskim</code>, <code>obikindex::partition</code>, and <code>obicompactvec</code> — they should not be split across releases mid-way, because the intermediate state (e.g. k-mer-level dedup feeding the old dense <code>KmerResults</code>) has no correctness or performance benefit on its own. Phase 6 is unrelated to phases 0–5 and can happen any time, independently, if <code>rapidgzip-rs</code> is validated (see <a href="../../implementation/chunkreader/#future-work--parallel-gzip-decompression-in-xopen">chunkreader.md</a>).</p>
|
||||||
<p>Instrumentation is deliberately sequenced <em>before</em> the I/O fix (reordering the roadmap's own listed order), because every later phase's justification rests on a measurement ("to be measured, not assumed" appears throughout the roadmap above) — without it, phases 3–5 would be undertaken on faith.</p>
|
<p>Instrumentation is deliberately sequenced <em>before</em> the I/O fix (reordering the roadmap's own listed order), because every later phase's justification rests on a measurement ("to be measured, not assumed" appears throughout the roadmap above) — without it, phases 3–5 would be undertaken on faith.</p>
|
||||||
<p>Performance measurement on the reference 192-core/8-NUMA machine is done by the project owner, not from this development environment (macOS, 16 cores — <code>PartitionRunner</code>'s NUMA pinning is Linux-only, so even phase 4's mechanism can't be functionally exercised for its actual purpose here). Each phase below is therefore written to be <em>self-measuring</em>: the debug-level logging it adds must be enough, on its own, to judge whether that phase's algorithmic choice paid off from a cluster run's logs, without needing to attach a profiler.</p>
|
<p>Performance measurement on the reference 192-core/8-NUMA machine is done by the project owner, not from this development environment (macOS, 16 cores — <code>PartitionRunner</code>'s NUMA pinning is Linux-only, so even phase 4's mechanism can't be functionally exercised for its actual purpose here). Each phase below is therefore written to be <em>self-measuring</em>: the debug-level logging it adds must be enough, on its own, to judge whether that phase's algorithmic choice paid off from a cluster run's logs, without needing to attach a profiler.</p>
|
||||||
<h3 id="conventions-applied-to-every-phase-below">Conventions applied to every phase below</h3>
|
<h3 id="conventions-applied-to-every-phase-below">Conventions applied to every phase below</h3>
|
||||||
<p><strong>Debug logging.</strong> Every phase that changes an algorithmic choice (not phase 0, which <em>is</em> the logging) adds <code>tracing::debug!</code>/<code>trace!</code> at points that let a cluster run's logs answer "did this help": counts, ratios, and timings that quantify the specific claim that phase makes — e.g. phase 3 must log how many MPHF <code>find</code> calls were saved by k-mer-level dedup (the whole justification for that phase), phase 4 must log per-column scan timings, phase 5 must log actual retained-memory / sparsity ratios achieved. Prefer one structured <code>debug!</code> per chunk (fields, not prose) over free-text — the cluster logs will be the only evidence available for judging these choices, so they need to be grep/awk-able, not just readable.</p>
|
<p><strong>Debug logging.</strong> Every phase that changes an algorithmic choice (not phase 0, which <em>is</em> the logging) adds <code>tracing::debug!</code>/<code>trace!</code> at points that let a cluster run's logs answer "did this help": counts, ratios, and timings that quantify the specific claim that phase makes — e.g. phase 3 must log how many MPHF <code>find</code> calls were saved by k-mer-level dedup (the whole justification for that phase), phase 4 must log per-column scan timings, phase 5 must log actual retained-memory / sparsity ratios achieved. Prefer one structured <code>debug!</code> per chunk (fields, not prose) over free-text — the cluster logs will be the only evidence available for judging these choices, so they need to be grep/awk-able, not just readable.</p>
|
||||||
<p><strong>Unit tests.</strong> This project's convention (<code>obiread</code>, <code>obikseq</code>, <code>obidebruinj</code>, <code>obicompactvec</code>, <code>obikindex::layer</code>, <code>obiskio</code>, <code>obifastwrite</code>) is <code>#[cfg(test)] #[path = "tests/<name>.rs"] mod tests;</code> at the bottom of the source file, with the actual test code in a sibling <code>src/tests/<name>.rs</code>. Neither <code>obikmer</code> nor <code>obikindex::partition</code> (the two crates phases 3 and 5 touch most) currently have a <code>src/tests/</code> directory at all — this needs creating, following the existing pattern exactly, not inventing a new one.</p>
|
<p><strong>Unit tests.</strong> This project's convention (<code>obiread</code>, <code>obikseq</code>, <code>obidebruinj</code>, <code>obicompactvec</code>, <code>obikindex::layer</code>, <code>obiskio</code>, <code>obifastwrite</code>) is <code>#[cfg(test)] #[path = "tests/<name>.rs"] mod tests;</code> at the bottom of the source file, with the actual test code in a sibling <code>src/tests/<name>.rs</code>. Neither <code>obiskim</code> nor <code>obikindex::partition</code> (the two crates phases 3 and 5 touch most) currently have a <code>src/tests/</code> directory at all — this needs creating, following the existing pattern exactly, not inventing a new one.</p>
|
||||||
<p><strong>Workflow (<code>jj</code>).</strong> Work happens in a fresh <code>jj</code> commit, easy to abandon. <code>jj new</code> between phases is reasonable where it helps isolate a phase for review, but only when the working copy compiles at that point (project convention) — phase 3's internal sub-steps (batch dedup change, then <code>query_layer.rs</code> split, then the new return shape) will likely not each compile independently since they're one coupled change, so treat "commit boundary" and "plan phase boundary" as related but not forced to match 1:1; use judgement per phase rather than mechanically splitting on every bullet.</p>
|
<p><strong>Workflow (<code>jj</code>).</strong> Work happens in a fresh <code>jj</code> commit, easy to abandon. <code>jj new</code> between phases is reasonable where it helps isolate a phase for review, but only when the working copy compiles at that point (project convention) — phase 3's internal sub-steps (batch dedup change, then <code>query_layer.rs</code> split, then the new return shape) will likely not each compile independently since they're one coupled change, so treat "commit boundary" and "plan phase boundary" as related but not forced to match 1:1; use judgement per phase rather than mechanically splitting on every bullet.</p>
|
||||||
<h3 id="phase-0-instrumentation-prerequisite-for-measuring-every-later-phase">Phase 0 — Instrumentation (prerequisite for measuring every later phase)</h3>
|
<h3 id="phase-0-instrumentation-prerequisite-for-measuring-every-later-phase">Phase 0 — Instrumentation (prerequisite for measuring every later phase)</h3>
|
||||||
<p><strong>Goal</strong>: make core utilization, throughput, and per-stage timing visible on a real run, so phases 1–5 can be justified with numbers instead of assumption.</p>
|
<p><strong>Goal</strong>: make core utilization, throughput, and per-stage timing visible on a real run, so phases 1–5 can be justified with numbers instead of assumption.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>obikmer/src/cmd/query.rs</code>: wrap <code>run()</code>'s main loop with <code>obisys::Reporter</code>/<code>Stage::start("query")</code>/<code>.stop()</code>, printed at the end via <code>rep.print()</code> — same pattern as <code>index.rs</code>/<code>filter.rs</code>.</li>
|
<li><code>obiskim/src/cmd/query.rs</code>: wrap <code>run()</code>'s main loop with <code>obisys::Reporter</code>/<code>Stage::start("query")</code>/<code>.stop()</code>, printed at the end via <code>rep.print()</code> — same pattern as <code>index.rs</code>/<code>filter.rs</code>.</li>
|
||||||
<li>Add an <code>obisys::spinner("query")</code> progress bar around the <code>pipe.apply(...)</code> loop, with an EMA throughput readout (bases/s or k-mers/s, mirroring <code>steps::scatter</code>'s <code>ema_rate</code> computation, <code>scatter.rs:88-118</code>) and live gauges for "chunks in flight" / "workers busy" — reuse the <code>AtomicU32</code> counter pattern from <code>scatter.rs</code> (<code>flat_active</code>, <code>transform_active</code>) rather than inventing a new one.</li>
|
<li>Add an <code>obisys::spinner("query")</code> progress bar around the <code>pipe.apply(...)</code> loop, with an EMA throughput readout (bases/s or k-mers/s, mirroring <code>steps::scatter</code>'s <code>ema_rate</code> computation, <code>scatter.rs:88-118</code>) and live gauges for "chunks in flight" / "workers busy" — reuse the <code>AtomicU32</code> counter pattern from <code>scatter.rs</code> (<code>flat_active</code>, <code>transform_active</code>) rather than inventing a new one.</li>
|
||||||
<li>Add <code>max_open_files: Option<usize></code> to <code>QueryArgs</code> and a <code>effective_max_open()</code> method mirroring <code>CommonArgs::effective_max_open()</code> (<code>obikmer/src/cli.rs:90-94</code>) — needed by phase 1's <code>throttle()</code> call. (<code>QueryArgs</code> can't just embed <code>CommonArgs</code> — it doesn't take <code>kmer_size</code>/<code>minimizer_size</code>/<code>partitions</code>/<code>level_max</code>/<code>theta</code> from the CLI, those come from the index metadata — so this is a small standalone addition, not a flatten.)</li>
|
<li>Add <code>max_open_files: Option<usize></code> to <code>QueryArgs</code> and a <code>effective_max_open()</code> method mirroring <code>CommonArgs::effective_max_open()</code> (<code>obiskim/src/cli.rs:90-94</code>) — needed by phase 1's <code>throttle()</code> call. (<code>QueryArgs</code> can't just embed <code>CommonArgs</code> — it doesn't take <code>kmer_size</code>/<code>minimizer_size</code>/<code>partitions</code>/<code>level_max</code>/<code>theta</code> from the CLI, those come from the index metadata — so this is a small standalone addition, not a flatten.)</li>
|
||||||
<li>Add one structured <code>debug!</code> per <code>process_chunk</code> call: chunk byte size, sequence count, s-mer count, wall time, and (once later phases exist) the fields they add — this single log line is the baseline every later phase's own logging gets compared against.</li>
|
<li>Add one structured <code>debug!</code> per <code>process_chunk</code> call: chunk byte size, sequence count, s-mer count, wall time, and (once later phases exist) the fields they add — this single log line is the baseline every later phase's own logging gets compared against.</li>
|
||||||
<li><strong>Validation</strong>: none needed beyond "the numbers appear and look sane" — this phase changes no query logic or output.</li>
|
<li><strong>Validation</strong>: none needed beyond "the numbers appear and look sane" — this phase changes no query logic or output.</li>
|
||||||
<li><strong>Deliverable used by every phase below</strong>: a before/after throughput and core-utilization measurement on the reference machine.</li>
|
<li><strong>Deliverable used by every phase below</strong>: a before/after throughput and core-utilization measurement on the reference machine.</li>
|
||||||
@@ -1854,7 +2089,7 @@ Stage 2's output should be <code>HashMap<genome_idx, Vec<(seq_idx, positio
|
|||||||
<h3 id="phase-1-parallel-per-file-io-fixes-root-cause-of-low-core-utilization">Phase 1 — Parallel per-file I/O (fixes root cause of low core utilization)</h3>
|
<h3 id="phase-1-parallel-per-file-io-fixes-root-cause-of-low-core-utilization">Phase 1 — Parallel per-file I/O (fixes root cause of low core utilization)</h3>
|
||||||
<p><strong>Goal</strong>: file opening, decompression, and chunk-boundary parsing run across the <code>n_workers</code> pool instead of serially in the pipe's dedicated source thread.</p>
|
<p><strong>Goal</strong>: file opening, decompression, and chunk-boundary parsing run across the <code>n_workers</code> pool instead of serially in the pipe's dedicated source thread.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>obikmer/src/cmd/query.rs</code>:</li>
|
<li><code>obiskim/src/cmd/query.rs</code>:</li>
|
||||||
<li>Replace the <code>paths.into_iter().flat_map(read_sequence_chunks_sized(...))</code> construction (current <code>run()</code>, building <code>all_chunks</code>) with <code>obipipeline::throttle(paths.into_iter(), args.effective_max_open())</code>, passed as the pipe's <code>input</code>.</li>
|
<li>Replace the <code>paths.into_iter().flat_map(read_sequence_chunks_sized(...))</code> construction (current <code>run()</code>, building <code>all_chunks</code>) with <code>obipipeline::throttle(paths.into_iter(), args.effective_max_open())</code>, passed as the pipe's <code>input</code>.</li>
|
||||||
<li>Add a new <code>QueryData::Path(PathBuf)</code> variant (alongside <code>Chunk</code>/<code>Output</code>) to carry the throttled path through the pipe's type-erasure mechanism.</li>
|
<li>Add a new <code>QueryData::Path(PathBuf)</code> variant (alongside <code>Chunk</code>/<code>Output</code>) to carry the throttled path through the pipe's type-erasure mechanism.</li>
|
||||||
<li>Add a new <strong>first</strong> pipe stage, <code>Flat</code>/fallible (<code>||?</code>), modeled on <code>scatter.rs:60-86</code> and <code>superkmer.rs:54-65</code>: given a <code>Throttled<PathBuf></code>, call <code>read_sequence_chunks_sized(path, chunk_bytes)</code> and yield each <code>Rope</code> chunk, keeping <code>pw.guard</code> alive until the file's iterator is exhausted (reuse or adapt <code>scatter.rs</code>'s <code>GuardedIter</code> wrapper — same lifetime problem, same fix).</li>
|
<li>Add a new <strong>first</strong> pipe stage, <code>Flat</code>/fallible (<code>||?</code>), modeled on <code>scatter.rs:60-86</code> and <code>superkmer.rs:54-65</code>: given a <code>Throttled<PathBuf></code>, call <code>read_sequence_chunks_sized(path, chunk_bytes)</code> and yield each <code>Rope</code> chunk, keeping <code>pw.guard</code> alive until the file's iterator is exhausted (reuse or adapt <code>scatter.rs</code>'s <code>GuardedIter</code> wrapper — same lifetime problem, same fix).</li>
|
||||||
@@ -1867,7 +2102,7 @@ Stage 2's output should be <code>HashMap<genome_idx, Vec<(seq_idx, positio
|
|||||||
<h3 id="phase-2-genome-aware-chunk-size-formula-fixes-oom">Phase 2 — Genome-aware chunk-size formula (fixes OOM)</h3>
|
<h3 id="phase-2-genome-aware-chunk-size-formula-fixes-oom">Phase 2 — Genome-aware chunk-size formula (fixes OOM)</h3>
|
||||||
<p><strong>Goal</strong>: <code>chunk_bytes</code> reflects actual per-chunk memory (<code>O(n_genomes)</code>), not a fixed multiplier.</p>
|
<p><strong>Goal</strong>: <code>chunk_bytes</code> reflects actual per-chunk memory (<code>O(n_genomes)</code>), not a fixed multiplier.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>obikmer/src/cmd/query.rs</code>, <code>run()</code>: <code>n_genomes</code> and <code>args.detail</code> are already computed above the <code>chunk_bytes</code> calculation (<code>n_genomes</code> at the top of <code>run()</code>, before line 407 in the current file) — reorder if needed, then replace:
|
<li><code>obiskim/src/cmd/query.rs</code>, <code>run()</code>: <code>n_genomes</code> and <code>args.detail</code> are already computed above the <code>chunk_bytes</code> calculation (<code>n_genomes</code> at the top of <code>run()</code>, before line 407 in the current file) — reorder if needed, then replace:
|
||||||
<div class="highlight"><pre><span></span><code><span class="kd">let</span><span class="w"> </span><span class="n">computed</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">avail</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="p">(</span><span class="n">n_workers</span><span class="w"> </span><span class="k">as</span><span class="w"> </span><span class="kt">u64</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="mi">16</span><span class="p">);</span>
|
<div class="highlight"><pre><span></span><code><span class="kd">let</span><span class="w"> </span><span class="n">computed</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">avail</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="p">(</span><span class="n">n_workers</span><span class="w"> </span><span class="k">as</span><span class="w"> </span><span class="kt">u64</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="mi">16</span><span class="p">);</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
with a formula that scales the divisor by <code>n_genomes</code> (and roughly doubles it when <code>--detail</code> is set, since <code>cov</code> duplicates the per-genome accumulation): e.g. <code>per_chunk_multiplier = base_overhead + n_genomes as u64 * BYTES_PER_KMER_PER_GENOME * if detail { 2 } else { 1 }</code>, replacing the flat <code>16</code>. <code>BYTES_PER_KMER_PER_GENOME</code> should be derived from <code>KmerResults</code>'s actual layout (<code>4</code> bytes per <code>u32</code> entry in <code>data</code>, plus the <code>bool</code> in <code>in_index</code>, plus <code>win_min</code>'s equal-sized buffer) rather than guessed.</li>
|
with a formula that scales the divisor by <code>n_genomes</code> (and roughly doubles it when <code>--detail</code> is set, since <code>cov</code> duplicates the per-genome accumulation): e.g. <code>per_chunk_multiplier = base_overhead + n_genomes as u64 * BYTES_PER_KMER_PER_GENOME * if detail { 2 } else { 1 }</code>, replacing the flat <code>16</code>. <code>BYTES_PER_KMER_PER_GENOME</code> should be derived from <code>KmerResults</code>'s actual layout (<code>4</code> bytes per <code>u32</code> entry in <code>data</code>, plus the <code>bool</code> in <code>in_index</code>, plus <code>win_min</code>'s equal-sized buffer) rather than guessed.</li>
|
||||||
@@ -1879,7 +2114,7 @@ Stage 2's output should be <code>HashMap<genome_idx, Vec<(seq_idx, positio
|
|||||||
<h3 id="phase-3-k-mer-level-dereplication-staged-mphfmatrix-lookup">Phase 3 — K-mer-level dereplication, staged MPHF/matrix lookup</h3>
|
<h3 id="phase-3-k-mer-level-dereplication-staged-mphfmatrix-lookup">Phase 3 — K-mer-level dereplication, staged MPHF/matrix lookup</h3>
|
||||||
<p><strong>Goal</strong>: replace superkmer-level dedup with k-mer-level dedup (roadmap point 5), and split the fused MPHF-find/matrix-fetch (point 4) so stage 1's output is bucketed by layer and MPHF slot (point 6).</p>
|
<p><strong>Goal</strong>: replace superkmer-level dedup with k-mer-level dedup (roadmap point 5), and split the fused MPHF-find/matrix-fetch (point 4) so stage 1's output is bucketed by layer and MPHF slot (point 6).</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>obikmer/src/cmd/query.rs</code>:</li>
|
<li><code>obiskim/src/cmd/query.rs</code>:</li>
|
||||||
<li>Replace <code>QueryBatch::from_records</code>'s dedup map (<code>HashMap<RoutableSuperKmer, Vec<SKDesc>></code>, current <code>query.rs:112</code>) with a per-partition <code>HashMap<CanonicalKmer, Vec<(seq_idx: u32, pos: u32)>></code>, built in the same <code>SuperKmerIter</code> pass: superkmer construction and partition routing (<code>part_idx</code> from the superkmer's minimizer hash) are unchanged, only the granularity of what gets deduplicated changes — each <code>CanonicalKmer</code> within a superkmer is inserted individually instead of the whole superkmer being the dedup key.</li>
|
<li>Replace <code>QueryBatch::from_records</code>'s dedup map (<code>HashMap<RoutableSuperKmer, Vec<SKDesc>></code>, current <code>query.rs:112</code>) with a per-partition <code>HashMap<CanonicalKmer, Vec<(seq_idx: u32, pos: u32)>></code>, built in the same <code>SuperKmerIter</code> pass: superkmer construction and partition routing (<code>part_idx</code> from the superkmer's minimizer hash) are unchanged, only the granularity of what gets deduplicated changes — each <code>CanonicalKmer</code> within a superkmer is inserted individually instead of the whole superkmer being the dedup key.</li>
|
||||||
<li><strong>Verified</strong>: <code>CanonicalKmer</code> (<code>obikseq/src/kmer.rs:390</code>, <code>pub type CanonicalKmer = CanonicalKmerOf<KLen></code>) — the underlying <code>CanonicalKmerOf<L></code> derives <code>Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash</code> (<code>kmer.rs:269</code>). Usable as a <code>HashMap</code>/<code>HashSet</code> key as-is, no change needed.</li>
|
<li><strong>Verified</strong>: <code>CanonicalKmer</code> (<code>obikseq/src/kmer.rs:390</code>, <code>pub type CanonicalKmer = CanonicalKmerOf<KLen></code>) — the underlying <code>CanonicalKmerOf<L></code> derives <code>Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash</code> (<code>kmer.rs:269</code>). Usable as a <code>HashMap</code>/<code>HashSet</code> key as-is, no change needed.</li>
|
||||||
<li><code>obikindex/src/partition/query_layer.rs</code>:</li>
|
<li><code>obikindex/src/partition/query_layer.rs</code>:</li>
|
||||||
@@ -1888,14 +2123,14 @@ Stage 2's output should be <code>HashMap<genome_idx, Vec<(seq_idx, positio
|
|||||||
<li>New return shape for the partition-level query, replacing today's <code>on_hit(sk_idx, kmer_idx, row)</code> callback: <code>HashMap<layer_idx, HashMap<slot, Vec<(seq_idx, pos)>>></code> (roadmap point 6) — built directly from the k-mer dedup map's <code>Vec<(seq_idx,pos)></code> values, keyed by the resolved slot instead of the k-mer.</li>
|
<li>New return shape for the partition-level query, replacing today's <code>on_hit(sk_idx, kmer_idx, row)</code> callback: <code>HashMap<layer_idx, HashMap<slot, Vec<(seq_idx, pos)>>></code> (roadmap point 6) — built directly from the k-mer dedup map's <code>Vec<(seq_idx,pos)></code> values, keyed by the resolved slot instead of the k-mer.</li>
|
||||||
<li><strong>This phase alone has no throughput benefit yet</strong> (matrix fetch still happens, just deferred) beyond the k-mer-level dedup itself (fewer MPHF calls when queries have overlapping/repeated k-mers) — its purpose is to produce the input phase 4 needs. Land phase 3+4 together, not phase 3 alone, per the "don't split 3–5 across releases" note above.</li>
|
<li><strong>This phase alone has no throughput benefit yet</strong> (matrix fetch still happens, just deferred) beyond the k-mer-level dedup itself (fewer MPHF calls when queries have overlapping/repeated k-mers) — its purpose is to produce the input phase 4 needs. Land phase 3+4 together, not phase 3 alone, per the "don't split 3–5 across releases" note above.</li>
|
||||||
<li>Log, per chunk: total k-mer occurrences vs. unique <code>CanonicalKmer</code> count (the dedup ratio — the entire justification for this phase) and the resulting MPHF <code>find</code> call count. If the dedup ratio is close to <code>1.0</code> on real query data (little redundancy), that's the cluster run telling us this phase wasn't worth it — the logging needs to be able to say that, not just confirm the happy path.</li>
|
<li>Log, per chunk: total k-mer occurrences vs. unique <code>CanonicalKmer</code> count (the dedup ratio — the entire justification for this phase) and the resulting MPHF <code>find</code> call count. If the dedup ratio is close to <code>1.0</code> on real query data (little redundancy), that's the cluster run telling us this phase wasn't worth it — the logging needs to be able to say that, not just confirm the happy path.</li>
|
||||||
<li><strong>Unit tests</strong>: create <code>obikmer/src/cmd/tests/query.rs</code> (new <code>src/tests/</code> dir for this crate, following the project's <code>#[cfg(test)] #[path = "tests/query.rs"] mod tests;</code> convention) and <code>obikindex/src/partition/tests/query_layer.rs</code> (likewise new for this crate). Cover: the k-mer-level dedup map construction on synthetic sequences with known repeated/overlapping k-mers (assert unique-kmer count and occurrence lists); the <code>find_slot</code>/bucket-by-layer-and-slot construction against a small hand-built <code>QueryLayer</code> fixture, asserting the <code>(layer_idx, slot, seq_idx, pos)</code> tuples match what the old per-occurrence loop would have produced.</li>
|
<li><strong>Unit tests</strong>: create <code>obiskim/src/cmd/tests/query.rs</code> (new <code>src/tests/</code> dir for this crate, following the project's <code>#[cfg(test)] #[path = "tests/query.rs"] mod tests;</code> convention) and <code>obikindex/src/partition/tests/query_layer.rs</code> (likewise new for this crate). Cover: the k-mer-level dedup map construction on synthetic sequences with known repeated/overlapping k-mers (assert unique-kmer count and occurrence lists); the <code>find_slot</code>/bucket-by-layer-and-slot construction against a small hand-built <code>QueryLayer</code> fixture, asserting the <code>(layer_idx, slot, seq_idx, pos)</code> tuples match what the old per-occurrence loop would have produced.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h3 id="phase-4-column-major-matrix-fetch-roadmap-points-78-implemented-numa-parallelism-deferred">Phase 4 — Column-major matrix fetch (roadmap points 7–8) — implemented, NUMA parallelism deferred</h3>
|
<h3 id="phase-4-column-major-matrix-fetch-roadmap-points-78-implemented-numa-parallelism-deferred">Phase 4 — Column-major matrix fetch (roadmap points 7–8) — implemented, NUMA parallelism deferred</h3>
|
||||||
<p><strong>Goal (revised during implementation)</strong>: replace <code>fill_row</code>-per-hit (row-major, worst-case mmap locality) with a column-major scan. <code>PartitionRunner</code> turned out to be the wrong mechanism for this at this call granularity — see below; the column-major fetch itself is implemented and validated, without it.</p>
|
<p><strong>Goal (revised during implementation)</strong>: replace <code>fill_row</code>-per-hit (row-major, worst-case mmap locality) with a column-major scan. <code>PartitionRunner</code> turned out to be the wrong mechanism for this at this call granularity — see below; the column-major fetch itself is implemented and validated, without it.</p>
|
||||||
<p><strong>What shipped:</strong>
|
<p><strong>What shipped:</strong>
|
||||||
- <code>obicompactvec</code>: the per-column accessors this phase needed <strong>already existed</strong> — <code>PersistentCompactIntMatrix::col_view(c)</code> and <code>PersistentBitMatrix::col_view(c)</code> are public, and <code>IntSliceView::get(slot)</code>/<code>BitSliceView::get(slot)</code> are public — the original plan underestimated how much of this plumbing the pairwise-distance code (<code>dump</code>/<code>select</code>/<code>stats</code>) had already required. The one real gap: <code>PersistentBitMatrix::col_view()</code> panics on the <code>Implicit</code> variant (the documented mono-genome fast path, <code>bitmatrix.rs</code>). Added <code>PersistentBitMatrix::get(c, slot) -> u32</code> (<code>bitmatrix.rs</code>), a non-panicking column-major point lookup that returns <code>1</code> for <code>Implicit</code> regardless of <code>c</code> — the smallest surface needed, not a new <code>col_get</code> API from scratch.
|
- <code>obicompactvec</code>: the per-column accessors this phase needed <strong>already existed</strong> — <code>PersistentCompactIntMatrix::col_view(c)</code> and <code>PersistentBitMatrix::col_view(c)</code> are public, and <code>IntSliceView::get(slot)</code>/<code>BitSliceView::get(slot)</code> are public — the original plan underestimated how much of this plumbing the pairwise-distance code (<code>dump</code>/<code>select</code>/<code>stats</code>) had already required. The one real gap: <code>PersistentBitMatrix::col_view()</code> panics on the <code>Implicit</code> variant (the documented mono-genome fast path, <code>bitmatrix.rs</code>). Added <code>PersistentBitMatrix::get(c, slot) -> u32</code> (<code>bitmatrix.rs</code>), a non-panicking column-major point lookup that returns <code>1</code> for <code>Implicit</code> regardless of <code>c</code> — the smallest surface needed, not a new <code>col_get</code> API from scratch.
|
||||||
- <code>obikindex/src/partition/query_layer.rs</code>: <code>query_partition_with</code> is now two explicit stages, matching roadmap points 6–8: <strong>stage 1</strong> (MPHF-only, per unique k-mer, bucket hits by <code>(layer_idx, slot)</code>, emits <code>QueryHit::Found</code>) then <strong>stage 2</strong> (per layer with ≥1 hit, column-major: for each genome column <code>g</code> in <code>0..layer.n_cols().min(n_genomes)</code>, scan that layer's bucketed slots and call <code>col_value(g, slot)</code>, emitting <code>QueryHit::Value(descs, g, value)</code> on nonzero). <code>QueryHit</code> is a single enum delivered through one <code>FnMut(QueryHit)</code> callback — an earlier two-closure design (<code>on_found</code> + <code>on_value</code>) didn't borrow-check, since the caller's single mutable accumulator (<code>KmerResults</code>) can't be captured by two separate <code>FnMut</code> closures passed to the same call.
|
- <code>obikindex/src/partition/query_layer.rs</code>: <code>query_partition_with</code> is now two explicit stages, matching roadmap points 6–8: <strong>stage 1</strong> (MPHF-only, per unique k-mer, bucket hits by <code>(layer_idx, slot)</code>, emits <code>QueryHit::Found</code>) then <strong>stage 2</strong> (per layer with ≥1 hit, column-major: for each genome column <code>g</code> in <code>0..layer.n_cols().min(n_genomes)</code>, scan that layer's bucketed slots and call <code>col_value(g, slot)</code>, emitting <code>QueryHit::Value(descs, g, value)</code> on nonzero). <code>QueryHit</code> is a single enum delivered through one <code>FnMut(QueryHit)</code> callback — an earlier two-closure design (<code>on_found</code> + <code>on_value</code>) didn't borrow-check, since the caller's single mutable accumulator (<code>KmerResults</code>) can't be captured by two separate <code>FnMut</code> closures passed to the same call.
|
||||||
- <code>obikmer/src/cmd/query.rs</code>: <code>KmerResults::set</code> (row-major, whole-row-at-once) replaced by <code>mark_found</code> (stage 1: flag a position as indexed, independent of any genome's value) and <code>set_one</code> (stage 2: write one genome's value at one position). <code>QueryStats</code> extended with <code>n_columns_scanned</code>/<code>n_col_get_calls</code>, logged per chunk.
|
- <code>obiskim/src/cmd/query.rs</code>: <code>KmerResults::set</code> (row-major, whole-row-at-once) replaced by <code>mark_found</code> (stage 1: flag a position as indexed, independent of any genome's value) and <code>set_one</code> (stage 2: write one genome's value at one position). <code>QueryStats</code> extended with <code>n_columns_scanned</code>/<code>n_col_get_calls</code>, logged per chunk.
|
||||||
- Total <code>get()</code>-equivalent calls are unchanged from the row-major version (<code>n_hits × n_cols</code> in the worst case, confirmed by <code>n_col_get_calls</code> in the debug log) — the win is locality (sequential access within one layer's column at a time, across <code>mmap</code>'d regions, instead of jumping across all columns per hit), exactly as predicted.</p>
|
- Total <code>get()</code>-equivalent calls are unchanged from the row-major version (<code>n_hits × n_cols</code> in the worst case, confirmed by <code>n_col_get_calls</code> in the debug log) — the win is locality (sequential access within one layer's column at a time, across <code>mmap</code>'d regions, instead of jumping across all columns per hit), exactly as predicted.</p>
|
||||||
<p><strong>What did not ship, and why — <code>PartitionRunner</code> is architecturally the wrong tool here:</strong>
|
<p><strong>What did not ship, and why — <code>PartitionRunner</code> is architecturally the wrong tool here:</strong>
|
||||||
Reading <code>obikindex/src/numa.rs</code>'s actual <code>run()</code> body (not just its doc comments) shows every call spawns a timer thread <strong>plus one OS thread per worker slot on every NUMA node</strong> (<code>std::thread::scope</code> + one <code>s.spawn()</code> per node per <code>max_workers</code>) — on the 192-core/8-NUMA reference machine, that's on the order of 190+ fresh OS threads spawned <strong>per call</strong>. This is fine for its actual, established usage in this codebase (<code>merge.rs</code>, <code>index.rs</code>'s <code>build_layers</code>): one <code>PartitionRunner::new()</code> + one <code>run()</code> call per command invocation, amortised over a batch of ~256 long-running partitions. It is not fine for <code>query</code>'s call pattern: <code>query_partition_with</code> runs once per <code>(chunk, partition)</code>, potentially thousands of times per second — spawning ~190 OS threads that often to scan a handful of genome columns would very likely cost far more than the row-major approach it's meant to replace. This is exactly the "resolve empirically, don't assume" composition risk the roadmap flagged, just resolved by reading the mechanism's actual cost before wiring it in, rather than by measuring a regression on the cluster after the fact.
|
Reading <code>obikindex/src/numa.rs</code>'s actual <code>run()</code> body (not just its doc comments) shows every call spawns a timer thread <strong>plus one OS thread per worker slot on every NUMA node</strong> (<code>std::thread::scope</code> + one <code>s.spawn()</code> per node per <code>max_workers</code>) — on the 192-core/8-NUMA reference machine, that's on the order of 190+ fresh OS threads spawned <strong>per call</strong>. This is fine for its actual, established usage in this codebase (<code>merge.rs</code>, <code>index.rs</code>'s <code>build_layers</code>): one <code>PartitionRunner::new()</code> + one <code>run()</code> call per command invocation, amortised over a batch of ~256 long-running partitions. It is not fine for <code>query</code>'s call pattern: <code>query_partition_with</code> runs once per <code>(chunk, partition)</code>, potentially thousands of times per second — spawning ~190 OS threads that often to scan a handful of genome columns would very likely cost far more than the row-major approach it's meant to replace. This is exactly the "resolve empirically, don't assume" composition risk the roadmap flagged, just resolved by reading the mechanism's actual cost before wiring it in, rather than by measuring a regression on the cluster after the fact.
|
||||||
@@ -1907,14 +2142,14 @@ The column-major loop in stage 2 is therefore a <strong>plain sequential loop</s
|
|||||||
<h3 id="phase-5-sparse-findere-rework-roadmap-point-9">Phase 5 — Sparse Findere rework (roadmap point 9)</h3>
|
<h3 id="phase-5-sparse-findere-rework-roadmap-point-9">Phase 5 — Sparse Findere rework (roadmap point 9)</h3>
|
||||||
<p><strong>Goal</strong>: replace the dense <code>KmerResults</code>/<code>win_min</code> sliding-window scan with one operating on phase 4's sparse per-genome output.</p>
|
<p><strong>Goal</strong>: replace the dense <code>KmerResults</code>/<code>win_min</code> sliding-window scan with one operating on phase 4's sparse per-genome output.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>obikmer/src/cmd/query.rs</code>, <code>process_chunk</code>:</li>
|
<li><code>obiskim/src/cmd/query.rs</code>, <code>process_chunk</code>:</li>
|
||||||
<li>Remove <code>KmerResults</code> (<code>query.rs:157-202</code>) and the dense <code>win_min</code> allocation (<code>query.rs:290-291</code>, sized <code>max_n_kmers × n_genomes</code>).</li>
|
<li>Remove <code>KmerResults</code> (<code>query.rs:157-202</code>) and the dense <code>win_min</code> allocation (<code>query.rs:290-291</code>, sized <code>max_n_kmers × n_genomes</code>).</li>
|
||||||
<li>Keep a lightweight dense <code>in_index: Vec<bool></code> per chunk (sized <code>total_kmers</code>, independent of <code>n_genomes</code>) from phase 3's stage 1 — still needed for <code>kmer_missing</code> bookkeeping (leftmost-s-mer-of-window membership test), which phase 4's sparse structure doesn't carry (a k-mer with no genome hit has no entry there at all).</li>
|
<li>Keep a lightweight dense <code>in_index: Vec<bool></code> per chunk (sized <code>total_kmers</code>, independent of <code>n_genomes</code>) from phase 3's stage 1 — still needed for <code>kmer_missing</code> bookkeeping (leftmost-s-mer-of-window membership test), which phase 4's sparse structure doesn't carry (a k-mer with no genome hit has no entry there at all).</li>
|
||||||
<li>New per-<code>(seq_idx, genome)</code> scan: for each genome's <code>Vec<(seq_idx, pos, count)></code> (sorted, per phase 4), group by <code>seq_idx</code> (contiguous after sort), then within each sequence's positions detect runs of <code>pos, pos+1, pos+2, ...</code> of length ≥ <code>z</code>; within each run, the existing monotone-deque window-minimum logic (<code>query.rs</code>'s current <code>dq</code> loop, conceptually unchanged) applies — but the deque now only scans real entries in the run, never zero-filled gaps.</li>
|
<li>New per-<code>(seq_idx, genome)</code> scan: for each genome's <code>Vec<(seq_idx, pos, count)></code> (sorted, per phase 4), group by <code>seq_idx</code> (contiguous after sort), then within each sequence's positions detect runs of <code>pos, pos+1, pos+2, ...</code> of length ≥ <code>z</code>; within each run, the existing monotone-deque window-minimum logic (<code>query.rs</code>'s current <code>dq</code> loop, conceptually unchanged) applies — but the deque now only scans real entries in the run, never zero-filled gaps.</li>
|
||||||
<li>Update <code>SeqAcc</code> accumulation and <code>emit_batch</code> to consume this per-genome sparse iteration instead of <code>results.val</code>/<code>results.is_in_index</code>.</li>
|
<li>Update <code>SeqAcc</code> accumulation and <code>emit_batch</code> to consume this per-genome sparse iteration instead of <code>results.val</code>/<code>results.is_in_index</code>.</li>
|
||||||
<li><code>--detail</code>/<code>cov</code>: build sparsely during the same scan (only positions with a confirmed contribution get an entry), densify into the <code>[u32]</code> JSON array only in <code>emit_batch</code>, only for genomes/sequences actually being serialized (per roadmap point 9's note, <code>query.rs:304-308</code>'s current dense allocation goes away).</li>
|
<li><code>--detail</code>/<code>cov</code>: build sparsely during the same scan (only positions with a confirmed contribution get an entry), densify into the <code>[u32]</code> JSON array only in <code>emit_batch</code>, only for genomes/sequences actually being serialized (per roadmap point 9's note, <code>query.rs:304-308</code>'s current dense allocation goes away).</li>
|
||||||
<li>Log, per chunk: total sparse entries retained vs. what the old dense <code>KmerResults</code> would have allocated (<code>total_smers × n_genomes</code>) — the sparsity ratio is this phase's entire reason for existing, so it must be directly visible in the logs, not inferred from process RSS. Also log the run-detection stats (number of runs found, average run length) — a low average run length relative to <code>z</code> would mean most positions still fail to form a full window, worth knowing.</li>
|
<li>Log, per chunk: total sparse entries retained vs. what the old dense <code>KmerResults</code> would have allocated (<code>total_smers × n_genomes</code>) — the sparsity ratio is this phase's entire reason for existing, so it must be directly visible in the logs, not inferred from process RSS. Also log the run-detection stats (number of runs found, average run length) — a low average run length relative to <code>z</code> would mean most positions still fail to form a full window, worth knowing.</li>
|
||||||
<li><strong>Unit tests</strong>: <code>obikmer/src/cmd/tests/query.rs</code> (extended from phase 3) — the property test described below is the primary deliverable here, not an afterthought; write it as an actual <code>#[test]</code> (or a small internal fuzz/property-style loop over randomized fixtures if a property-testing crate isn't already a dependency — check before adding one, per this project's dependency-approval rule) rather than a one-off manual comparison.</li>
|
<li><strong>Unit tests</strong>: <code>obiskim/src/cmd/tests/query.rs</code> (extended from phase 3) — the property test described below is the primary deliverable here, not an afterthought; write it as an actual <code>#[test]</code> (or a small internal fuzz/property-style loop over randomized fixtures if a property-testing crate isn't already a dependency — check before adding one, per this project's dependency-approval rule) rather than a one-off manual comparison.</li>
|
||||||
<li><strong>Validation — this is the correctness-critical phase</strong>: property-test comparing old (dense, pre-phase-3) and new (sparse) implementations on the same randomized input/index fixtures, asserting identical <code>kmer_count</code>, <code>kmer_missing</code>, <code>kmer_strict_matches</code>, and (with <code>--detail</code>) <code>coverage</code> for every sequence. Keep both implementations compiled side by side (behind a debug-only flag or a temporary parallel code path) only for the duration of this validation; delete the dense path once parity is confirmed — per this project's own convention, superseded code is not kept "just in case."</li>
|
<li><strong>Validation — this is the correctness-critical phase</strong>: property-test comparing old (dense, pre-phase-3) and new (sparse) implementations on the same randomized input/index fixtures, asserting identical <code>kmer_count</code>, <code>kmer_missing</code>, <code>kmer_strict_matches</code>, and (with <code>--detail</code>) <code>coverage</code> for every sequence. Keep both implementations compiled side by side (behind a debug-only flag or a temporary parallel code path) only for the duration of this validation; delete the dense path once parity is confirmed — per this project's own convention, superseded code is not kept "just in case."</li>
|
||||||
<li><strong>Update <code>docmd/architecture/query.md</code> itself</strong>: once this phase lands, the "Findere z-window filter" section (which currently — correctly — describes the dense deque-over-<code>0..n_smers</code> scan) needs another pass to describe the sparse run-detection algorithm instead, as already flagged when this phase was discussed.</li>
|
<li><strong>Update <code>docmd/architecture/query.md</code> itself</strong>: once this phase lands, the "Findere z-window filter" section (which currently — correctly — describes the dense deque-over-<code>0..n_smers</code> scan) needs another pass to describe the sparse run-detection algorithm instead, as already flagged when this phase was discussed.</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -1923,7 +2158,7 @@ The column-major loop in stage 2 is therefore a <strong>plain sequential loop</s
|
|||||||
- New <code>sparse_findere_for_genome(hits, z, presence, threshold) -> (Vec<ConfirmedHit>, n_runs, total_run_len)</code> (<code>query.rs</code>): sorts one genome's raw hits by <code>(seq_idx, pos)</code>, detects maximal runs of consecutive <code>pos</code> within one sequence, runs the same monotone-deque window-minimum as before but scoped to each run (run-relative indices for eviction, absolute <code>pos</code> for computing <code>pos_out</code>). Presence/count adjustment (<code>u32::from(win_min >= threshold)</code> vs. raw) is applied inside this function, once per confirmed hit, rather than later during accumulation.
|
- New <code>sparse_findere_for_genome(hits, z, presence, threshold) -> (Vec<ConfirmedHit>, n_runs, total_run_len)</code> (<code>query.rs</code>): sorts one genome's raw hits by <code>(seq_idx, pos)</code>, detects maximal runs of consecutive <code>pos</code> within one sequence, runs the same monotone-deque window-minimum as before but scoped to each run (run-relative indices for eviction, absolute <code>pos</code> for computing <code>pos_out</code>). Presence/count adjustment (<code>u32::from(win_min >= threshold)</code> vs. raw) is applied inside this function, once per confirmed hit, rather than later during accumulation.
|
||||||
- <code>process_chunk</code> restructured into three passes after the partition loop: (1) run <code>sparse_findere_for_genome</code> per genome, collecting <code>confirmed_by_genome</code> and run-detection stats; (2) accumulate <code>genome_totals</code> directly from <code>confirmed_by_genome</code> and mark a <code>confirmed_any: Vec<bool></code> (sized <code>total_kmers_out</code>, not <code>× n_genomes</code>); (3) a position-only pass (<code>O(total_kmers_out)</code>, no genome factor) computing <code>kmer_count</code>/<code>kmer_missing</code> from <code>confirmed_any</code> + <code>SmerIndex</code>. <code>cov</code> (<code>--detail</code>) is populated by re-scanning <code>confirmed_by_genome</code> — only when <code>--detail</code> is actually set, otherwise skipped entirely.
|
- <code>process_chunk</code> restructured into three passes after the partition loop: (1) run <code>sparse_findere_for_genome</code> per genome, collecting <code>confirmed_by_genome</code> and run-detection stats; (2) accumulate <code>genome_totals</code> directly from <code>confirmed_by_genome</code> and mark a <code>confirmed_any: Vec<bool></code> (sized <code>total_kmers_out</code>, not <code>× n_genomes</code>); (3) a position-only pass (<code>O(total_kmers_out)</code>, no genome factor) computing <code>kmer_count</code>/<code>kmer_missing</code> from <code>confirmed_any</code> + <code>SmerIndex</code>. <code>cov</code> (<code>--detail</code>) is populated by re-scanning <code>confirmed_by_genome</code> — only when <code>--detail</code> is actually set, otherwise skipped entirely.
|
||||||
- Debug log added (<code>"sparse Findere"</code>): <code>n_dense_would_be</code> (<code>n_occurrences × n_genomes</code> — what the deleted dense path would have allocated), <code>n_sparse_entries</code> (what's actually retained), <code>n_runs</code>/<code>avg_run_len</code> (per the plan's ask, to see whether hits mostly fail to form complete windows).
|
- Debug log added (<code>"sparse Findere"</code>): <code>n_dense_would_be</code> (<code>n_occurrences × n_genomes</code> — what the deleted dense path would have allocated), <code>n_sparse_entries</code> (what's actually retained), <code>n_runs</code>/<code>avg_run_len</code> (per the plan's ask, to see whether hits mostly fail to form complete windows).
|
||||||
- <strong>Unit tests</strong>: <code>sparse_findere_matches_dense_reference_on_random_inputs</code> (<code>obikmer/src/cmd/tests/query.rs</code>) — 200 randomized cases (sequence count/length, <code>z</code>, presence/count mode, threshold, hit density from sparse to fully-dense) comparing <code>sparse_findere_for_genome</code> against <code>dense_reference_findere</code>, a faithful reimplementation of the deleted dense algorithm kept only as a test-local correctness oracle (no property-testing crate added — checked first, none was a workspace dependency; a small <code>std</code>-only xorshift64 PRNG stands in for one, deterministic and dependency-free). All 200 cases pass.
|
- <strong>Unit tests</strong>: <code>sparse_findere_matches_dense_reference_on_random_inputs</code> (<code>obiskim/src/cmd/tests/query.rs</code>) — 200 randomized cases (sequence count/length, <code>z</code>, presence/count mode, threshold, hit density from sparse to fully-dense) comparing <code>sparse_findere_for_genome</code> against <code>dense_reference_findere</code>, a faithful reimplementation of the deleted dense algorithm kept only as a test-local correctness oracle (no property-testing crate added — checked first, none was a workspace dependency; a small <code>std</code>-only xorshift64 PRNG stands in for one, deterministic and dependency-free). All 200 cases pass.
|
||||||
- <strong>Functional validation performed</strong>: full workspace build + <code>cargo test --workspace</code>, zero failures. End-to-end against real indexes: baseline output (no flags) unchanged from pre-phase-5 recorded values on the same fixtures; <code>--count-missing</code> correct (<code>kmer_missing: 0</code> on a self-match); <code>--detail</code> correct — coverage array length matches <code>kmer_count</code>, and critically, re-ran the two-genome cross-contamination check from phase 4 with <code>--detail --count-missing</code>: <code>genomeA</code> reads show coverage sum <code>106</code> for <code>genomeA</code> and <code>0</code> for <code>genomeB</code> (and vice versa) — confirms the sparse-to-dense <code>cov</code> reconstruction doesn't leak across genomes either, not just the scalar <code>kmer_strict_matches</code> path.
|
- <strong>Functional validation performed</strong>: full workspace build + <code>cargo test --workspace</code>, zero failures. End-to-end against real indexes: baseline output (no flags) unchanged from pre-phase-5 recorded values on the same fixtures; <code>--count-missing</code> correct (<code>kmer_missing: 0</code> on a self-match); <code>--detail</code> correct — coverage array length matches <code>kmer_count</code>, and critically, re-ran the two-genome cross-contamination check from phase 4 with <code>--detail --count-missing</code>: <code>genomeA</code> reads show coverage sum <code>106</code> for <code>genomeA</code> and <code>0</code> for <code>genomeB</code> (and vice versa) — confirms the sparse-to-dense <code>cov</code> reconstruction doesn't leak across genomes either, not just the scalar <code>kmer_strict_matches</code> path.
|
||||||
- This phase's roadmap item ("update the Findere z-window filter section") — done, see above; the "Algorithm" section's pseudocode was also updated, since it still named <code>KmerResults</code>/<code>SKDesc</code> from before phases 3–4.</p>
|
- This phase's roadmap item ("update the Findere z-window filter section") — done, see above; the "Algorithm" section's pseudocode was also updated, since it still named <code>KmerResults</code>/<code>SKDesc</code> from before phases 3–4.</p>
|
||||||
<h3 id="phase-6-parallel-gzip-decompression-independent-optional">Phase 6 — Parallel gzip decompression (independent, optional)</h3>
|
<h3 id="phase-6-parallel-gzip-decompression-independent-optional">Phase 6 — Parallel gzip decompression (independent, optional)</h3>
|
||||||
@@ -1934,6 +2169,101 @@ The column-major loop in stage 2 is therefore a <strong>plain sequential loop</s
|
|||||||
<li><strong><code>obicompactvec</code> API surface growth</strong> (phase 4): new public per-column accessors are additive (existing <code>fill_row</code>/<code>row</code> stay for other callers — <code>dump</code>, <code>select</code>, distance computations) — no breaking change expected, but worth checking <code>obicompactvec</code>'s other callers aren't already relying on <code>fill_row</code> being the only/cheapest access path in a way that would make maintaining two access patterns (row-major and column-major) a real maintenance cost rather than a one-off addition.</li>
|
<li><strong><code>obicompactvec</code> API surface growth</strong> (phase 4): new public per-column accessors are additive (existing <code>fill_row</code>/<code>row</code> stay for other callers — <code>dump</code>, <code>select</code>, distance computations) — no breaking change expected, but worth checking <code>obicompactvec</code>'s other callers aren't already relying on <code>fill_row</code> being the only/cheapest access path in a way that would make maintaining two access patterns (row-major and column-major) a real maintenance cost rather than a one-off addition.</li>
|
||||||
<li><strong><code>PersistentBitMatrix::Implicit</code>'s hardcoded <code>n_cols: 1</code> — resolved, not a bug.</strong> <code>LayerMeta</code>'s own doc comment (<code>obicompactvec/src/layer_meta.rs:1-9</code>) states it is written "alongside <code>mphf.bin</code>" and read by <code>PersistentBitMatrix::open</code> "to determine <code>n_rows</code> for <strong>the implicit (mono-genome presence/absence) case</strong>" — i.e. <code>Implicit</code> is a documented single-genome fast path (no presence matrix needed when there is trivially one genome), not a generic "no matrix built yet" fallback. <code>n_cols: 1</code> is correct by design for the case it's meant to handle. Phase 4's column loop is safe as planned — this was worth checking once, doesn't need further action.</li>
|
<li><strong><code>PersistentBitMatrix::Implicit</code>'s hardcoded <code>n_cols: 1</code> — resolved, not a bug.</strong> <code>LayerMeta</code>'s own doc comment (<code>obicompactvec/src/layer_meta.rs:1-9</code>) states it is written "alongside <code>mphf.bin</code>" and read by <code>PersistentBitMatrix::open</code> "to determine <code>n_rows</code> for <strong>the implicit (mono-genome presence/absence) case</strong>" — i.e. <code>Implicit</code> is a documented single-genome fast path (no presence matrix needed when there is trivially one genome), not a generic "no matrix built yet" fallback. <code>n_cols: 1</code> is correct by design for the case it's meant to handle. Phase 4's column loop is safe as planned — this was worth checking once, doesn't need further action.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<h2 id="query-memory-partitionkmers-replaces-the-per-partition-hashmap-2026-10-15">Query memory: <code>PartitionKmers</code> replaces the per-partition <code>HashMap</code> (2026-10-15)</h2>
|
||||||
|
<p><strong>Problem.</strong> A full-size query (two ~450 MB fastq.gz of a skim against a 354 M-kmer index) reached <strong>74–81 GB RSS</strong> with the default 256 MiB chunk. Cause, read in <code>batch.rs</code>/<code>chunk.rs</code> and measured with the <code>by_partition memory retained</code> debug log: <code>QueryBatch::by_partition</code> was a <code>HashMap<CanonicalKmer, Vec<KmerDesc>></code> per partition. On genomic reads almost every k-mer is unique (12.5 M unique for 13.5 M occurrences in a 48 MB chunk, a dedup of 8 %), so each k-mer paid a table slot, growth slack and its own heap <code>Vec</code>: <strong>889 MB per 48 MB chunk, ~71 bytes per unique k-mer, 18× the chunk size</strong> — the dominant term of the per-chunk memory, several chunks being in flight at once.</p>
|
||||||
|
<p><strong>Change.</strong> <code>obikquery::PartitionKmers</code>: occurrences collected as <code>(kmer, KmerDesc)</code> per partition, sorted by <code>(kmer, seq_idx, pos)</code> and stored as three flat arrays (unique k-mers, u32 offsets, descs). <code>query_partition_with</code> takes <code>&PartitionKmers</code>; <code>QueryHit</code> already carried slices. Occurrence order per k-mer is unchanged (query order); no per-k-mer allocation.</p>
|
||||||
|
<p><strong>Measured</strong> (same inputs, release build, identical sorted output digests before and after):</p>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th></th>
|
||||||
|
<th><code>by_partition</code> (48 MB chunk)</th>
|
||||||
|
<th>RSS, 2×48 MB chunks</th>
|
||||||
|
<th>RSS, full run (≈ 1 GB reads)</th>
|
||||||
|
<th>wall, full run</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>before</td>
|
||||||
|
<td>889 MB</td>
|
||||||
|
<td>5.6 GB</td>
|
||||||
|
<td>73.7–80.7 GB</td>
|
||||||
|
<td>135–172 s (one 312 s outlier)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>after</td>
|
||||||
|
<td>259 MB</td>
|
||||||
|
<td>4.1 GB</td>
|
||||||
|
<td><strong>28.2 GB</strong></td>
|
||||||
|
<td><strong>103 s</strong></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p>With <code>--chunk-size 4</code> the same small query peaks at 3.6 GB: that floor is the touched pages of the index itself, so after the change the remaining per-chunk anonymous memory is ≈ 6× the chunk size, below the formula's factor 12 (<code>BASE_OVERHEAD + 8·n_genomes</code>, still a conservative bound — left unchanged). The sort replaces hashing in <code>from_records</code> and was not slower (17.3 s vs 21.2 s on the small test).</p>
|
||||||
|
<p><strong>Side finding.</strong> The 256 MiB cap makes small inputs poorly parallel: the two 48 MB files above are two chunks, so two workers; with <code>--chunk-size 4</code> the same query takes 3.7 s instead of 17 s. Not changed here.</p>
|
||||||
|
<p><strong>Not verified.</strong> Prod-scale (192 workers × 256 MiB chunks in flight): the factor is now ≈ 6 instead of ≈ 21, but how many chunks are in flight at once on that machine was not observed.</p>
|
||||||
|
<h3 id="chunk-size-sweep-on-a-small-input-2026-10-15">Chunk size sweep on a small input (2026-10-15)</h3>
|
||||||
|
<p>Input: 2 × 48 MB decompressed fastq (200 000 reads each) against a 354 M-kmer single-genome index (4 partitions), 16 cores on AC power, 3 runs per size, sorted outputs identical (same md5) for every size:</p>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th><code>--chunk-size</code> (MiB)</th>
|
||||||
|
<th>chunks</th>
|
||||||
|
<th>wall (s)</th>
|
||||||
|
<th>user CPU (s)</th>
|
||||||
|
<th>RSS (GB)</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>2</td>
|
||||||
|
<td>~50</td>
|
||||||
|
<td>2.5–2.6</td>
|
||||||
|
<td>25.0–25.3</td>
|
||||||
|
<td>3.2</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>4</td>
|
||||||
|
<td>~25</td>
|
||||||
|
<td>2.5–2.7</td>
|
||||||
|
<td>24.3–25.5</td>
|
||||||
|
<td>3.5</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>8</td>
|
||||||
|
<td>~12</td>
|
||||||
|
<td>2.5–2.7</td>
|
||||||
|
<td>23.6–26.1</td>
|
||||||
|
<td>4.1</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>16</td>
|
||||||
|
<td>~6</td>
|
||||||
|
<td>4.4</td>
|
||||||
|
<td>23.1–23.7</td>
|
||||||
|
<td>4.1</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>32</td>
|
||||||
|
<td>4</td>
|
||||||
|
<td>8.3</td>
|
||||||
|
<td>22.9–23.0</td>
|
||||||
|
<td>4.0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>64 and 256 (default)</td>
|
||||||
|
<td>2</td>
|
||||||
|
<td>11.6–11.8</td>
|
||||||
|
<td>22.4–22.9</td>
|
||||||
|
<td>4.1</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p>Wall time follows the number of chunks (one worker per chunk) until it reaches the core count, then plateaus at ≈ total CPU / cores; total CPU is almost constant (≈ +10 % at 2 MiB, per-chunk fixed cost, here with 1 genome and 4 partitions). With the 256 MiB cap, <strong>any input below ≈ 16 × 256 MiB = 4 GiB decompressed leaves cores idle</strong>. A rule such as <code>chunk ≈ input_bytes / (workers × 2)</code> with a floor of 4–8 MiB would use all cores on small inputs — <strong>implemented, see below</strong>. Unmeasured: the per-chunk cost on an index with many genomes and 256 partitions, which could move the floor up.</p>
|
||||||
|
<h3 id="automatic-chunk-size-now-follows-the-input-size-2026-10-15">Automatic chunk size now follows the input size (2026-10-15)</h3>
|
||||||
|
<p><code>cmd/query/mod.rs</code>: when <code>--chunk-size</code> is not given, the memory-derived size (unchanged: <code>available RAM / (workers × overhead × 2)</code>, clamped to 4–256 MiB) is further capped by <code>estimated input bytes / (workers × 2)</code>, never below 4 MiB. The estimate is <code>obiread::estimated_decompressed_len</code>: the file length, ×3 when the magic bytes say gzip (≈ 2.8 measured on FASTQ), ×4 for bzip2/xz/zstd — a deliberately rough figure, detected from the magic bytes, not the extension. For stdin, URLs or unreadable files the size is unknown and the memory-derived size stands. An explicit <code>--chunk-size</code> still wins.</p>
|
||||||
|
<p>Measured (2 × 48 MB reads, 16 cores, AC power, outputs identical): single-genome index, 354 M kmers — default chunk 256 MiB → 4 MiB: <strong>11.4 s → 2.4 s</strong> (−79 %), CPU 22.3 → 26 s (+17 %), peak footprint 1.44 → 0.75 GB. On the 91-genome index the memory-derived size was already 4 MiB (overhead factor 4 + 8 × 91), so nothing changes there (5.1–5.7 s either way). Not measured: a large input (≈ 1 GB gz, whose estimate gives ≈ 95 MiB chunks instead of 256 MiB: more, smaller chunks, expected lower memory).</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Rebuild / filter — column-first design - obikmer</title>
|
<title>Rebuild / filter — column-first design - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../numa_worker_pools/" class="md-nav__link">
|
<a href="../numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Invariant.refs - obikmer</title>
|
<title>Invariant.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../../implementation/filtering/" class="md-nav__link">
|
<a href="../../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../numa_worker_pools/" class="md-nav__link">
|
<a href="../../numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Sequences - obikmer</title>
|
<title>Sequences - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -674,6 +758,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -870,6 +982,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../../implementation/filtering/" class="md-nav__link">
|
<a href="../../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1160,6 +1328,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../numa_worker_pools/" class="md-nav__link">
|
<a href="../../numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<link rel="prev" href="../index_architecture/">
|
<link rel="prev" href="../index_architecture/">
|
||||||
|
|
||||||
|
|
||||||
<link rel="next" href="../numa_worker_pools/">
|
<link rel="next" href="../hot_resume_memoization/">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Sibling annex - obikmer</title>
|
<title>Sibling annex - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -674,6 +758,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -870,6 +982,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1296,6 +1464,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../numa_worker_pools/" class="md-nav__link">
|
<a href="../numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1496,9 +1692,6 @@
|
|||||||
|
|
||||||
|
|
||||||
<h1 id="sibling-annex-snp-family-pipeline-architecture">Sibling annex & SNP-family pipeline — architecture</h1>
|
<h1 id="sibling-annex-snp-family-pipeline-architecture">Sibling annex & SNP-family pipeline — architecture</h1>
|
||||||
<p>Current state of <code>obikphylo::siblings</code> (crate <code>obikphylo</code>, module <code>siblings</code>).
|
|
||||||
Historical rationale, dated findings, and superseded designs live in <code>jj</code>
|
|
||||||
history, not here.</p>
|
|
||||||
<h2 id="data-model">Data model</h2>
|
<h2 id="data-model">Data model</h2>
|
||||||
<p>A <strong>family</strong> is the up-to-4 k-mers sharing all flanks and differing only at
|
<p>A <strong>family</strong> is the up-to-4 k-mers sharing all flanks and differing only at
|
||||||
the central base (well-defined for odd <code>k</code>). <code>FamilyMask</code> (<code>siblingannex.rs</code>)
|
the central base (well-defined for odd <code>k</code>). <code>FamilyMask</code> (<code>siblingannex.rs</code>)
|
||||||
@@ -1623,7 +1816,7 @@ operations with no cross-invocation sharing concern: <code>build_sibling_annex</
|
|||||||
<code>shannon_entropy_csv</code>, <code>sibling_family_size_histogram</code>/<code>sibling_annex_stats</code>,
|
<code>shannon_entropy_csv</code>, <code>sibling_family_size_histogram</code>/<code>sibling_annex_stats</code>,
|
||||||
<code>family_overlap</code>. The sampled SNP path (<code>sampled_scan</code>, <code>AlignmentReducer</code>,
|
<code>family_overlap</code>. The sampled SNP path (<code>sampled_scan</code>, <code>AlignmentReducer</code>,
|
||||||
<code>PairwiseReducer</code>, <code>distance_matrix</code>, <code>SankoffBundle</code>) is <strong>not</strong> wrapped in
|
<code>PairwiseReducer</code>, <code>distance_matrix</code>, <code>SankoffBundle</code>) is <strong>not</strong> wrapped in
|
||||||
trait methods — the CLI (<code>obikmer::cmd::phylo</code>) composes them directly,
|
trait methods — the CLI (<code>obiskim::cmd::phylo</code>) composes them directly,
|
||||||
because it alone knows the union of reducers a given invocation needs
|
because it alone knows the union of reducers a given invocation needs
|
||||||
(<code>--pseudo-alignment</code>/Sankoff group/<code>snp-*</code> <code>--distance</code> can combine in one
|
(<code>--pseudo-alignment</code>/Sankoff group/<code>snp-*</code> <code>--distance</code> can combine in one
|
||||||
call). A per-output trait method would have to either duplicate that
|
call). A per-output trait method would have to either duplicate that
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Benchmark: query-path testing - obikmer</title>
|
<title>Benchmark: query-path testing - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -676,6 +760,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -872,6 +984,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1285,6 +1453,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1476,8 +1672,8 @@
|
|||||||
<h1 id="benchmark-query-path-testing">Benchmark: query-path testing</h1>
|
<h1 id="benchmark-query-path-testing">Benchmark: query-path testing</h1>
|
||||||
<p><code>benchmark/Makefile</code> exercises indexing, merge, and phylo distance
|
<p><code>benchmark/Makefile</code> exercises indexing, merge, and phylo distance
|
||||||
reconstruction against simulated bacterial genomes. It now also covers
|
reconstruction against simulated bacterial genomes. It now also covers
|
||||||
<code>obikmer query</code> — the read-matching path — and the sparse packed
|
<code>obiskim query</code> — the read-matching path — and the sparse packed
|
||||||
presence-matrix format (<code>obikmer pack --sparse</code>), previously untested by
|
presence-matrix format (<code>obiskim pack --sparse</code>), previously untested by
|
||||||
this pipeline.</p>
|
this pipeline.</p>
|
||||||
<h2 id="motivation">Motivation</h2>
|
<h2 id="motivation">Motivation</h2>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -1511,7 +1707,7 @@ without duplicating the exhaustive per-specimen coverage
|
|||||||
<code>verify_merge_presence</code> already provides across all <code>SPECIMENS</code>.</p>
|
<code>verify_merge_presence</code> already provides across all <code>SPECIMENS</code>.</p>
|
||||||
<h2 id="sparse-global-index">Sparse global index</h2>
|
<h2 id="sparse-global-index">Sparse global index</h2>
|
||||||
<p><code>global_index_presence_sparse/</code> is built by <code>pack_sparse.sh</code>: copy
|
<p><code>global_index_presence_sparse/</code> is built by <code>pack_sparse.sh</code>: copy
|
||||||
<code>global_index_presence/</code> wholesale, then <code>obikmer pack --sparse</code> in place.
|
<code>global_index_presence/</code> wholesale, then <code>obiskim pack --sparse</code> in place.
|
||||||
This works directly because <code>merge</code>'s pack stage (<code>merge.rs:252</code>,
|
This works directly because <code>merge</code>'s pack stage (<code>merge.rs:252</code>,
|
||||||
<code>pack_matrices(false)</code>) keeps the per-genome column files on disk after
|
<code>pack_matrices(false)</code>) keeps the per-genome column files on disk after
|
||||||
dense-packing — <code>pack_sparse_bit_matrix</code> (<code>obicompactvec/src/bitmatrix/sparse.rs:447</code>)
|
dense-packing — <code>pack_sparse_bit_matrix</code> (<code>obicompactvec/src/bitmatrix/sparse.rs:447</code>)
|
||||||
@@ -1519,7 +1715,7 @@ reads those, is idempotent, and removes <code>matrix.pbmx</code> once the sparse
|
|||||||
is written, so <code>Persistent::open</code> falls through to the sparse format
|
is written, so <code>Persistent::open</code> falls through to the sparse format
|
||||||
afterward. No separate merge run needed.</p>
|
afterward. No separate merge run needed.</p>
|
||||||
<h2 id="query-runs">Query runs</h2>
|
<h2 id="query-runs">Query runs</h2>
|
||||||
<p><code>query_one.sh dense|sparse SPECIMEN</code> runs <code>obikmer query --count-missing</code>
|
<p><code>query_one.sh dense|sparse SPECIMEN</code> runs <code>obiskim query --count-missing</code>
|
||||||
against <code>global_index_presence</code> or <code>global_index_presence_sparse</code>, output
|
against <code>global_index_presence</code> or <code>global_index_presence_sparse</code>, output
|
||||||
gzipped to <code>query_{dense,sparse}/SPECIMEN.fasta.gz</code>, Reporter wall/RSS
|
gzipped to <code>query_{dense,sparse}/SPECIMEN.fasta.gz</code>, Reporter wall/RSS
|
||||||
captured to <code>stats/query_{dense,sparse}/SPECIMEN.stats</code> (same
|
captured to <code>stats/query_{dense,sparse}/SPECIMEN.stats</code> (same
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Chunkreader.refs - obikmer</title>
|
<title>Chunkreader.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<link href="../pipeline/" rel="next"/>
|
<link href="../pipeline/" rel="next"/>
|
||||||
<link href="../../assets/images/favicon.png" rel="icon"/>
|
<link href="../../assets/images/favicon.png" rel="icon"/>
|
||||||
<meta content="mkdocs-1.6.1, mkdocs-material-9.7.6" name="generator"/>
|
<meta content="mkdocs-1.6.1, mkdocs-material-9.7.6" name="generator"/>
|
||||||
<title>Chunk reader - obikmer</title>
|
<title>Chunk reader - obiskim</title>
|
||||||
<link href="../../assets/stylesheets/main.484c7ddc.min.css" rel="stylesheet"/>
|
<link href="../../assets/stylesheets/main.484c7ddc.min.css" rel="stylesheet"/>
|
||||||
<link crossorigin="" href="https://fonts.gstatic.com" rel="preconnect"/>
|
<link crossorigin="" href="https://fonts.gstatic.com" rel="preconnect"/>
|
||||||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback" rel="stylesheet"/>
|
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback" rel="stylesheet"/>
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav aria-label="Header" class="md-header__inner md-grid">
|
<nav aria-label="Header" class="md-header__inner md-grid">
|
||||||
<a aria-label="obikmer" class="md-header__button md-logo" data-md-component="logo" href="../.." title="obikmer">
|
<a aria-label="obiskim" class="md-header__button md-logo" data-md-component="logo" href="../.." title="obiskim">
|
||||||
<svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"></path></svg>
|
<svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"></path></svg>
|
||||||
</a>
|
</a>
|
||||||
<label class="md-header__button md-icon" for="__drawer">
|
<label class="md-header__button md-icon" for="__drawer">
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -62,10 +62,10 @@
|
|||||||
<div class="md-sidebar__inner">
|
<div class="md-sidebar__inner">
|
||||||
<nav aria-label="Navigation" class="md-nav md-nav--primary" data-md-level="0">
|
<nav aria-label="Navigation" class="md-nav md-nav--primary" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a aria-label="obikmer" class="md-nav__button md-logo" data-md-component="logo" href="../.." title="obikmer">
|
<a aria-label="obiskim" class="md-nav__button md-logo" data-md-component="logo" href="../.." title="obiskim">
|
||||||
<svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"></path></svg>
|
<svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"></path></svg>
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
<ul class="md-nav__list" data-md-scrollfix="">
|
<ul class="md-nav__list" data-md-scrollfix="">
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
@@ -172,6 +172,18 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a class="md-nav__link" href="../../theory/chance_sharing/">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -184,6 +196,30 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a class="md-nav__link" href="../../theory/sibling_partition_unification/">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a class="md-nav__link" href="../../theory/pair_coverage_sampling/">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -377,6 +413,18 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a class="md-nav__link" href="../mphf_batch_queries/">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -461,6 +509,30 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a class="md-nav__link" href="../merge_mmap_audit/">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a class="md-nav__link" href="../merge_scaling/">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -583,6 +655,18 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a class="md-nav__link" href="../../architecture/hot_resume_memoization/">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Evidence elimination.refs - obikmer</title>
|
<title>Evidence elimination.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1274,9 +1470,9 @@
|
|||||||
<li><code>obikindex/src/layer/mphf_layer.rs</code> — build_approx_evidence(dir, b, z), find_approx()</li>
|
<li><code>obikindex/src/layer/mphf_layer.rs</code> — build_approx_evidence(dir, b, z), find_approx()</li>
|
||||||
<li><code>obikindex/src/layer/meta.rs</code> — EvidenceKind::Approx { b, z }, LayerMeta</li>
|
<li><code>obikindex/src/layer/meta.rs</code> — EvidenceKind::Approx { b, z }, LayerMeta</li>
|
||||||
<li><code>obikindex/src/reindex.rs</code> — KmerIndex::reindex(), conversion exact↔approx en place</li>
|
<li><code>obikindex/src/reindex.rs</code> — KmerIndex::reindex(), conversion exact↔approx en place</li>
|
||||||
<li><code>obikmer/src/cmd/reindex.rs</code> — CLI reindex, options --approx, -z, --evidence-bits, --fp, --block-size</li>
|
<li><code>obiskim/src/cmd/reindex.rs</code> — CLI reindex, options --approx, -z, --evidence-bits, --fp, --block-size</li>
|
||||||
<li><code>obikmer/src/cmd/index.rs</code> — resolve_approx_params(), options --approx, -z, --evidence-bits, --fp</li>
|
<li><code>obiskim/src/cmd/index.rs</code> — resolve_approx_params(), options --approx, -z, --evidence-bits, --fp</li>
|
||||||
<li><code>obikmer/src/cmd/estimate.rs</code> — commande estimate (dry-run des paramètres)</li>
|
<li><code>obiskim/src/cmd/estimate.rs</code> — commande estimate (dry-run des paramètres)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2 id="notes">Notes</h2>
|
<h2 id="notes">Notes</h2>
|
||||||
<p>Ce document était à l'origine une discussion de design (4 approches). L'implémentation
|
<p>Ce document était à l'origine une discussion de design (4 approches). L'implémentation
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Evidence elimination (discussion) - obikmer</title>
|
<title>Evidence elimination (discussion) - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -676,6 +760,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1007,6 +1119,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1285,6 +1453,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="prev" href="../merge_parallelism/">
|
<link rel="prev" href="../merge_scaling/">
|
||||||
|
|
||||||
|
|
||||||
<link rel="next" href="../select/">
|
<link rel="next" href="../select/">
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Kmer filtering - obikmer</title>
|
<title>Kmer filtering - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -676,6 +760,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -872,6 +984,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item md-nav__item--active">
|
<li class="md-nav__item md-nav__item--active">
|
||||||
@@ -1408,6 +1576,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -2117,7 +2313,7 @@ mathematically equivalent for integer counts: <code>n / N < F</code> ↔ <cod
|
|||||||
<h2 id="examples">Examples</h2>
|
<h2 id="examples">Examples</h2>
|
||||||
<p>Keep k-mers specific to <em>Betula nana</em> — present in at least 2 <em>B. nana</em> genomes
|
<p>Keep k-mers specific to <em>Betula nana</em> — present in at least 2 <em>B. nana</em> genomes
|
||||||
and absent from every other genome in the index:</p>
|
and absent from every other genome in the index:</p>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span>filter<span class="w"> </span>src<span class="w"> </span>--output<span class="w"> </span>dst<span class="w"> </span><span class="se">\</span>
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span>filter<span class="w"> </span>src<span class="w"> </span>--output<span class="w"> </span>dst<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"species=Betula_nana"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"species=Betula_nana"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"*"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"*"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--min-count<span class="w"> </span><span class="m">2</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--min-count<span class="w"> </span><span class="m">2</span><span class="w"> </span><span class="se">\</span>
|
||||||
@@ -2125,7 +2321,7 @@ and absent from every other genome in the index:</p>
|
|||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>Keep k-mers found in at least 2 <em>Betula nana</em> genomes and absent from all
|
<p>Keep k-mers found in at least 2 <em>Betula nana</em> genomes and absent from all
|
||||||
other <em>Betula</em>:</p>
|
other <em>Betula</em>:</p>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span>filter<span class="w"> </span>src<span class="w"> </span>--output<span class="w"> </span>dst<span class="w"> </span><span class="se">\</span>
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span>filter<span class="w"> </span>src<span class="w"> </span>--output<span class="w"> </span>dst<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"species=Betula_nana"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"species=Betula_nana"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"genus=Betula"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"genus=Betula"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--min-count<span class="w"> </span><span class="m">2</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--min-count<span class="w"> </span><span class="m">2</span><span class="w"> </span><span class="se">\</span>
|
||||||
@@ -2133,14 +2329,14 @@ other <em>Betula</em>:</p>
|
|||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>Use taxonomic paths — keep k-mers present in ≥ 50 % of the <em>Betula</em> clade
|
<p>Use taxonomic paths — keep k-mers present in ≥ 50 % of the <em>Betula</em> clade
|
||||||
and in fewer than 10 % of everything outside <em>Betulaceae</em>:</p>
|
and in fewer than 10 % of everything outside <em>Betulaceae</em>:</p>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span>filter<span class="w"> </span>src<span class="w"> </span>--output<span class="w"> </span>dst<span class="w"> </span><span class="se">\</span>
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span>filter<span class="w"> </span>src<span class="w"> </span>--output<span class="w"> </span>dst<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"taxon~/Betulaceae/Betula"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"taxon~/Betulaceae/Betula"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"taxon!~/Betulaceae"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"taxon!~/Betulaceae"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--min-frac<span class="w"> </span><span class="m">0</span>.5<span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--min-frac<span class="w"> </span><span class="m">0</span>.5<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--max-outgroup-frac<span class="w"> </span><span class="m">0</span>.1
|
<span class="w"> </span>--max-outgroup-frac<span class="w"> </span><span class="m">0</span>.1
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>Multiple outgroup predicates (OR): exclude k-mers present in <em>Alnus</em> or <em>Carpinus</em>:</p>
|
<p>Multiple outgroup predicates (OR): exclude k-mers present in <em>Alnus</em> or <em>Carpinus</em>:</p>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span>filter<span class="w"> </span>src<span class="w"> </span>--output<span class="w"> </span>dst<span class="w"> </span><span class="se">\</span>
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span>filter<span class="w"> </span>src<span class="w"> </span>--output<span class="w"> </span>dst<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"genus=Betula"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"genus=Betula"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"genus=Alnus"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"genus=Alnus"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"genus=Carpinus"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"genus=Carpinus"</span><span class="w"> </span><span class="se">\</span>
|
||||||
@@ -2148,21 +2344,21 @@ and in fewer than 10 % of everything outside <em>Betulaceae</em>:</p>
|
|||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>Noise-tolerant core — keep k-mers present in <em>all but one</em> ingroup genome
|
<p>Noise-tolerant core — keep k-mers present in <em>all but one</em> ingroup genome
|
||||||
(<code>-1</code> = <code>n−1</code>) and absent from <em>all but one</em> of the outgroup:</p>
|
(<code>-1</code> = <code>n−1</code>) and absent from <em>all but one</em> of the outgroup:</p>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span>filter<span class="w"> </span>src<span class="w"> </span>--output<span class="w"> </span>dst<span class="w"> </span><span class="se">\</span>
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span>filter<span class="w"> </span>src<span class="w"> </span>--output<span class="w"> </span>dst<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"genus=Betula"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"genus=Betula"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"*"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"*"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--min-count<span class="w"> </span>-1<span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--min-count<span class="w"> </span>-1<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--max-outgroup-count<span class="w"> </span>-1
|
<span class="w"> </span>--max-outgroup-count<span class="w"> </span>-1
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>To dump only k-mers specific to <em>Betula nana</em>:</p>
|
<p>To dump only k-mers specific to <em>Betula nana</em>:</p>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span>dump<span class="w"> </span>myindex<span class="w"> </span><span class="se">\</span>
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span>dump<span class="w"> </span>myindex<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"species=Betula_nana"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"species=Betula_nana"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"*"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"*"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--min-count<span class="w"> </span><span class="m">1</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--min-count<span class="w"> </span><span class="m">1</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--max-outgroup-count<span class="w"> </span><span class="m">0</span>
|
<span class="w"> </span>--max-outgroup-count<span class="w"> </span><span class="m">0</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>To enumerate unitigs of the <em>Betula</em>-specific subgraph:</p>
|
<p>To enumerate unitigs of the <em>Betula</em>-specific subgraph:</p>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span>unitig<span class="w"> </span>myindex<span class="w"> </span><span class="se">\</span>
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span>unitig<span class="w"> </span>myindex<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"genus=Betula"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"genus=Betula"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"*"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"*"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--min-count<span class="w"> </span><span class="m">2</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--min-count<span class="w"> </span><span class="m">2</span><span class="w"> </span><span class="se">\</span>
|
||||||
@@ -2173,14 +2369,14 @@ and in fewer than 10 % of everything outside <em>Betulaceae</em>:</p>
|
|||||||
<p>Stops output after the first N k-mers that pass all active filters.
|
<p>Stops output after the first N k-mers that pass all active filters.
|
||||||
Iteration terminates immediately — subsequent partitions and layers are not scanned.
|
Iteration terminates immediately — subsequent partitions and layers are not scanned.
|
||||||
Useful for quick inspection of large indexes without loading the entire dataset.</p>
|
Useful for quick inspection of large indexes without loading the entire dataset.</p>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span>dump<span class="w"> </span>myindex<span class="w"> </span>--head<span class="w"> </span><span class="m">100</span>
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span>dump<span class="w"> </span>myindex<span class="w"> </span>--head<span class="w"> </span><span class="m">100</span>
|
||||||
obikmer<span class="w"> </span>dump<span class="w"> </span>myindex<span class="w"> </span>--head<span class="w"> </span><span class="m">20</span><span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"species=Betula_nana"</span><span class="w"> </span>--min-count<span class="w"> </span><span class="m">1</span>
|
obiskim<span class="w"> </span>dump<span class="w"> </span>myindex<span class="w"> </span>--head<span class="w"> </span><span class="m">20</span><span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"species=Betula_nana"</span><span class="w"> </span>--min-count<span class="w"> </span><span class="m">1</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<h3 id="phylo-presence-threshold-n"><code>phylo --presence-threshold N</code></h3>
|
<h3 id="phylo-presence-threshold-n"><code>phylo --presence-threshold N</code></h3>
|
||||||
<p>When computing Jaccard distance on a <strong>count index</strong>, a k-mer is considered present in a genome if its count is ≥ N (default 1).
|
<p>When computing Jaccard distance on a <strong>count index</strong>, a k-mer is considered present in a genome if its count is ≥ N (default 1).
|
||||||
This option is independent of the <code>--presence-threshold</code> used in filtering.</p>
|
This option is independent of the <code>--presence-threshold</code> used in filtering.</p>
|
||||||
<div class="highlight"><pre><span></span><code><span class="c1"># Jaccard treating kmers with count ≥ 2 as present</span>
|
<div class="highlight"><pre><span></span><code><span class="c1"># Jaccard treating kmers with count ≥ 2 as present</span>
|
||||||
obikmer<span class="w"> </span>phylo<span class="w"> </span>myindex<span class="w"> </span>--metric<span class="w"> </span>jaccard<span class="w"> </span>--presence-threshold<span class="w"> </span><span class="m">2</span>
|
obiskim<span class="w"> </span>phylo<span class="w"> </span>myindex<span class="w"> </span>--metric<span class="w"> </span>jaccard<span class="w"> </span>--presence-threshold<span class="w"> </span><span class="m">2</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>This parameter has no effect on presence/absence indexes (where values are already 0/1) or on metrics other than Jaccard.</p>
|
<p>This parameter has no effect on presence/absence indexes (where values are already 0/1) or on metrics other than Jaccard.</p>
|
||||||
<h2 id="implementation">Implementation</h2>
|
<h2 id="implementation">Implementation</h2>
|
||||||
@@ -2193,7 +2389,7 @@ obikmer<span class="w"> </span>phylo<span class="w"> </span>myindex<span class="
|
|||||||
lookup and counter.</p>
|
lookup and counter.</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<p><strong><code>obikmer::cmd::predicate::FilterArgs</code></strong> — shared <code>clap</code> argument group
|
<p><strong><code>obiskim::cmd::predicate::FilterArgs</code></strong> — shared <code>clap</code> argument group
|
||||||
embedded via <code>#[command(flatten)]</code> in <code>FilterArgs</code>, <code>DumpArgs</code>, and
|
embedded via <code>#[command(flatten)]</code> in <code>FilterArgs</code>, <code>DumpArgs</code>, and
|
||||||
<code>UnitigArgs</code>. <code>FilterArgs::build_filters()</code> returns a ready-to-use filter
|
<code>UnitigArgs</code>. <code>FilterArgs::build_filters()</code> returns a ready-to-use filter
|
||||||
list.</p>
|
list.</p>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Kmer.refs - obikmer</title>
|
<title>Kmer.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Kmer - obikmer</title>
|
<title>Kmer - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -811,6 +895,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1007,6 +1119,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1285,6 +1453,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Layer tier.refs - obikmer</title>
|
<title>Layer tier.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>obikindex layer tier - obikmer</title>
|
<title>obikindex layer tier - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -676,6 +760,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1246,6 +1358,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1524,6 +1692,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Merge.refs - obikmer</title>
|
<title>Merge.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Merge command - obikmer</title>
|
<title>Merge command - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -676,6 +760,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -955,10 +1067,10 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#2-bootstrap-output-from-first-source" class="md-nav__link">
|
<a href="#2-bootstrap-output-from-the-base-source" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
2. Bootstrap output from first source
|
2. Bootstrap output from the base source
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -1090,6 +1202,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1368,6 +1536,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1530,10 +1726,10 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#2-bootstrap-output-from-first-source" class="md-nav__link">
|
<a href="#2-bootstrap-output-from-the-base-source" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
2. Bootstrap output from first source
|
2. Bootstrap output from the base source
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -1641,7 +1837,7 @@
|
|||||||
|
|
||||||
<h1 id="merge-command">Merge command</h1>
|
<h1 id="merge-command">Merge command</h1>
|
||||||
<h2 id="purpose">Purpose</h2>
|
<h2 id="purpose">Purpose</h2>
|
||||||
<p><code>obikmer merge</code> combines multiple existing kmer indexes into a single index. The result contains all kmers from all sources, with per-genome presence/absence or count data for every genome across every layer.</p>
|
<p><code>obiskim merge</code> combines multiple existing kmer indexes into a single index. The result contains all kmers from all sources, with per-genome presence/absence or count data for every genome across every layer.</p>
|
||||||
<hr />
|
<hr />
|
||||||
<h2 id="modes">Modes</h2>
|
<h2 id="modes">Modes</h2>
|
||||||
<div class="highlight"><pre><span></span><code><span class="k">pub</span><span class="w"> </span><span class="k">enum</span><span class="w"> </span><span class="nc">MergeMode</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="n">Presence</span><span class="p">,</span><span class="w"> </span><span class="n">Count</span><span class="w"> </span><span class="p">}</span>
|
<div class="highlight"><pre><span></span><code><span class="k">pub</span><span class="w"> </span><span class="k">enum</span><span class="w"> </span><span class="nc">MergeMode</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="n">Presence</span><span class="p">,</span><span class="w"> </span><span class="n">Count</span><span class="w"> </span><span class="p">}</span>
|
||||||
@@ -1696,38 +1892,29 @@
|
|||||||
<h2 id="algorithm">Algorithm</h2>
|
<h2 id="algorithm">Algorithm</h2>
|
||||||
<h3 id="1-validation">1. Validation</h3>
|
<h3 id="1-validation">1. Validation</h3>
|
||||||
<p>Check all sources against the constraints above. Abort on any mismatch.</p>
|
<p>Check all sources against the constraints above. Abort on any mismatch.</p>
|
||||||
<h3 id="2-bootstrap-output-from-first-source">2. Bootstrap output from first source</h3>
|
<h3 id="2-bootstrap-output-from-the-base-source">2. Bootstrap output from the base source</h3>
|
||||||
<p>Recursive file copy of <code>sources[0]</code> → <code>output</code>. Immediately after the copy:</p>
|
<p>The base is chosen by <code>choose_base</code> (<code>merge.rs</code>): the source with the largest total <code>unitigs.bin</code> size (restricted to approximate-evidence sources when the output must be approximate). It is not necessarily <code>sources[0]</code>, and the genome columns follow the base first. Because <code>obiskim index</code> is not byte-reproducible (unitig segmentation varies), two near-equal sources can swap roles between runs. Its directory is copied to <code>output</code> (hard links for files <code>merge_partition</code> never rewrites, see below). Immediately after the copy:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>index.meta</code> is rewritten with the final genome list (all sources, possibly renamed) and the effective evidence kind.</li>
|
<li><code>index.meta</code> is rewritten with the final genome list (all sources, possibly renamed) and the effective evidence kind.</li>
|
||||||
<li>In <code>Presence</code> mode, any <code>counts/</code> directories inherited from source_0 are removed.</li>
|
<li>In <code>Presence</code> mode, any <code>counts/</code> directories inherited from source_0 are removed.</li>
|
||||||
<li><code>spectrums/</code> from source_0 is removed and rebuilt from scratch across all sources, applying the (possibly renamed) labels.</li>
|
<li><code>spectrums/</code> from source_0 is removed and rebuilt from scratch across all sources, applying the (possibly renamed) labels.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>This establishes the partition layout, all existing MPHFs, unitigs, and evidence files. The first source's genomes occupy columns 0 … <code>n_dst_genomes - 1</code> in the destination.</p>
|
<p>This establishes the partition layout, all existing MPHFs, unitigs, and evidence files. The base source's genomes occupy columns 0 … <code>n_dst_genomes - 1</code> in the destination.</p>
|
||||||
<h3 id="3-for-each-subsequent-source-parallel-across-partitions">3. For each subsequent source (parallel across partitions)</h3>
|
<h3 id="3-for-each-subsequent-source-parallel-across-partitions">3. For each subsequent source (parallel across partitions)</h3>
|
||||||
<p><code>KmerPartition::merge_partition(i, sources, mode, n_dst_genomes, block_bits)</code> is called for each partition index <code>i</code>. <code>block_bits</code> is taken from <code>dst.meta.config.block_bits</code>.</p>
|
<p><code>obikmerge::partition_merge::merge_partition(dst, i, sources, mode, n_dst_genomes, block_bits, evidence)</code> runs once per partition index <code>i</code> (scheduled largest first by <code>PartitionRunner</code>). Each entry of <code>sources</code> is <code>(&KmerIndex, n_genomes)</code>, where <code>n_genomes</code> is the number of columns that source contributes (> 1 for an already-merged source). Code: <code>partition_merge/mod.rs</code> (orchestration, pass 1) and <code>partition_merge/pass2.rs</code> (per-group fill pipeline).</p>
|
||||||
<p>Each entry in <code>sources</code> is <code>(&KmerPartition, n_genomes)</code> where <code>n_genomes</code> is the column count that source contributes (> 1 when the source is itself a merged index).</p>
|
<p><strong>First merge, Presence mode</strong>: when <code>n_dst_genomes == 1</code>, <code>TypedLayer::<()>::init_presence_matrix</code> is called on every existing dst layer first. It materialises the implicit single-genome matrix (<code>presence/col_000000.pbiv</code>, all true) so that source columns can be appended to it.</p>
|
||||||
<p><strong>First merge, Presence mode</strong>: when <code>n_dst_genomes == 1</code>, <code>Layer::<()>::init_presence_matrix</code> is called on every existing destination layer before any source column is appended. This creates <code>presence/col_000000.pbiv</code> set all-true (genome 0 is present in every slot).</p>
|
<p>The dst layers are opened once per partition and shared by both passes.</p>
|
||||||
<p><strong>Pass 1 — classify kmers</strong></p>
|
<p><strong>Pass 1 — new k-mers into a de Bruijn graph.</strong> Only the sources' <code>unitigs.bin</code> <em>paths</em> are needed (<code>KmerLayer::new(..).unitigs_path()</code>); no source layer is opened. The files are streamed (at most <code>max_open = 2</code> open at once), and every k-mer absent from all dst layers is pushed into one <code>GraphDeBruijn</code>. All new k-mers of all sources go into a <strong>single</strong> new layer per merge, built by <code>materialize_layer</code> (unitigs + MPHF + evidence).</p>
|
||||||
<p>Iterate all kmers from all source partitions (via <code>UnitigFileReader</code> + canonical kmer iteration). For each kmer, probe the destination <code>LayeredMap<()></code>:</p>
|
<p><strong>New-layer matrix.</strong> If a new layer exists, its matrix is created with <code>n_dst_genomes</code> absent columns (all zero/false) and closed immediately. This keeps the column-count invariant, and every source group then appends to it like to the existing layers.</p>
|
||||||
<ul>
|
<p><strong>Pass 2 — by consecutive groups of <code>SRC_GROUP = 2</code> sources, in source order.</strong> Per group:</p>
|
||||||
<li><strong>Hit</strong>: kmer already in the destination; record for Pass 2.</li>
|
<ol>
|
||||||
<li><strong>Miss</strong>: push kmer into a <code>GraphDeBruijn</code> accumulator.</li>
|
<li>open the group's source layers for this partition;</li>
|
||||||
</ul>
|
<li><code>MatrixBuilder::resume</code> every dst matrix (existing layers + new layer), check <code>n_cols == n_dst_genomes + col_base</code>, append the group's <code>group_n</code> columns;</li>
|
||||||
<p><strong>New layer construction</strong></p>
|
<li>run the pipeline: stream each source layer's k-mers, <code>hash_batch</code> + <code>fill_sub_matrix</code> on the source, locate each k-mer in the dst layers (<code>find_batch_grouped</code>) or else in the new layer's MPHF, and write the values column-major into the group's builders;</li>
|
||||||
<p>If the accumulator is non-empty, compute de Bruijn unitigs and call <code>Layer::<()>::build(&new_layer_dir, block_bits)</code>. All kmers absent from the destination — across <strong>all</strong> sources — accumulate into a <strong>single</strong> graph, producing one new layer per merge operation (not one per source).</p>
|
<li>close the columns, then the matrices; drop the group's layers; <code>col_base += group_n</code>.</li>
|
||||||
<p><strong>Pass 2 — fill column builders</strong></p>
|
</ol>
|
||||||
<p>For each source and each of its layers, re-iterate unitigs and look up stored values via <code>SrcLayerData::lookup(kmer, src_n)</code>:</p>
|
<p>Only one group's source layers and destination columns are alive at a time, so the number of live mappings per partition does not depend on the number of sources. Columns are appended in source order, so every genome lands in the same absolute column as in a single-session merge.</p>
|
||||||
<ul>
|
<p><strong>In-memory columns.</strong> The group's columns are built in RAM (<code>MatrixBuilder::add_mem_col</code> → <code>MemBitVecBuilder</code> / <code>MemCompactIntVecBuilder</code>) and written once, sequentially, at <code>close</code> (<code>.building</code> file, then <code>rename</code>). The files are byte-identical to the former mmap-backed builders' output. There is no sparse file and no <code>MmapMut</code> on this path, so a block the FS cannot allocate is an <code>io::Error</code> instead of a SIGBUS. Files are not <code>fsync</code>ed: one sync per column file made merge ~8× slower. RAM per partition is at most <code>SRC_GROUP × src_n × N_part × (1/8 | 1)</code> bytes (presence | counts). History and figures: <code>merge_mmap_audit.md</code>; scaling limits: <code>merge_scaling.md</code>.</p>
|
||||||
<li><code>SrcLayerData::SetMembership</code> — no data directory exists; every kmer returns <code>vec![1; n_genomes]</code></li>
|
|
||||||
<li><code>SrcLayerData::Presence</code> — reads <code>PersistentBitMatrix</code> from <code>presence/</code></li>
|
|
||||||
<li><code>SrcLayerData::Count</code> — reads <code>PersistentCompactIntMatrix</code> from <code>counts/</code></li>
|
|
||||||
</ul>
|
|
||||||
<p>Hits are routed to <code>exist_builders[dst_layer][src_col]</code>; misses are routed to <code>new_src_builders[src_col]</code>.</p>
|
|
||||||
<p><strong>Column prepending for new layers</strong></p>
|
|
||||||
<p>Before source columns are written to the new layer, <code>n_dst_genomes</code> absent columns (all-zero / all-false) are prepended — one per genome already in the index — so the column count invariant holds immediately after layer creation.</p>
|
|
||||||
<p><strong>Close and update metadata</strong></p>
|
|
||||||
<p>Close all builders; update <code>presence/meta.json</code> or <code>counts/meta.json</code> with <code>{"n": N, "n_cols": n_dst_genomes + n_src_total}</code>; increment <code>PartitionMeta::n_layers</code> if a new layer was added.</p>
|
|
||||||
<h3 id="4-update-index-metadata">4. Update index metadata</h3>
|
<h3 id="4-update-index-metadata">4. Update index metadata</h3>
|
||||||
<p><code>index.meta</code> was already written during bootstrap with the complete genome list and evidence kind. No further update is needed after the partition loop.</p>
|
<p><code>index.meta</code> was already written during bootstrap with the complete genome list and evidence kind. No further update is needed after the partition loop.</p>
|
||||||
<hr />
|
<hr />
|
||||||
@@ -1741,13 +1928,13 @@
|
|||||||
<span class="w"> </span><span class="k">pub</span><span class="w"> </span><span class="k">fn</span><span class="w"> </span><span class="nf">append_genome_column</span><span class="p">(</span><span class="n">layer_dir</span><span class="p">:</span><span class="w"> </span><span class="kp">&</span><span class="nc">Path</span><span class="p">,</span><span class="w"> </span><span class="n">value_of</span><span class="p">:</span><span class="w"> </span><span class="nc">impl</span><span class="w"> </span><span class="nb">Fn</span><span class="p">(</span><span class="kt">usize</span><span class="p">)</span><span class="w"> </span><span class="p">-></span><span class="w"> </span><span class="kt">bool</span><span class="p">)</span><span class="w"> </span><span class="p">-></span><span class="w"> </span><span class="nc">OLMResult</span><span class="o"><</span><span class="p">()</span><span class="o">></span>
|
<span class="w"> </span><span class="k">pub</span><span class="w"> </span><span class="k">fn</span><span class="w"> </span><span class="nf">append_genome_column</span><span class="p">(</span><span class="n">layer_dir</span><span class="p">:</span><span class="w"> </span><span class="kp">&</span><span class="nc">Path</span><span class="p">,</span><span class="w"> </span><span class="n">value_of</span><span class="p">:</span><span class="w"> </span><span class="nc">impl</span><span class="w"> </span><span class="nb">Fn</span><span class="p">(</span><span class="kt">usize</span><span class="p">)</span><span class="w"> </span><span class="p">-></span><span class="w"> </span><span class="kt">bool</span><span class="p">)</span><span class="w"> </span><span class="p">-></span><span class="w"> </span><span class="nc">OLMResult</span><span class="o"><</span><span class="p">()</span><span class="o">></span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>Each appends one column file to the matrix subdirectory (<code>counts/</code> or <code>presence/</code>). In <code>merge_partition</code>, columns are written directly via <code>PersistentBitVecBuilder</code> / <code>PersistentCompactIntVecBuilder</code> rather than through these helpers, but the invariant they enforce is the same.</p>
|
<p>Each appends one column file to the matrix subdirectory (<code>counts/</code> or <code>presence/</code>). In <code>merge_partition</code>, columns are written through <code>MatrixBuilder::add_mem_col</code> (in-memory builders) rather than through these helpers, but the invariant they enforce is the same.</p>
|
||||||
<hr />
|
<hr />
|
||||||
<h2 id="column-count-invariant">Column count invariant</h2>
|
<h2 id="column-count-invariant">Column count invariant</h2>
|
||||||
<p>After any merge, <strong>every layer in every partition has exactly <code>n_genomes</code> columns</strong>, where <code>n_genomes</code> is the total genome count in the index at that point.</p>
|
<p>After any merge, <strong>every layer in every partition has exactly <code>n_genomes</code> columns</strong>, where <code>n_genomes</code> is the total genome count in the index at that point.</p>
|
||||||
<p>Maintained by three mechanisms:</p>
|
<p>Maintained by three mechanisms:</p>
|
||||||
<ol>
|
<ol>
|
||||||
<li><strong>Existing layers</strong>: <code>n_src_total</code> columns appended (one per source genome).</li>
|
<li><strong>Existing layers</strong>: <code>n_src_total</code> columns appended (one per source genome), group by group.</li>
|
||||||
<li><strong>New layers created during merge</strong>: <code>n_dst_genomes</code> absent columns prepended before source columns.</li>
|
<li><strong>New layers created during merge</strong>: <code>n_dst_genomes</code> absent columns prepended before source columns.</li>
|
||||||
<li><strong>First merge, Presence mode</strong>: <code>init_presence_matrix</code> retroactively creates <code>presence/col_0</code> all-true for genome 0.</li>
|
<li><strong>First merge, Presence mode</strong>: <code>init_presence_matrix</code> retroactively creates <code>presence/col_0</code> all-true for genome 0.</li>
|
||||||
</ol>
|
</ol>
|
||||||
@@ -1786,7 +1973,7 @@
|
|||||||
</table>
|
</table>
|
||||||
<hr />
|
<hr />
|
||||||
<h2 id="on-disk-impact">On-disk impact</h2>
|
<h2 id="on-disk-impact">On-disk impact</h2>
|
||||||
<p>After merging <code>G</code> genomes (sources_0 contributes <code>G0</code>, subsequent sources the rest):</p>
|
<p>After merging <code>G</code> genomes (sources_0 contributes <code>G0</code>, subsequent sources the rest), <em>before</em> <code>finalize</code> packs each matrix (sparse by default, <code>matrix.pbmx</code> with <code>--dense</code>):</p>
|
||||||
<div class="highlight"><pre><span></span><code>partitions/
|
<div class="highlight"><pre><span></span><code>partitions/
|
||||||
part_00000/
|
part_00000/
|
||||||
index/
|
index/
|
||||||
@@ -1819,7 +2006,7 @@ index.meta ← complete genome list + evidence kind written at
|
|||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p><code>mphf.bin</code>/<code>unitigs.bin</code>/<code>evidence.bin</code>/<code>unitigs.bin.idx</code>/<code>fingerprint.bin</code>/<code>layer_meta.json</code> marked "unchanged" above are hard-linked from the base source's own files during the bootstrap copy (2026-08-28), not copied — <code>merge_partition</code> never rewrites them for pre-existing layers, only the <code>presence</code>/<code>counts</code> subdirectory gets widened in place, so only that subdirectory is a real, independent copy. Falls back to a real copy per file if linking itself fails (different filesystems). Verified: source files are byte-identical (checksummed) before/after a normal merge.</p>
|
<p><code>mphf.bin</code>/<code>unitigs.bin</code>/<code>evidence.bin</code>/<code>unitigs.bin.idx</code>/<code>fingerprint.bin</code>/<code>layer_meta.json</code> marked "unchanged" above are hard-linked from the base source's own files during the bootstrap copy (2026-08-28), not copied — <code>merge_partition</code> never rewrites them for pre-existing layers, only the <code>presence</code>/<code>counts</code> subdirectory gets widened in place, so only that subdirectory is a real, independent copy. Falls back to a real copy per file if linking itself fails (different filesystems). Verified: source files are byte-identical (checksummed) before/after a normal merge.</p>
|
||||||
<h2 id="known-issue-not-yet-fixed-2026-08-28">Known issue (not yet fixed, 2026-08-28)</h2>
|
<h2 id="known-issue-not-yet-fixed-2026-08-28">Known issue (not yet fixed, 2026-08-28)</h2>
|
||||||
<p>Merging an index against itself — literally the same directory passed twice as separate source arguments (e.g. <code>obikmer merge -o out IDX IDX --rename-duplicates</code>) — panics deep in the MPHF's rank-select structure (<code>common_traits::select_in_word</code>, <code>assertion failed: rank < self.count_ones()</code>), inside <code>MphfLayer::find</code> called from <code>merge_partition</code>'s "is this source kmer already in dst" check against the bootstrap-copied <code>dst_layers</code>. Root cause not identified; ruled out so far:</p>
|
<p>Merging an index against itself — literally the same directory passed twice as separate source arguments (e.g. <code>obiskim merge -o out IDX IDX --rename-duplicates</code>) — panics deep in the MPHF's rank-select structure (<code>common_traits::select_in_word</code>, <code>assertion failed: rank < self.count_ones()</code>), inside <code>MphfLayer::find</code> called from <code>merge_partition</code>'s "is this source kmer already in dst" check against the bootstrap-copied <code>dst_layers</code>. Root cause not identified; ruled out so far:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>Not an empty-new-layer issue</strong>: a source contributing zero new kmers (verified both as the sole additional source and as a third, fully-redundant source in a 3-way merge) is handled correctly — no layer is created for it, no crash, exit 0.</li>
|
<li><strong>Not an empty-new-layer issue</strong>: a source contributing zero new kmers (verified both as the sole additional source and as a third, fully-redundant source in a 3-way merge) is handled correctly — no layer is created for it, no crash, exit 0.</li>
|
||||||
<li><strong>Not caused by the hard-link change above</strong>: verified via checksum that a normal (two distinct sources) merge leaves every source file byte-identical.</li>
|
<li><strong>Not caused by the hard-link change above</strong>: verified via checksum that a normal (two distinct sources) merge leaves every source file byte-identical.</li>
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
@@ -12,7 +12,7 @@
|
|||||||
<link rel="prev" href="../merge/">
|
<link rel="prev" href="../merge/">
|
||||||
|
|
||||||
|
|
||||||
<link rel="next" href="../filtering/">
|
<link rel="next" href="../merge_mmap_audit/">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Merge parallelism & memory - obikmer</title>
|
<title>Merge parallelism & memory - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -676,6 +760,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1074,6 +1186,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1352,6 +1520,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1609,7 +1805,7 @@
|
|||||||
|
|
||||||
<h1 id="merge-parallelism-and-memory-pressure">Merge parallelism and memory pressure</h1>
|
<h1 id="merge-parallelism-and-memory-pressure">Merge parallelism and memory pressure</h1>
|
||||||
<h2 id="problem-observed">Problem observed</h2>
|
<h2 id="problem-observed">Problem observed</h2>
|
||||||
<p>Running <code>obikmer merge</code> over 109 indexes (108 sources + 1 bootstrap) on a 192-core machine
|
<p>Running <code>obiskim merge</code> over 109 indexes (108 sources + 1 bootstrap) on a 192-core machine
|
||||||
produces a fatal OOM during the <code>merge_partitions</code> stage:</p>
|
produces a fatal OOM during the <code>merge_partitions</code> stage:</p>
|
||||||
<div class="highlight"><pre><span></span><code>memory allocation of 9126805520 bytes failed
|
<div class="highlight"><pre><span></span><code>memory allocation of 9126805520 bytes failed
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
@@ -1645,7 +1841,7 @@ For <code>(u64, AtomicU8)</code> with alignment: ~16 bytes per slot.</p>
|
|||||||
<p>Plausible for the largest partition of 108 Salix/Betula sources (~450 Mbp each).</p>
|
<p>Plausible for the largest partition of 108 Salix/Betula sources (~450 Mbp each).</p>
|
||||||
<hr />
|
<hr />
|
||||||
<h2 id="partition-size-distribution">Partition size distribution</h2>
|
<h2 id="partition-size-distribution">Partition size distribution</h2>
|
||||||
<p><code>obikmer utils --partition-stats</code> measures the sum of <code>unitigs.bin</code> file sizes
|
<p><code>obiskim utils --partition-stats</code> measures the sum of <code>unitigs.bin</code> file sizes
|
||||||
per partition across all source indexes (pure <code>stat()</code> syscalls, negligible cost).</p>
|
per partition across all source indexes (pure <code>stat()</code> syscalls, negligible cost).</p>
|
||||||
<p>Observed on a 9-genome pilot (256 partitions):</p>
|
<p>Observed on a 9-genome pilot (256 partitions):</p>
|
||||||
<table>
|
<table>
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Mphf.refs - obikmer</title>
|
<title>Mphf.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<link rel="prev" href="../storage/">
|
<link rel="prev" href="../storage/">
|
||||||
|
|
||||||
|
|
||||||
<link rel="next" href="../unitig_evidence/">
|
<link rel="next" href="../mphf_batch_queries/">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>MPHF selection - obikmer</title>
|
<title>MPHF selection - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -889,6 +973,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1085,6 +1197,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1363,6 +1531,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
@@ -7,7 +7,7 @@
|
|||||||
<meta content="width=device-width,initial-scale=1" name="viewport"/>
|
<meta content="width=device-width,initial-scale=1" name="viewport"/>
|
||||||
<link href="../../assets/images/favicon.png" rel="icon"/>
|
<link href="../../assets/images/favicon.png" rel="icon"/>
|
||||||
<meta content="mkdocs-1.6.1, mkdocs-material-9.7.6" name="generator"/>
|
<meta content="mkdocs-1.6.1, mkdocs-material-9.7.6" name="generator"/>
|
||||||
<title>obicompactvec — Complete Reference - obikmer</title>
|
<title>obicompactvec — Complete Reference - obiskim</title>
|
||||||
<link href="../../assets/stylesheets/main.484c7ddc.min.css" rel="stylesheet"/>
|
<link href="../../assets/stylesheets/main.484c7ddc.min.css" rel="stylesheet"/>
|
||||||
<link crossorigin="" href="https://fonts.gstatic.com" rel="preconnect"/>
|
<link crossorigin="" href="https://fonts.gstatic.com" rel="preconnect"/>
|
||||||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback" rel="stylesheet"/>
|
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback" rel="stylesheet"/>
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav aria-label="Header" class="md-header__inner md-grid">
|
<nav aria-label="Header" class="md-header__inner md-grid">
|
||||||
<a aria-label="obikmer" class="md-header__button md-logo" data-md-component="logo" href="../.." title="obikmer">
|
<a aria-label="obiskim" class="md-header__button md-logo" data-md-component="logo" href="../.." title="obiskim">
|
||||||
<svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"></path></svg>
|
<svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"></path></svg>
|
||||||
</a>
|
</a>
|
||||||
<label class="md-header__button md-icon" for="__drawer">
|
<label class="md-header__button md-icon" for="__drawer">
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -60,10 +60,10 @@
|
|||||||
<div class="md-sidebar__inner">
|
<div class="md-sidebar__inner">
|
||||||
<nav aria-label="Navigation" class="md-nav md-nav--primary" data-md-level="0">
|
<nav aria-label="Navigation" class="md-nav md-nav--primary" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a aria-label="obikmer" class="md-nav__button md-logo" data-md-component="logo" href="../.." title="obikmer">
|
<a aria-label="obiskim" class="md-nav__button md-logo" data-md-component="logo" href="../.." title="obiskim">
|
||||||
<svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"></path></svg>
|
<svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"></path></svg>
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
<ul class="md-nav__list" data-md-scrollfix="">
|
<ul class="md-nav__list" data-md-scrollfix="">
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
@@ -170,6 +170,18 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a class="md-nav__link" href="../../theory/chance_sharing/">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -182,6 +194,30 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a class="md-nav__link" href="../../theory/sibling_partition_unification/">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a class="md-nav__link" href="../../theory/pair_coverage_sampling/">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -292,6 +328,18 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a class="md-nav__link" href="../mphf_batch_queries/">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -376,6 +424,30 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a class="md-nav__link" href="../merge_mmap_audit/">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a class="md-nav__link" href="../merge_scaling/">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -498,6 +570,18 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a class="md-nav__link" href="../../architecture/hot_resume_memoization/">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -1481,6 +1565,10 @@ fixed at the source:</p>
|
|||||||
<td><code>threshold_mash_dist_matrix(k, t)</code></td>
|
<td><code>threshold_mash_dist_matrix(k, t)</code></td>
|
||||||
<td>Mash distance, derived from <code>threshold_jaccard_dist_matrix(t)</code> — no separate partial</td>
|
<td>Mash distance, derived from <code>threshold_jaccard_dist_matrix(t)</code> — no separate partial</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>threshold_hamming_dist_matrix(t)</code></td>
|
||||||
|
<td><code>union[i,j] − inter[i,j]</code> (k-mers present in exactly one genome) — no separate partial</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<h3 id="bitpartials">BitPartials</h3>
|
<h3 id="bitpartials">BitPartials</h3>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Obipipeline.refs - obikmer</title>
|
<title>Obipipeline.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>obipipeline library - obikmer</title>
|
<title>obipipeline library - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -839,6 +923,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1035,6 +1147,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1313,6 +1481,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1642,7 +1838,7 @@ Implemented as a <strong>TT muncher</strong>: the internal rule <code>@build</co
|
|||||||
||? func: InVariant => OutVariant,
|
||? func: InVariant => OutVariant,
|
||||||
}
|
}
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>Two pipes compose with <code>.then(other)</code>. Apply to an iterator with <code>.apply(iter, n_workers, capacity)</code> to get a <code>PipeIter<Out></code> — an iterator over the pipeline output, backed by a background <code>WorkerPool</code>. The scatter step in <code>obikmer</code> uses <code>make_pipe!</code> and <code>.apply()</code> rather than the full <code>make_pipeline!</code> / <code>WorkerPool</code> pattern.</p>
|
<p>Two pipes compose with <code>.then(other)</code>. Apply to an iterator with <code>.apply(iter, n_workers, capacity)</code> to get a <code>PipeIter<Out></code> — an iterator over the pipeline output, backed by a background <code>WorkerPool</code>. The scatter step in <code>obiskim</code> uses <code>make_pipe!</code> and <code>.apply()</code> rather than the full <code>make_pipeline!</code> / <code>WorkerPool</code> pattern.</p>
|
||||||
<h2 id="scheduler-architecture">Scheduler architecture</h2>
|
<h2 id="scheduler-architecture">Scheduler architecture</h2>
|
||||||
<div class="highlight"><pre><span></span><code>Source thread ──► [source_rx] ──► Scheduler ──► [worker_tx] ──► Workers (×N)
|
<div class="highlight"><pre><span></span><code>Source thread ──► [source_rx] ──► Scheduler ──► [worker_tx] ──► Workers (×N)
|
||||||
▲ │
|
▲ │
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>obitaxonomy crate - obikmer</title>
|
<title>obitaxonomy crate - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -676,6 +760,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -872,6 +984,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1325,6 +1493,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Partition and layer caching (discussion) - obikmer</title>
|
<title>Partition and layer caching (discussion) - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -676,6 +760,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -872,6 +984,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1583,6 +1751,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -2285,7 +2481,7 @@ needed — <code>obikindex → obikpartitionner</code> stays the same direction
|
|||||||
conversation as a side effect of investigating the false "independent
|
conversation as a side effect of investigating the false "independent
|
||||||
lifecycle" claim.
|
lifecycle" claim.
|
||||||
- <code>KmerIndex::partition()</code>/<code>partition_mut()</code> are gone; <code>scatter()</code>
|
- <code>KmerIndex::partition()</code>/<code>partition_mut()</code> are gone; <code>scatter()</code>
|
||||||
(<code>obikmer</code>) and any write-side code get a transient <code>PartitionRouter</code> via
|
(<code>obiskim</code>) and any write-side code get a transient <code>PartitionRouter</code> via
|
||||||
<code>KmerIndex::partition_router()</code>.
|
<code>KmerIndex::partition_router()</code>.
|
||||||
- A real bug caught by the test suite during this move:
|
- A real bug caught by the test suite during this move:
|
||||||
<code>PartitionRouter::open</code> initially defaulted to <code>closed: true</code> (inherited
|
<code>PartitionRouter::open</code> initially defaulted to <code>closed: true</code> (inherited
|
||||||
@@ -2450,7 +2646,7 @@ unconsumed (<code>&self</code>/<code>&mut self</code>, not <code>self</c
|
|||||||
control (tests, <code>obikphylo</code>'s test harness) still get it, <code>run</code> is a
|
control (tests, <code>obikphylo</code>'s test harness) still get it, <code>run</code> is a
|
||||||
convenience layered on top, not the only way in.</p>
|
convenience layered on top, not the only way in.</p>
|
||||||
<p><code>run</code> absorbs the entire body of what used to be the free function
|
<p><code>run</code> absorbs the entire body of what used to be the free function
|
||||||
<code>obikmer::steps::scatter</code> (now deleted, along with the <code>steps</code> module
|
<code>obiskim::steps::scatter</code> (now deleted, along with the <code>steps</code> module
|
||||||
entirely) — the <code>obipipeline::make_pipe!</code> two-stage pipeline
|
entirely) — the <code>obipipeline::make_pipe!</code> two-stage pipeline
|
||||||
(file→pages→superkmers), throttling, per-file logging. What changed:
|
(file→pages→superkmers), throttling, per-file logging. What changed:
|
||||||
- Every <code>ensure_writer(partition)</code> call now does <code>Layer::create(&layer0_dir)</code>
|
- Every <code>ensure_writer(partition)</code> call now does <code>Layer::create(&layer0_dir)</code>
|
||||||
@@ -2469,7 +2665,7 @@ entirely) — the <code>obipipeline::make_pipe!</code> two-stage pipeline
|
|||||||
workspace suite exercises the real CLI's file-reading <code>scatter</code> path
|
workspace suite exercises the real CLI's file-reading <code>scatter</code> path
|
||||||
end-to-end (<code>obikphylo</code>'s test harness and <code>obikpartitionner</code>'s own
|
end-to-end (<code>obikphylo</code>'s test harness and <code>obikpartitionner</code>'s own
|
||||||
tests both call <code>write_batch</code> directly, bypassing <code>run</code>/file discovery
|
tests both call <code>write_batch</code> directly, bypassing <code>run</code>/file discovery
|
||||||
entirely), so the whole suite stayed green while <code>obikmer index</code> on
|
entirely), so the whole suite stayed green while <code>obiskim index</code> on
|
||||||
real FASTA silently indexed 0 kmers. Found by running the actual CLI
|
real FASTA silently indexed 0 kmers. Found by running the actual CLI
|
||||||
against a small FASTA and noticing <code>count.json</code>'s <code>f0</code> (870, correct)
|
against a small FASTA and noticing <code>count.json</code>'s <code>f0</code> (870, correct)
|
||||||
didn't match "0 total kmers indexed" at the final stage. Fixed by
|
didn't match "0 total kmers indexed" at the final stage. Fixed by
|
||||||
@@ -2598,7 +2794,7 @@ own tests.</p>
|
|||||||
<code>cargo test --workspace</code>, exit code 0), plus an end-to-end CLI smoke test
|
<code>cargo test --workspace</code>, exit code 0), plus an end-to-end CLI smoke test
|
||||||
against real FASTA data (scatter → dereplicate → count → index-build →
|
against real FASTA data (scatter → dereplicate → count → index-build →
|
||||||
query, same numbers as (3)'s smoke test: 870 kmers) — required this time
|
query, same numbers as (3)'s smoke test: 870 kmers) — required this time
|
||||||
too, per (3)'s own lesson: no test in the suite exercises <code>obikmer index</code>'s
|
too, per (3)'s own lesson: no test in the suite exercises <code>obiskim index</code>'s
|
||||||
real file-driven path.</p>
|
real file-driven path.</p>
|
||||||
<p>Still not done: <code>count_kmer</code>/<code>build_layers</code> staying where they are, the
|
<p>Still not done: <code>count_kmer</code>/<code>build_layers</code> staying where they are, the
|
||||||
<code>obikalgorithm</code> shared-trait extraction (deliberately deferred until a
|
<code>obikalgorithm</code> shared-trait extraction (deliberately deferred until a
|
||||||
@@ -2825,7 +3021,7 @@ removed from <code>router.rs</code>).</p>
|
|||||||
equivalent on <code>Dereplicator</code>, which has no setters at all) — a real,
|
equivalent on <code>Dereplicator</code>, which has no setters at all) — a real,
|
||||||
already-present parameter (<code>keep_intermediate</code> at the CLI), not a
|
already-present parameter (<code>keep_intermediate</code> at the CLI), not a
|
||||||
speculative addition.</p>
|
speculative addition.</p>
|
||||||
<p><code>count_kmer</code>'s three former callers (<code>obikmer::cmd::index</code>, <code>obikphylo</code>'s
|
<p><code>count_kmer</code>'s three former callers (<code>obiskim::cmd::index</code>, <code>obikphylo</code>'s
|
||||||
test harness, <code>obikindexer::algorithms::partitionner</code>'s own
|
test harness, <code>obikindexer::algorithms::partitionner</code>'s own
|
||||||
<code>pipeline_counts</code> test helper) all updated to <code>Counter::new(&idx).
|
<code>pipeline_counts</code> test helper) all updated to <code>Counter::new(&idx).
|
||||||
run(...)</code> — the last one simplified further: it used to read back
|
run(...)</code> — the last one simplified further: it used to read back
|
||||||
@@ -2964,7 +3160,7 @@ same reason.</p>
|
|||||||
index's kmer sequences — read by <code>rebuild_layer.rs</code> and others, well
|
index's kmer sequences — read by <code>rebuild_layer.rs</code> and others, well
|
||||||
beyond construction — see [[project_unitigs_always_kept]]),
|
beyond construction — see [[project_unitigs_always_kept]]),
|
||||||
<code>pack_matrices</code> (re-runnable maintenance on an already-finished index
|
<code>pack_matrices</code> (re-runnable maintenance on an already-finished index
|
||||||
via <code>obikmer pack</code>, not just a pipeline step), <code>upgrade_layer_meta</code>
|
via <code>obiskim pack</code>, not just a pipeline step), <code>upgrade_layer_meta</code>
|
||||||
(migration, runnable on any existing index at any time).</li>
|
(migration, runnable on any existing index at any time).</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h3 id="the-general-pattern-not-obikindexer-specific">The general pattern (not obikindexer-specific)</h3>
|
<h3 id="the-general-pattern-not-obikindexer-specific">The general pattern (not obikindexer-specific)</h3>
|
||||||
@@ -3073,7 +3269,7 @@ crate, not "private except to one named dependent") — the opposite of
|
|||||||
what was wanted.</p>
|
what was wanted.</p>
|
||||||
<p><strong>A real design decision made while wiring callers up, not a mechanical
|
<p><strong>A real design decision made while wiring callers up, not a mechanical
|
||||||
rename</strong>: <code>PrivateBuilder</code> being genuinely <code>pub(crate)</code> to <code>obikindexer</code>
|
rename</strong>: <code>PrivateBuilder</code> being genuinely <code>pub(crate)</code> to <code>obikindexer</code>
|
||||||
means <code>obikmer::cmd::index</code> (a different crate) can no longer call
|
means <code>obiskim::cmd::index</code> (a different crate) can no longer call
|
||||||
<code>mark_scattered</code>/<code>mark_counted</code>/<code>mark_indexed</code>/<code>write_spectrum</code> directly —
|
<code>mark_scattered</code>/<code>mark_counted</code>/<code>mark_indexed</code>/<code>write_spectrum</code> directly —
|
||||||
it never could have, once privacy was real rather than aspirational. Each
|
it never could have, once privacy was real rather than aspirational. Each
|
||||||
algorithm now marks its own completion as part of <code>run()</code>/<code>close()</code>
|
algorithm now marks its own completion as part of <code>run()</code>/<code>close()</code>
|
||||||
@@ -3145,7 +3341,7 @@ traits, two crates, two different reasons, not a contradiction.</p>
|
|||||||
internal caller of these four methods needs the trait imported now that
|
internal caller of these four methods needs the trait imported now that
|
||||||
they're no longer inherent — <code>merge.rs</code>, <code>select.rs</code>, <code>rebuild.rs</code>,
|
they're no longer inherent — <code>merge.rs</code>, <code>select.rs</code>, <code>rebuild.rs</code>,
|
||||||
<code>reindex.rs</code> (<code>use crate::index::builder::IndexBuilder;</code>) and, externally,
|
<code>reindex.rs</code> (<code>use crate::index::builder::IndexBuilder;</code>) and, externally,
|
||||||
<code>obikmer::cmd::index::mod</code> (<code>use obikindex::IndexBuilder;</code>, for the three
|
<code>obiskim::cmd::index::mod</code> (<code>use obikindex::IndexBuilder;</code>, for the three
|
||||||
<code>idx.state() < IndexState::X</code> resumability checks). Call syntax at every
|
<code>idx.state() < IndexState::X</code> resumability checks). Call syntax at every
|
||||||
site is unchanged (<code>KmerIndex::create_skeleton(...)</code>,
|
site is unchanged (<code>KmerIndex::create_skeleton(...)</code>,
|
||||||
<code>self.state()</code>) — only trait-in-scope requirements are new, which is
|
<code>self.state()</code>) — only trait-in-scope requirements are new, which is
|
||||||
@@ -3154,7 +3350,7 @@ itself.</p>
|
|||||||
<p>Verification went one step further than (9): beyond
|
<p>Verification went one step further than (9): beyond
|
||||||
<code>cargo check --workspace --all-targets</code> + <code>cargo test --workspace</code> +
|
<code>cargo check --workspace --all-targets</code> + <code>cargo test --workspace</code> +
|
||||||
<code>scripts/smoke_test_index.sh</code> (all green, 870 kmers again), ran
|
<code>scripts/smoke_test_index.sh</code> (all green, 870 kmers again), ran
|
||||||
<code>obikmer merge</code> end to end on two freshly built indexes (exercises
|
<code>obiskim merge</code> end to end on two freshly built indexes (exercises
|
||||||
<code>clear_output_for_create</code>/<code>finalize_indexed</code> directly, the two methods
|
<code>clear_output_for_create</code>/<code>finalize_indexed</code> directly, the two methods
|
||||||
<code>scripts/smoke_test_index.sh</code> itself never touches) — exit 0, <code>pack</code>
|
<code>scripts/smoke_test_index.sh</code> itself never touches) — exit 0, <code>pack</code>
|
||||||
stage completed. Test suite alone would not have caught a regression
|
stage completed. Test suite alone would not have caught a regression
|
||||||
@@ -3246,7 +3442,7 @@ field mutation from outside <code>IndexMeta</code>). Fixed across:
|
|||||||
<code>entropy.rs</code>/<code>sankoff_bundle.rs</code>/<code>stats.rs</code>/<code>tests.rs</code> — all had
|
<code>entropy.rs</code>/<code>sankoff_bundle.rs</code>/<code>stats.rs</code>/<code>tests.rs</code> — all had
|
||||||
<code>self.meta().genomes.len()</code>-shaped reads, mechanically fixed to
|
<code>self.meta().genomes.len()</code>-shaped reads, mechanically fixed to
|
||||||
<code>.genomes().map_err(OKIError::Io)?.len()</code> (tests: <code>.unwrap()</code>).
|
<code>.genomes().map_err(OKIError::Io)?.len()</code> (tests: <code>.unwrap()</code>).
|
||||||
- <code>obikmer::cmd::*</code>: <code>annotate</code> (rewrote its rename path to load genomes
|
- <code>obiskim::cmd::*</code>: <code>annotate</code> (rewrote its rename path to load genomes
|
||||||
once, mutate the in-memory <code>Vec</code>, then <code>idx.meta().set_genomes(...)</code>
|
once, mutate the in-memory <code>Vec</code>, then <code>idx.meta().set_genomes(...)</code>
|
||||||
instead of <code>meta_mut()</code>), <code>filter</code>/<code>pack</code>/<code>dump</code>/<code>unitig</code>/<code>merge</code>/<code>select</code>/
|
instead of <code>meta_mut()</code>), <code>filter</code>/<code>pack</code>/<code>dump</code>/<code>unitig</code>/<code>merge</code>/<code>select</code>/
|
||||||
<code>phylo</code> (fetch-once-then-use pattern for genome counts/labels),
|
<code>phylo</code> (fetch-once-then-use pattern for genome counts/labels),
|
||||||
@@ -3365,7 +3561,7 @@ FnMut(Progress) + 'a></code> etc.) is tied to the algorithm's own <code>'a</c
|
|||||||
forcing callers' progress closures to <code>move</code>-capture (and therefore clone
|
forcing callers' progress closures to <code>move</code>-capture (and therefore clone
|
||||||
or <code>Arc</code>-wrap) local state like <code>TracedBar</code>/EMA-rate accumulators that
|
or <code>Arc</code>-wrap) local state like <code>TracedBar</code>/EMA-rate accumulators that
|
||||||
they'd otherwise want to keep using by reference after <code>run()</code> returns.</p>
|
they'd otherwise want to keep using by reference after <code>run()</code> returns.</p>
|
||||||
<p><strong>Why a new crate, not a submodule of <code>obikindexer</code></strong>: <code>obikmer::cmd::
|
<p><strong>Why a new crate, not a submodule of <code>obikindexer</code></strong>: <code>obiskim::cmd::
|
||||||
index::mod</code> and <code>obikphylo</code>'s own test helpers both need to call <code>.run()</code>
|
index::mod</code> and <code>obikphylo</code>'s own test helpers both need to call <code>.run()</code>
|
||||||
on these algorithms, so the trait has to be reachable from outside
|
on these algorithms, so the trait has to be reachable from outside
|
||||||
<code>obikindexer</code> — putting it in <code>obikindexer</code> itself would work file-wise
|
<code>obikindexer</code> — putting it in <code>obikindexer</code> itself would work file-wise
|
||||||
@@ -3373,15 +3569,15 @@ but conflates "the trait every algorithm implements" with "one crate's
|
|||||||
particular four implementations of it", the same reasoning that already
|
particular four implementations of it", the same reasoning that already
|
||||||
separated <code>obikindex</code> (data model) from <code>obikindexer</code> (algorithms
|
separated <code>obikindex</code> (data model) from <code>obikindexer</code> (algorithms
|
||||||
operating on it). <code>obikalgorithm</code> has <strong>no dependencies at all</strong> (see
|
operating on it). <code>obikalgorithm</code> has <strong>no dependencies at all</strong> (see
|
||||||
above); <code>obikindexer</code>, <code>obikmer</code>, and <code>obikphylo</code> (dev-dependency, for
|
above); <code>obikindexer</code>, <code>obiskim</code>, and <code>obikphylo</code> (dev-dependency, for
|
||||||
its test helper) all depend on it.</p>
|
its test helper) all depend on it.</p>
|
||||||
<p><strong>Blast radius</strong>: <code>obikindexer</code>'s four algorithm modules (struct field +
|
<p><strong>Blast radius</strong>: <code>obikindexer</code>'s four algorithm modules (struct field +
|
||||||
setter + trait impl each); <code>obikmer::cmd::index::mod</code> (three call sites:
|
setter + trait impl each); <code>obiskim::cmd::index::mod</code> (three call sites:
|
||||||
<code>.on_progress(cb)</code> before <code>.run()</code>, unqualified now that the trait is in
|
<code>.on_progress(cb)</code> before <code>.run()</code>, unqualified now that the trait is in
|
||||||
scope); <code>obikindexer::algorithms::partitionner::tests</code> and <code>obikphylo::
|
scope); <code>obikindexer::algorithms::partitionner::tests</code> and <code>obikphylo::
|
||||||
siblings::tests</code> (both had direct <code>.run(None::<fn(Progress)>)</code>-shaped
|
siblings::tests</code> (both had direct <code>.run(None::<fn(Progress)>)</code>-shaped
|
||||||
calls needing the same treatment). New <code>obikalgorithm</code> crate registered
|
calls needing the same treatment). New <code>obikalgorithm</code> crate registered
|
||||||
in the workspace <code>Cargo.toml</code>, depended on by <code>obikindexer</code>/<code>obikmer</code>
|
in the workspace <code>Cargo.toml</code>, depended on by <code>obikindexer</code>/<code>obiskim</code>
|
||||||
(regular) and <code>obikphylo</code> (dev).</p>
|
(regular) and <code>obikphylo</code> (dev).</p>
|
||||||
<p><strong>Verification</strong>: <code>cargo check --workspace --all-targets</code> and <code>cargo test
|
<p><strong>Verification</strong>: <code>cargo check --workspace --all-targets</code> and <code>cargo test
|
||||||
--workspace</code> both green (0 failures), <code>scripts/smoke_test_index.sh</code> green
|
--workspace</code> both green (0 failures), <code>scripts/smoke_test_index.sh</code> green
|
||||||
@@ -3448,7 +3644,7 @@ auto-detection" turned up three unrelated implementations:</p>
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p><code>query_partition_with</code> is <code>obikmer query</code>'s normal query path — the one
|
<p><code>query_partition_with</code> is <code>obiskim query</code>'s normal query path — the one
|
||||||
most exposed to repeated cross-partition lookups — and it is still the one
|
most exposed to repeated cross-partition lookups — and it is still the one
|
||||||
with no cache at all. <code>obikphylo</code> built a cache first only because
|
with no cache at all. <code>obikphylo</code> built a cache first only because
|
||||||
sibling-annex construction hits the cost hardest, not because the need is
|
sibling-annex construction hits the cost hardest, not because the need is
|
||||||
@@ -3530,7 +3726,7 @@ above). Concretely, in order:</p>
|
|||||||
<code>Vec<KmerPartition></code> instead of <code>Vec<Vec<Layer>></code>.</li>
|
<code>Vec<KmerPartition></code> instead of <code>Vec<Vec<Layer>></code>.</li>
|
||||||
<li>Migrate <code>obikindex::query_layer::QueryLayer</code>/<code>query_partition_with</code> to
|
<li>Migrate <code>obikindex::query_layer::QueryLayer</code>/<code>query_partition_with</code> to
|
||||||
use <code>KmerPartition</code> too, closing the "no cache at all" gap on
|
use <code>KmerPartition</code> too, closing the "no cache at all" gap on
|
||||||
<code>obikmer</code>'s normal query path (see "Three independent implementations,"
|
<code>obiskim</code>'s normal query path (see "Three independent implementations,"
|
||||||
historical, above).</li>
|
historical, above).</li>
|
||||||
</ol>
|
</ol>
|
||||||
<p>Open before implementing: exact API shape of <code>KmerPartition</code> (propose,
|
<p>Open before implementing: exact API shape of <code>KmerPartition</code> (propose,
|
||||||
@@ -3610,7 +3806,7 @@ storage decisions, now a <em>third</em> copy of the same logic to keep in sync)
|
|||||||
<h2 id="one-bug-found-while-reading-around-this-signalled-not-fixed-one-earlier-claim-retracted">One bug found while reading around this (signalled, not fixed); one earlier claim retracted</h2>
|
<h2 id="one-bug-found-while-reading-around-this-signalled-not-fixed-one-earlier-claim-retracted">One bug found while reading around this (signalled, not fixed); one earlier claim retracted</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>obicompactvec::bitmatrix::sparse.rs</code>'s module doc says
|
<li><code>obicompactvec::bitmatrix::sparse.rs</code>'s module doc says
|
||||||
"Not used by any production code path yet" — false since <code>obikmer pack
|
"Not used by any production code path yet" — false since <code>obiskim pack
|
||||||
--sparse</code> (<code>cmd/pack/mod.rs</code>) is wired to <code>pack_sparse_bit_matrix</code> and
|
--sparse</code> (<code>cmd/pack/mod.rs</code>) is wired to <code>pack_sparse_bit_matrix</code> and
|
||||||
<code>Mat::open</code> already reads the result back in the sibling-annex path.
|
<code>Mat::open</code> already reads the result back in the sibling-annex path.
|
||||||
Stale comment, not corrected.</li>
|
Stale comment, not corrected.</li>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Persistent bit vec.refs - obikmer</title>
|
<title>Persistent bit vec.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>PersistentBitVec - obikmer</title>
|
<title>PersistentBitVec - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -676,6 +760,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1147,6 +1259,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1425,6 +1593,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Persistent compact int vec.refs - obikmer</title>
|
<title>Persistent compact int vec.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>PersistentCompactIntVec - obikmer</title>
|
<title>PersistentCompactIntVec - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -676,6 +760,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1130,6 +1242,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1408,6 +1576,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Pipeline.refs - obikmer</title>
|
<title>Pipeline.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Construction pipeline - obikmer</title>
|
<title>Construction pipeline - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -800,6 +884,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -996,6 +1108,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1274,6 +1442,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1457,8 +1653,8 @@
|
|||||||
<p>The construction parameters p, n, and min_count depend on the kmer frequency spectrum of the dataset. Estimating this spectrum before construction avoids costly re-partitioning if p is badly chosen.</p>
|
<p>The construction parameters p, n, and min_count depend on the kmer frequency spectrum of the dataset. Estimating this spectrum before construction avoids costly re-partitioning if p is badly chosen.</p>
|
||||||
<p>Two approaches are supported:</p>
|
<p>Two approaches are supported:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>External estimation (preferred):</strong> run <a href="https://github.com/bcgsc/ntCard">NT-CARD</a> on the input files and pass its histogram output to <code>obikmer build</code>. NT-CARD produces a kmer frequency histogram in a single streaming pass using ntHash and a Flajolet-Martin-style estimator; obikmer reads this file and derives p, n, and min_count automatically.</li>
|
<li><strong>External estimation (preferred):</strong> run <a href="https://github.com/bcgsc/ntCard">NT-CARD</a> on the input files and pass its histogram output to <code>obiskim build</code>. NT-CARD produces a kmer frequency histogram in a single streaming pass using ntHash and a Flajolet-Martin-style estimator; obiskim reads this file and derives p, n, and min_count automatically.</li>
|
||||||
<li><strong>Internal estimation (future):</strong> an <code>obikmer estimate</code> subcommand for users who prefer a single-tool workflow. The implementation would combine two components: (1) <strong>ntHash</strong>, a rolling hash that updates the kmer hash in O(1) per nucleotide by incrementally adding the incoming base and removing the outgoing one — Rust crates exist; (2) a <strong>Flajolet-Martin-style streaming estimator</strong> that maintains a small table of minimum hash values and infers the frequency histogram from their statistical distribution, as described in the NT-CARD paper (Mohamadi <em>et al.</em> 2017)<sup id="fnref:Mohamadi2017-ok"><a class="footnote-ref" href="#fn:Mohamadi2017-ok">1</a></sup>.</li>
|
<li><strong>Internal estimation (future):</strong> an <code>obiskim estimate</code> subcommand for users who prefer a single-tool workflow. The implementation would combine two components: (1) <strong>ntHash</strong>, a rolling hash that updates the kmer hash in O(1) per nucleotide by incrementally adding the incoming base and removing the outgoing one — Rust crates exist; (2) a <strong>Flajolet-Martin-style streaming estimator</strong> that maintains a small table of minimum hash values and infers the frequency histogram from their statistical distribution, as described in the NT-CARD paper (Mohamadi <em>et al.</em> 2017)<sup id="fnref:Mohamadi2017-ok"><a class="footnote-ref" href="#fn:Mohamadi2017-ok">1</a></sup>.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>The histogram gives:</p>
|
<p>The histogram gives:</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Select command - obikmer</title>
|
<title>Select command - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -676,6 +760,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -872,6 +984,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1402,6 +1570,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1739,7 +1935,7 @@ then <code>select</code> to reshape the genome columns.</p>
|
|||||||
are preserved unchanged; only the data matrices are rewritten.</p>
|
are preserved unchanged; only the data matrices are rewritten.</p>
|
||||||
<hr />
|
<hr />
|
||||||
<h2 id="synopsis">Synopsis</h2>
|
<h2 id="synopsis">Synopsis</h2>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span><span class="k">select</span><span class="w"> </span><input-index>
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span><span class="k">select</span><span class="w"> </span><input-index>
|
||||||
<span class="w"> </span>--output<span class="w"> </span><dir>
|
<span class="w"> </span>--output<span class="w"> </span><dir>
|
||||||
<span class="w"> </span><span class="o">[</span>--group<span class="w"> </span><name>:<pred><span class="w"> </span>...<span class="o">]</span>
|
<span class="w"> </span><span class="o">[</span>--group<span class="w"> </span><name>:<pred><span class="w"> </span>...<span class="o">]</span>
|
||||||
<span class="w"> </span><span class="o">[</span>--group-op<span class="w"> </span><name>:<op><span class="w"> </span>...<span class="o">]</span>
|
<span class="w"> </span><span class="o">[</span>--group-op<span class="w"> </span><name>:<op><span class="w"> </span>...<span class="o">]</span>
|
||||||
@@ -1909,11 +2105,11 @@ is > N.</p>
|
|||||||
<hr />
|
<hr />
|
||||||
<h2 id="examples">Examples</h2>
|
<h2 id="examples">Examples</h2>
|
||||||
<h3 id="aggregate-by-metadata-group-default-operators">Aggregate by metadata group, default operators</h3>
|
<h3 id="aggregate-by-metadata-group-default-operators">Aggregate by metadata group, default operators</h3>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span><span class="k">select</span><span class="w"> </span>myindex<span class="w"> </span>--output<span class="w"> </span>out<span class="w"> </span>--aggregate-by<span class="w"> </span>group
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span><span class="k">select</span><span class="w"> </span>myindex<span class="w"> </span>--output<span class="w"> </span>out<span class="w"> </span>--aggregate-by<span class="w"> </span>group
|
||||||
<span class="c1"># one column per unique value of "group"; presence→any, count→sum</span>
|
<span class="c1"># one column per unique value of "group"; presence→any, count→sum</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<h3 id="named-groups-with-different-operators">Named groups with different operators</h3>
|
<h3 id="named-groups-with-different-operators">Named groups with different operators</h3>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span><span class="k">select</span><span class="w"> </span>myindex<span class="w"> </span>--output<span class="w"> </span>out<span class="w"> </span><span class="se">\</span>
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span><span class="k">select</span><span class="w"> </span>myindex<span class="w"> </span>--output<span class="w"> </span>out<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--group<span class="w"> </span><span class="s2">"pub:species=Betula_pubescens"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--group<span class="w"> </span><span class="s2">"pub:species=Betula_pubescens"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--group<span class="w"> </span><span class="s2">"nan:species=Betula_nana"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--group<span class="w"> </span><span class="s2">"nan:species=Betula_nana"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--group-op<span class="w"> </span><span class="s2">"pub:any"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--group-op<span class="w"> </span><span class="s2">"pub:any"</span><span class="w"> </span><span class="se">\</span>
|
||||||
@@ -1921,21 +2117,21 @@ is > N.</p>
|
|||||||
<span class="w"> </span>--select<span class="w"> </span><span class="s2">"pub,nan"</span>
|
<span class="w"> </span>--select<span class="w"> </span><span class="s2">"pub,nan"</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<h3 id="mix-aggregated-group-and-individual-genome">Mix aggregated group and individual genome</h3>
|
<h3 id="mix-aggregated-group-and-individual-genome">Mix aggregated group and individual genome</h3>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span><span class="k">select</span><span class="w"> </span>myindex<span class="w"> </span>--output<span class="w"> </span>out<span class="w"> </span><span class="se">\</span>
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span><span class="k">select</span><span class="w"> </span>myindex<span class="w"> </span>--output<span class="w"> </span>out<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--group<span class="w"> </span><span class="s2">"A:group=A"</span><span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--group<span class="w"> </span><span class="s2">"A:group=A"</span><span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--select<span class="w"> </span><span class="s2">"A,Betula_nana--IGA-24-39"</span>
|
<span class="w"> </span>--select<span class="w"> </span><span class="s2">"A,Betula_nana--IGA-24-39"</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<h3 id="pure-column-projection-no-aggregation">Pure column projection (no aggregation)</h3>
|
<h3 id="pure-column-projection-no-aggregation">Pure column projection (no aggregation)</h3>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span><span class="k">select</span><span class="w"> </span>myindex<span class="w"> </span>--output<span class="w"> </span>out<span class="w"> </span><span class="se">\</span>
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span><span class="k">select</span><span class="w"> </span>myindex<span class="w"> </span>--output<span class="w"> </span>out<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--select<span class="w"> </span><span class="s2">"Betula_nana--TROM-V-149986,Betula_nana--AG-P04-25-01"</span>
|
<span class="w"> </span>--select<span class="w"> </span><span class="s2">"Betula_nana--TROM-V-149986,Betula_nana--AG-P04-25-01"</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<h3 id="compose-with-filter">Compose with filter</h3>
|
<h3 id="compose-with-filter">Compose with filter</h3>
|
||||||
<div class="highlight"><pre><span></span><code><span class="c1"># Step 1: keep only B. nana-specific k-mers</span>
|
<div class="highlight"><pre><span></span><code><span class="c1"># Step 1: keep only B. nana-specific k-mers</span>
|
||||||
obikmer<span class="w"> </span>filter<span class="w"> </span>myindex<span class="w"> </span>--output<span class="w"> </span>filtered<span class="w"> </span><span class="se">\</span>
|
obiskim<span class="w"> </span>filter<span class="w"> </span>myindex<span class="w"> </span>--output<span class="w"> </span>filtered<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"species=Betula_nana"</span><span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"*"</span>
|
<span class="w"> </span>--ingroup<span class="w"> </span><span class="s2">"species=Betula_nana"</span><span class="w"> </span>--outgroup<span class="w"> </span><span class="s2">"*"</span>
|
||||||
|
|
||||||
<span class="c1"># Step 2: aggregate genome columns by collection site</span>
|
<span class="c1"># Step 2: aggregate genome columns by collection site</span>
|
||||||
obikmer<span class="w"> </span><span class="k">select</span><span class="w"> </span>filtered<span class="w"> </span>--output<span class="w"> </span>final<span class="w"> </span>--aggregate-by<span class="w"> </span>site
|
obiskim<span class="w"> </span><span class="k">select</span><span class="w"> </span>filtered<span class="w"> </span>--output<span class="w"> </span>final<span class="w"> </span>--aggregate-by<span class="w"> </span>site
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<hr />
|
<hr />
|
||||||
<h2 id="implementation-notes">Implementation notes</h2>
|
<h2 id="implementation-notes">Implementation notes</h2>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Storage.refs - obikmer</title>
|
<title>Storage.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>On-disk storage - obikmer</title>
|
<title>On-disk storage - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -872,6 +956,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1068,6 +1180,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1346,6 +1514,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Superkmer.refs - obikmer</title>
|
<title>Superkmer.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="prev" href="../../theory/evolutionary_distances/">
|
<link rel="prev" href="../../theory/pair_coverage_sampling/">
|
||||||
|
|
||||||
|
|
||||||
<link rel="next" href="../kmer/">
|
<link rel="next" href="../kmer/">
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>SuperKmer - obikmer</title>
|
<title>SuperKmer - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -778,6 +862,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -974,6 +1086,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1252,6 +1420,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Unitig evidence.refs - obikmer</title>
|
<title>Unitig evidence.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../unitig_evidence/" class="md-nav__link">
|
<a href="../unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="prev" href="../mphf/">
|
<link rel="prev" href="../mphf_batch_queries/">
|
||||||
|
|
||||||
|
|
||||||
<link rel="next" href="../evidence_elimination/">
|
<link rel="next" href="../evidence_elimination/">
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Unitig evidence encoding - obikmer</title>
|
<title>Unitig evidence encoding - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -396,6 +396,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -418,6 +446,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -676,6 +760,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item md-nav__item--active">
|
<li class="md-nav__item md-nav__item--active">
|
||||||
@@ -1096,6 +1208,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../filtering/" class="md-nav__link">
|
<a href="../filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1374,6 +1542,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1666,8 +1862,8 @@
|
|||||||
<li>Packed nucleotides: A=00, C=01, G=10, T=11, MSB-first within each byte; last byte zero-padded.</li>
|
<li>Packed nucleotides: A=00, C=01, G=10, T=11, MSB-first within each byte; last byte zero-padded.</li>
|
||||||
<li>Byte count for packed sequence: <code>ceil(seql / 4)</code>.</li>
|
<li>Byte count for packed sequence: <code>ceil(seql / 4)</code>.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Unitigs with more than <code>MAX_KMERS_PER_CHUNK = 256</code> k-mers are transparently split into overlapping chunks. Each chunk has at most 256 k-mers (= <code>seql − k + 1 ≤ 256</code>); consecutive chunks overlap by k−1 nucleotides so no kmer is lost:</p>
|
<p>Unitigs with more than <code>MAX_KMERS_PER_CHUNK = 128</code> k-mers are transparently split into overlapping chunks. Each chunk has at most 128 k-mers (= <code>seql − k + 1 ≤ 128</code>); consecutive chunks overlap by k−1 nucleotides so no kmer is lost:</p>
|
||||||
<div class="highlight"><pre><span></span><code>chunk 1: nucleotides [0, MAX_KMERS_PER_CHUNK + k − 2] (256 kmers)
|
<div class="highlight"><pre><span></span><code>chunk 1: nucleotides [0, MAX_KMERS_PER_CHUNK + k − 2] (128 kmers)
|
||||||
chunk 2: nucleotides [256, end] (remaining kmers)
|
chunk 2: nucleotides [256, end] (remaining kmers)
|
||||||
overlap: k−1 nucleotides shared between the two chunks
|
overlap: k−1 nucleotides shared between the two chunks
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
@@ -1724,8 +1920,8 @@ bits [6:0] = rank (7 bits, 0–127)
|
|||||||
<tr>
|
<tr>
|
||||||
<td><code>seql − k</code></td>
|
<td><code>seql − k</code></td>
|
||||||
<td>8</td>
|
<td>8</td>
|
||||||
<td>0–255</td>
|
<td>0–127 used</td>
|
||||||
<td>max <code>n_kmers</code> per chunk = 256 = <code>MAX_KMERS_PER_CHUNK</code></td>
|
<td>max <code>n_kmers</code> per chunk = 128 = <code>MAX_KMERS_PER_CHUNK</code> (the field could carry 256; capped so that every rank fits 7 bits)</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>rank</code></td>
|
<td><code>rank</code></td>
|
||||||
@@ -1741,7 +1937,7 @@ bits [6:0] = rank (7 bits, 0–127)
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p>The rank field is 7 bits (max 127) even though chunks can contain up to 256 k-mers, because rank counts only canonical kmers within the chunk, and the canonical kmer count is at most half the total.</p>
|
<p>The rank field is 7 bits (max 127) and the rank of a k-mer is its index among the chunk's k-mers, so a chunk must hold at most 128 of them: that is what <code>MAX_KMERS_PER_CHUNK = 128</code> guarantees. (Until 2026-10-15 the cap was 256 and the earlier justification here — that rank counts only canonical k-mers, at most half the total — was wrong: <code>iter_indexed_canonical_kmers</code> yields one entry per position. Chunks of 129–256 k-mers occur with few partitions — 6 of them in a <code>--partitions 4</code> index of a 2 GB skim, none with 256 partitions where the observed maximum is ≈ 50 — and their k-mers beyond rank 127 were silently stored with a truncated rank. <code>scripts/check_unitig_chunks.py</code> finds such chunks in an existing index.)</p>
|
||||||
<hr />
|
<hr />
|
||||||
<h2 id="evidence-bit-cost">Evidence bit-cost</h2>
|
<h2 id="evidence-bit-cost">Evidence bit-cost</h2>
|
||||||
<p>Strategy B (chunk_id + rank) is the implemented strategy. For <em>B. nana</em> (k=31, 256 partitions, P ≈ 10.4 M unique kmers/partition, U ≈ 275 k chunks/partition, m_u ≈ 37.9 kmers/chunk):</p>
|
<p>Strategy B (chunk_id + rank) is the implemented strategy. For <em>B. nana</em> (k=31, 256 partitions, P ≈ 10.4 M unique kmers/partition, U ≈ 275 k chunks/partition, m_u ≈ 37.9 kmers/chunk):</p>
|
||||||
|
|||||||
+207
-11
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>obikmer</title>
|
<title>obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
<div data-md-component="skip">
|
<div data-md-component="skip">
|
||||||
|
|
||||||
|
|
||||||
<a href="#obikmer" class="md-skip">
|
<a href="#obiskim" class="md-skip">
|
||||||
Skip to content
|
Skip to content
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -136,13 +136,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -496,6 +496,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="theory/evolutionary_distances/" class="md-nav__link">
|
<a href="theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -518,6 +546,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -774,6 +858,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="implementation/unitig_evidence/" class="md-nav__link">
|
<a href="implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -970,6 +1082,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="implementation/filtering/" class="md-nav__link">
|
<a href="implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1248,6 +1416,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1403,8 +1599,8 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 id="obikmer">obikmer</h1>
|
<h1 id="obiskim">obiskim</h1>
|
||||||
<p><code>obikmer</code> is a Rust tool for manipulation, counting, indexing, and set operations on DNA sequences represented as kmer sets.</p>
|
<p><code>obiskim</code> is a Rust tool for manipulation, counting, indexing, and set operations on DNA sequences represented as kmer sets.</p>
|
||||||
<h2 id="subcommands">Subcommands</h2>
|
<h2 id="subcommands">Subcommands</h2>
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
@@ -1444,7 +1640,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>phylo</code></td>
|
<td><code>phylo</code></td>
|
||||||
<td>Compute pairwise evolutionary-distance proxies between genomes (<code>--metric jaccard\|mash\|hamming\|bray-curtis\|relfreq-bray-curtis\|euclidean\|relfreq-euclidean\|hellinger\|hellinger-euclidean</code>); optionally build NJ/UPGMA trees; <code>--presence-threshold N</code> sets the minimum count to consider a k-mer present when computing Jaccard/Mash on count indexes (default 1); optionally a central-position SNP/Sankoff calibration with exports for TNT/PhyG/IQ-TREE (see <a href="theory/evolutionary_distances/">evolutionary distances</a>)</td>
|
<td>Genome-vs-genome distances, trees and SNP-based pseudo-alignments. <code>--distance</code> selects either a whole-genome distance computed from k-mer content (<code>jaccard</code>, <code>mash</code>, <code>hamming</code>, <code>bray-curtis</code>, <code>relfreq-bray-curtis</code>, <code>euclidean</code>, <code>relfreq-euclidean</code>, <code>hellinger</code>, <code>hellinger-euclidean</code>; <code>--presence-threshold N</code> converts counts to presence for Jaccard/Mash/Hamming on count indexes) or a <code>snp-*</code> distance (<code>snp-raw</code>, <code>snp-jc</code>, <code>snp-k2p</code>, <code>snp-k81</code>, <code>snp-f81</code>, <code>snp-t92</code>, <code>snp-tn93</code>, <code>snp-tv</code>; optional <code>--gamma-shape</code>) computed from central-position SNPs of k-mer families. <code>--nj</code>/<code>--upgma</code> build trees (Jaccard if no <code>--distance</code>); <code>--shared-kmers</code> writes the shared-k-mer count matrix on its own. SNP analyses read the sibling annex, built on demand (<code>--sibling-annex</code> forces it), with site selection/sampling options (<code>--n-sites</code>, <code>--quartet</code>, <code>--pair-balance</code>, <code>--entropy</code>, <code>--free-loss</code>, <code>--no-ambiguity</code>/<code>--only-diploid</code>, <code>--session</code>), a pseudo-alignment export (<code>--pseudo-alignment</code>, <code>--fasta</code>, <code>--vcf</code>) and Sankoff cost calibration with TNT/PhyG/IQ-TREE exports. See <a href="theory/evolutionary_distances/">evolutionary distances</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>unitig</code></td>
|
<td><code>unitig</code></td>
|
||||||
@@ -1459,8 +1655,8 @@
|
|||||||
<td>Estimate approximate-index parameters (z, evidence bits, FP rates) before indexing</td>
|
<td>Estimate approximate-index parameters (z, evidence bits, FP rates) before indexing</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>reindex</code></td>
|
<td><code>convert</code></td>
|
||||||
<td>Convert an index's evidence in-place: exact ↔ approx</td>
|
<td>Convert an index's evidence representation (exact / approximate / hybrid), in place</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>utils</code></td>
|
<td><code>utils</code></td>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Index.refs - obikmer</title>
|
<title>Index.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href=".." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href=".." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href=".." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href=".." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../implementation/filtering/" class="md-nav__link">
|
<a href="../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1270,8 +1466,8 @@
|
|||||||
<h1 id="coverage-indexmd">Coverage: index.md</h1>
|
<h1 id="coverage-indexmd">Coverage: index.md</h1>
|
||||||
<h2 id="code-couvert">Code couvert</h2>
|
<h2 id="code-couvert">Code couvert</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>obikmer/src/main.rs</code> — point d'entrée CLI, contraintes globales</li>
|
<li><code>obiskim/src/main.rs</code> — point d'entrée CLI, contraintes globales</li>
|
||||||
<li><code>obikmer/src/cli.rs</code> — structure des arguments communs</li>
|
<li><code>obiskim/src/cli.rs</code> — structure des arguments communs</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2 id="notes">Notes</h2>
|
<h2 id="notes">Notes</h2>
|
||||||
<p>Document de niveau projet (vue d'ensemble, motivations, contraintes fondamentales).
|
<p>Document de niveau projet (vue d'ensemble, motivations, contraintes fondamentales).
|
||||||
|
|||||||
+207
-11
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Installation - obikmer</title>
|
<title>Installation - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href=".." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href=".." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href=".." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href=".." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -582,6 +582,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -604,6 +632,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -860,6 +944,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1056,6 +1168,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../implementation/filtering/" class="md-nav__link">
|
<a href="../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1334,6 +1502,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1576,12 +1772,12 @@
|
|||||||
<h1 id="installation">Installation</h1>
|
<h1 id="installation">Installation</h1>
|
||||||
<h2 id="prerequisites">Prerequisites</h2>
|
<h2 id="prerequisites">Prerequisites</h2>
|
||||||
<h3 id="rust-toolchain">Rust toolchain</h3>
|
<h3 id="rust-toolchain">Rust toolchain</h3>
|
||||||
<p><code>obikmer</code> requires <strong>Rust 1.85 or later</strong> (edition 2024). Install or update via <a href="https://rustup.rs">rustup</a>:</p>
|
<p><code>obiskim</code> requires <strong>Rust 1.85 or later</strong> (edition 2024). Install or update via <a href="https://rustup.rs">rustup</a>:</p>
|
||||||
<div class="highlight"><pre><span></span><code>curl<span class="w"> </span>--proto<span class="w"> </span><span class="s1">'=https'</span><span class="w"> </span>--tlsv1.2<span class="w"> </span>-sSf<span class="w"> </span>https://sh.rustup.rs<span class="w"> </span><span class="p">|</span><span class="w"> </span>sh
|
<div class="highlight"><pre><span></span><code>curl<span class="w"> </span>--proto<span class="w"> </span><span class="s1">'=https'</span><span class="w"> </span>--tlsv1.2<span class="w"> </span>-sSf<span class="w"> </span>https://sh.rustup.rs<span class="w"> </span><span class="p">|</span><span class="w"> </span>sh
|
||||||
rustup<span class="w"> </span>update<span class="w"> </span>stable
|
rustup<span class="w"> </span>update<span class="w"> </span>stable
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<h3 id="c-build-environment-required-for-hwloc">C build environment (required for hwloc)</h3>
|
<h3 id="c-build-environment-required-for-hwloc">C build environment (required for hwloc)</h3>
|
||||||
<p><code>obikmer</code> embeds <a href="https://www.open-mpi.org/projects/hwloc/">hwloc</a> (Hardware Locality) for NUMA-aware thread placement on multi-socket machines. hwloc is built from source at compile time via the <code>vendored</code> feature of the <code>hwlocality</code> crate. This requires a standard C build environment.</p>
|
<p><code>obiskim</code> embeds <a href="https://www.open-mpi.org/projects/hwloc/">hwloc</a> (Hardware Locality) for NUMA-aware thread placement on multi-socket machines. hwloc is built from source at compile time via the <code>vendored</code> feature of the <code>hwlocality</code> crate. This requires a standard C build environment.</p>
|
||||||
<h4 id="linux-debianubuntu">Linux (Debian/Ubuntu)</h4>
|
<h4 id="linux-debianubuntu">Linux (Debian/Ubuntu)</h4>
|
||||||
<div class="highlight"><pre><span></span><code>apt<span class="w"> </span>install<span class="w"> </span>build-essential<span class="w"> </span>automake<span class="w"> </span>libtool<span class="w"> </span>autoconf<span class="w"> </span>pkg-config
|
<div class="highlight"><pre><span></span><code>apt<span class="w"> </span>install<span class="w"> </span>build-essential<span class="w"> </span>automake<span class="w"> </span>libtool<span class="w"> </span>autoconf<span class="w"> </span>pkg-config
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
@@ -1598,17 +1794,17 @@ rustup<span class="w"> </span>update<span class="w"> </span>stable
|
|||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<h2 id="building">Building</h2>
|
<h2 id="building">Building</h2>
|
||||||
<div class="highlight"><pre><span></span><code>git<span class="w"> </span>clone<span class="w"> </span><repository-url>
|
<div class="highlight"><pre><span></span><code>git<span class="w"> </span>clone<span class="w"> </span><repository-url>
|
||||||
<span class="nb">cd</span><span class="w"> </span>obikmer/src
|
<span class="nb">cd</span><span class="w"> </span>obiskim/src
|
||||||
cargo<span class="w"> </span>build<span class="w"> </span>--release
|
cargo<span class="w"> </span>build<span class="w"> </span>--release
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>The compiled binary is at <code>target/release/obikmer</code>.</p>
|
<p>The compiled binary is at <code>target/release/obiskim</code>.</p>
|
||||||
<h3 id="building-on-hpc-clusters-network-filesystems">Building on HPC clusters (network filesystems)</h3>
|
<h3 id="building-on-hpc-clusters-network-filesystems">Building on HPC clusters (network filesystems)</h3>
|
||||||
<p>HPC home directories are typically on a network filesystem (Lustre, NFS) optimised for large sequential reads — not for the thousands of small file operations that Cargo generates during compilation. Building directly on such a filesystem can be extremely slow (0.1% CPU utilisation, tens of minutes for what should take seconds).</p>
|
<p>HPC home directories are typically on a network filesystem (Lustre, NFS) optimised for large sequential reads — not for the thousands of small file operations that Cargo generates during compilation. Building directly on such a filesystem can be extremely slow (0.1% CPU utilisation, tens of minutes for what should take seconds).</p>
|
||||||
<p><strong>Always redirect the build directory to a local scratch disk:</strong></p>
|
<p><strong>Always redirect the build directory to a local scratch disk:</strong></p>
|
||||||
<div class="highlight"><pre><span></span><code><span class="nv">CARGO_TARGET_DIR</span><span class="o">=</span>/scratch/<span class="nv">$USER</span>/cargo-target<span class="w"> </span>cargo<span class="w"> </span>build<span class="w"> </span>--release
|
<div class="highlight"><pre><span></span><code><span class="nv">CARGO_TARGET_DIR</span><span class="o">=</span>/scratch/<span class="nv">$USER</span>/cargo-target<span class="w"> </span>cargo<span class="w"> </span>build<span class="w"> </span>--release
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>Adapt the path to the local scratch available on your cluster (<code>/var/tmp</code>, <code>/tmp</code>, <code>/scratch/local</code>, etc.). Once built, copy the binary to a permanent location:</p>
|
<p>Adapt the path to the local scratch available on your cluster (<code>/var/tmp</code>, <code>/tmp</code>, <code>/scratch/local</code>, etc.). Once built, copy the binary to a permanent location:</p>
|
||||||
<div class="highlight"><pre><span></span><code>cp<span class="w"> </span>/scratch/<span class="nv">$USER</span>/cargo-target/release/obikmer<span class="w"> </span>~/bin/
|
<div class="highlight"><pre><span></span><code>cp<span class="w"> </span>/scratch/<span class="nv">$USER</span>/cargo-target/release/obiskim<span class="w"> </span>~/bin/
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<h2 id="numa-support">NUMA support</h2>
|
<h2 id="numa-support">NUMA support</h2>
|
||||||
<p>NUMA-aware thread placement is active automatically on multi-socket Linux machines (detected at runtime via hwloc). No special build flag is required — the detection is built in and falls back gracefully to the single-pool adaptive strategy on:</p>
|
<p>NUMA-aware thread placement is active automatically on multi-socket Linux machines (detected at runtime via hwloc). No special build flag is required — the detection is built in and falls back gracefully to the single-pool adaptive strategy on:</p>
|
||||||
@@ -1618,7 +1814,7 @@ cargo<span class="w"> </span>build<span class="w"> </span>--release
|
|||||||
<li>any system where hwloc reports only one NUMA node</li>
|
<li>any system where hwloc reports only one NUMA node</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2 id="verifying-the-installation">Verifying the installation</h2>
|
<h2 id="verifying-the-installation">Verifying the installation</h2>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span>--help
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span>--help
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Kmers.refs - obikmer</title>
|
<title>Kmers.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href=".." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href=".." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href=".." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href=".." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../implementation/filtering/" class="md-nav__link">
|
<a href="../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
+201
-5
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Kmers and super-kmers - obikmer</title>
|
<title>Kmers and super-kmers - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href=".." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href=".." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href=".." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href=".." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -495,6 +495,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../theory/chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../theory/evolutionary_distances/" class="md-nav__link">
|
<a href="../theory/evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -517,6 +545,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../theory/sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../theory/pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -773,6 +857,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -969,6 +1081,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../implementation/filtering/" class="md-nav__link">
|
<a href="../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1247,6 +1415,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
File diff suppressed because it is too large.
Load diff
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Encoding.refs - obikmer</title>
|
<title>Encoding.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../evolutionary_distances/" class="md-nav__link">
|
<a href="../evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>DNA encoding - obikmer</title>
|
<title>DNA encoding - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -467,6 +467,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../evolutionary_distances/" class="md-nav__link">
|
<a href="../evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -489,6 +517,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -745,6 +829,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -941,6 +1053,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1219,6 +1387,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Entropy.refs - obikmer</title>
|
<title>Entropy.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../evolutionary_distances/" class="md-nav__link">
|
<a href="../evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1278,7 +1474,7 @@
|
|||||||
<h2 id="notes">Notes</h2>
|
<h2 id="notes">Notes</h2>
|
||||||
<p>Le repli en classes d'équivalence circulaires + brin inverse (décrit dans une version antérieure de ce document) a été supprimé : voir la section « Why no equivalence classes » de <code>entropy.md</code> pour la justification théorique et numérique.</p>
|
<p>Le repli en classes d'équivalence circulaires + brin inverse (décrit dans une version antérieure de ce document) a été supprimé : voir la section « Why no equivalence classes » de <code>entropy.md</code> pour la justification théorique et numérique.</p>
|
||||||
<p>Vérifier que les paramètres <code>theta</code> et <code>level_max</code> dans le CLI
|
<p>Vérifier que les paramètres <code>theta</code> et <code>level_max</code> dans le CLI
|
||||||
(<code>obikmer/src/cli.rs</code> → <code>CommonArgs</code>) correspondent bien à ce qui est décrit.</p>
|
(<code>obiskim/src/cli.rs</code> → <code>CommonArgs</code>) correspondent bien à ce qui est décrit.</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Entropy filter - obikmer</title>
|
<title>Entropy filter - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -533,6 +533,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../evolutionary_distances/" class="md-nav__link">
|
<a href="../evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -555,6 +583,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -811,6 +895,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1007,6 +1119,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1285,6 +1453,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -9,10 +9,10 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="prev" href="../indexing/">
|
<link rel="prev" href="../chance_sharing/">
|
||||||
|
|
||||||
|
|
||||||
<link rel="next" href="../../implementation/superkmer/">
|
<link rel="next" href="../sibling_partition_unification/">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Central-position SNP distance (discussion) - obikmer</title>
|
<title>Central-position SNP distance (discussion) - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -398,6 +398,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item md-nav__item--active">
|
<li class="md-nav__item md-nav__item--active">
|
||||||
@@ -791,10 +819,10 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#step-4-surfacing-obikindex-obikmer-cli" class="md-nav__link">
|
<a href="#step-4-surfacing-obikindex-obiskim-cli" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
Step 4 — surfacing (obikindex + obikmer CLI)
|
Step 4 — surfacing (obikindex + obiskim CLI)
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -1009,6 +1037,17 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="#vcf-export-of-the-pseudo-alignment" class="md-nav__link">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
VCF export of the pseudo-alignment
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
@@ -1031,6 +1070,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -1287,6 +1382,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1483,6 +1606,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1761,6 +1940,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -2177,10 +2384,10 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#step-4-surfacing-obikindex-obikmer-cli" class="md-nav__link">
|
<a href="#step-4-surfacing-obikindex-obiskim-cli" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
Step 4 — surfacing (obikindex + obikmer CLI)
|
Step 4 — surfacing (obikindex + obiskim CLI)
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -2395,6 +2602,17 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="#vcf-export-of-the-pseudo-alignment" class="md-nav__link">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
VCF export of the pseudo-alignment
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
@@ -2603,7 +2821,7 @@ implication is that columns should be allowed partial coverage (>=2 resolved
|
|||||||
genomes, not unanimous) rather than requiring every genome to be net
|
genomes, not unanimous) rather than requiring every genome to be net
|
||||||
single-copy at that locus.</p>
|
single-copy at that locus.</p>
|
||||||
<h2 id="context-detectability-and-a-3-way-ordinal-distance-per-pair">Context, detectability, and a 3-way ordinal distance per pair</h2>
|
<h2 id="context-detectability-and-a-3-way-ordinal-distance-per-pair">Context, detectability, and a 3-way ordinal distance per pair</h2>
|
||||||
<p>Empirical follow-up to the pseudo-alignment idea above: <code>obikmer phylo
|
<p>Empirical follow-up to the pseudo-alignment idea above: <code>obiskim phylo
|
||||||
--snp</code> was run on a real 20-genome benchmark index and the resulting FASTA
|
--snp</code> was run on a real 20-genome benchmark index and the resulting FASTA
|
||||||
fed to <code>raxml-ng</code>. Two problems surfaced, both traced back to conflating
|
fed to <code>raxml-ng</code>. Two problems surfaced, both traced back to conflating
|
||||||
distinct notions under one symbol.</p>
|
distinct notions under one symbol.</p>
|
||||||
@@ -2937,7 +3155,7 @@ before testing it.</p>
|
|||||||
informative across domains with this character type. Exploratory only —
|
informative across domains with this character type. Exploratory only —
|
||||||
run entirely outside the repo (<code>/tmp/tnt_run</code>, TNT installed locally under
|
run entirely outside the repo (<code>/tmp/tnt_run</code>, TNT installed locally under
|
||||||
<code>TNT/</code>), no new Rust code. Kept here as the record of what was learned.</p>
|
<code>TNT/</code>), no new Rust code. Kept here as the record of what was learned.</p>
|
||||||
<p><strong>Pipeline.</strong> <code>obikmer phylo --snp</code> emits one IUPAC-coded pseudo-alignment
|
<p><strong>Pipeline.</strong> <code>obiskim phylo --snp</code> emits one IUPAC-coded pseudo-alignment
|
||||||
row per genome (<code>snp_pseudo_alignment</code>, one column per family with
|
row per genome (<code>snp_pseudo_alignment</code>, one column per family with
|
||||||
<code>family_size() >= 2</code>). A small external Python script decodes IUPAC back to
|
<code>family_size() >= 2</code>). A small external Python script decodes IUPAC back to
|
||||||
the 16-state bitmask, applies the set-edit-distance formula above, and
|
the 16-state bitmask, applies the set-edit-distance formula above, and
|
||||||
@@ -3001,14 +3219,14 @@ simply does not survive domain-level divergence. Cross-domain placement
|
|||||||
would need conserved-marker characters (rRNA, ribosomal proteins), not this
|
would need conserved-marker characters (rRNA, ribosomal proteins), not this
|
||||||
estimator.</p>
|
estimator.</p>
|
||||||
<h3 id="native-sankoff-tnt-phyg-export-2026-08-12-superseding-the-external-scripts-above">Native <code>--sankoff --tnt</code>/<code>--phyg</code> export (2026-08-12), superseding the external scripts above</h3>
|
<h3 id="native-sankoff-tnt-phyg-export-2026-08-12-superseding-the-external-scripts-above">Native <code>--sankoff --tnt</code>/<code>--phyg</code> export (2026-08-12), superseding the external scripts above</h3>
|
||||||
<p>The ad hoc Python glue from the previous section is superseded: <code>obikmer
|
<p>The ad hoc Python glue from the previous section is superseded: <code>obiskim
|
||||||
distance --sankoff</code> now calibrates the matrix natively (<code>p_hat</code>, 6-category
|
distance --sankoff</code> now calibrates the matrix natively (<code>p_hat</code>, 6-category
|
||||||
substitution costs, <code>c_ctx</code> weighted by <code>mean_sub_cost</code> — see the worked
|
substitution costs, <code>c_ctx</code> weighted by <code>mean_sub_cost</code> — see the worked
|
||||||
example above) and <code>--tnt</code>/<code>--phyg</code> each write a ready-to-run script from
|
example above) and <code>--tnt</code>/<code>--phyg</code> each write a ready-to-run script from
|
||||||
it, no external script needed. <code>∅</code> is an ordinary 16th state throughout
|
it, no external script needed. <code>∅</code> is an ordinary 16th state throughout
|
||||||
(never <code>-</code>), specifically to avoid gap-semantics confusion in downstream
|
(never <code>-</code>), specifically to avoid gap-semantics confusion in downstream
|
||||||
tools — see "A concrete Sankoff cost matrix" above for why.</p>
|
tools — see "A concrete Sankoff cost matrix" above for why.</p>
|
||||||
<p><strong>TNT (<code>--tnt</code>).</strong> <code>write_sankoff_tnt</code> (<code>obikmer/src/cmd/phylo/mod.rs</code>)
|
<p><strong>TNT (<code>--tnt</code>).</strong> <code>write_sankoff_tnt</code> (<code>obiskim/src/cmd/phylo/mod.rs</code>)
|
||||||
recodes to TNT's own <code>0-9A-F</code> xread alphabet (its default reader rejects
|
recodes to TNT's own <code>0-9A-F</code> xread alphabet (its default reader rejects
|
||||||
the wider IUPAC set otherwise), scales and rounds costs to integers
|
the wider IUPAC set otherwise), scales and rounds costs to integers
|
||||||
(<code>smatrix</code>/<code>cost</code> reject decimals), then re-runs integer Floyd-Warshall on
|
(<code>smatrix</code>/<code>cost</code> reject decimals), then re-runs integer Floyd-Warshall on
|
||||||
@@ -3133,7 +3351,7 @@ from the alignment") does <strong>not</strong> work as a shortcut for this — f
|
|||||||
custom-file morphology model, <code>readParameters</code> always requires the file's
|
custom-file morphology model, <code>readParameters</code> always requires the file's
|
||||||
own frequency line unconditionally; omitting it and passing <code>+F</code> instead
|
own frequency line unconditionally; omitting it and passing <code>+F</code> instead
|
||||||
just fails (<code>ERROR: State frequencies could not be read</code>). <code>π</code> has to be
|
just fails (<code>ERROR: State frequencies could not be read</code>). <code>π</code> has to be
|
||||||
computed by <code>obikmer</code> and written into the file, not left to IQ-TREE.</p>
|
computed by <code>obiskim</code> and written into the file, not left to IQ-TREE.</p>
|
||||||
<p>Net effect: no free-rate ML estimation needed for this piece at all (the
|
<p>Net effect: no free-rate ML estimation needed for this piece at all (the
|
||||||
mistaken assumption that motivated most of this discussion — that
|
mistaken assumption that motivated most of this discussion — that
|
||||||
building an asymmetric <code>Q</code> a priori would require solving a linear system
|
building an asymmetric <code>Q</code> a priori would require solving a linear system
|
||||||
@@ -3203,11 +3421,11 @@ with no error to catch it. <strong>Checked against the real biological alignment
|
|||||||
symbol <code>N</code> (IUPAC "all four bases ambiguous," state index 15) occurs 1383
|
symbol <code>N</code> (IUPAC "all four bases ambiguous," state index 15) occurs 1383
|
||||||
times across 13 of the 20 sequences — present, so this specific real
|
times across 13 of the 20 sequences — present, so this specific real
|
||||||
dataset is not at risk. Still worth a real, general presence check inside
|
dataset is not at risk. Still worth a real, general presence check inside
|
||||||
<code>obikmer</code> before this is wired in, rather than assuming every future
|
<code>obiskim</code> before this is wired in, rather than assuming every future
|
||||||
dataset will have <code>N</code> too (nothing in IQ-TREE would catch it if not).</p>
|
dataset will have <code>N</code> too (nothing in IQ-TREE would catch it if not).</p>
|
||||||
<p><strong>Resolution: subset + compact-renumber, not rely on all 16 appearing.</strong>
|
<p><strong>Resolution: subset + compact-renumber, not rely on all 16 appearing.</strong>
|
||||||
Since IQ-TREE always infers <code>N</code> from the alignment's own content and
|
Since IQ-TREE always infers <code>N</code> from the alignment's own content and
|
||||||
nothing overrides that, the fix is to make the file <code>obikmer</code> writes match
|
nothing overrides that, the fix is to make the file <code>obiskim</code> writes match
|
||||||
that inference <em>by construction</em>, for every run, rather than hope the
|
that inference <em>by construction</em>, for every run, rather than hope the
|
||||||
16th (or any particular) state happens to occur:
|
16th (or any particular) state happens to occur:
|
||||||
1. Scan the real alignment for which of the 16 canonical states actually
|
1. Scan the real alignment for which of the 16 canonical states actually
|
||||||
@@ -3255,7 +3473,7 @@ genuine CTMC rate matrix <code>Q</code> could plausibly be recovered as
|
|||||||
the stationary-frequency gap above is closed. Superseded by the two
|
the stationary-frequency gap above is closed. Superseded by the two
|
||||||
sections below, which implement and then substantially revise this.</p>
|
sections below, which implement and then substantially revise this.</p>
|
||||||
<h3 id="r-implemented-exclude-genome-added-rogue-taxon-test-negative-2026-08-12"><code>R</code>/<code>π</code> implemented; <code>--exclude-genome</code> added; rogue-taxon test negative (2026-08-12)</h3>
|
<h3 id="r-implemented-exclude-genome-added-rogue-taxon-test-negative-2026-08-12"><code>R</code>/<code>π</code> implemented; <code>--exclude-genome</code> added; rogue-taxon test negative (2026-08-12)</h3>
|
||||||
<p><code>write_iqtree</code> (<code>obikmer/src/cmd/phylo/iqtree.rs</code>) implements exactly
|
<p><code>write_iqtree</code> (<code>obiskim/src/cmd/phylo/iqtree.rs</code>) implements exactly
|
||||||
the <code>R = exp(-cost)</code> / empirical-<code>π</code> design above: writes
|
the <code>R = exp(-cost)</code> / empirical-<code>π</code> design above: writes
|
||||||
<code><prefix>_iqtree.model</code> (lower-triangular <code>R</code>, PAML order, then <code>π</code>) and
|
<code><prefix>_iqtree.model</code> (lower-triangular <code>R</code>, PAML order, then <code>π</code>) and
|
||||||
<code><prefix>_iqtree.fasta</code> (alignment recoded to the compact <code>0..k-1</code>
|
<code><prefix>_iqtree.fasta</code> (alignment recoded to the compact <code>0..k-1</code>
|
||||||
@@ -3299,7 +3517,7 @@ tell: with <code>n_eligible=1</code>, the ratio can only be exactly <code>0</cod
|
|||||||
3-for-3 landing on <code>0.0</code> is more than sampling noise alone would predict;
|
3-for-3 landing on <code>0.0</code> is more than sampling noise alone would predict;
|
||||||
possibly ascertainment bias — see below — or possibly a few genuinely
|
possibly ascertainment bias — see below — or possibly a few genuinely
|
||||||
ultra-conserved loci; not resolved).</p>
|
ultra-conserved loci; not resolved).</p>
|
||||||
<p><strong><code>--exclude-genome LABEL</code></strong> (repeatable, <code>obikmer phylo</code>) added for
|
<p><strong><code>--exclude-genome LABEL</code></strong> (repeatable, <code>obiskim phylo</code>) added for
|
||||||
exactly this kind of test: zeroes the excluded genome's row/column in
|
exactly this kind of test: zeroes the excluded genome's row/column in
|
||||||
<code>RawSnpDistanceOutput</code> after <code>raw_snp_distance</code> runs (a pair with zero
|
<code>RawSnpDistanceOutput</code> after <code>raw_snp_distance</code> runs (a pair with zero
|
||||||
counts is already skipped by <code>calibrate_p_hat</code>/<code>base_pair_tally</code> — no
|
counts is already skipped by <code>calibrate_p_hat</code>/<code>base_pair_tally</code> — no
|
||||||
@@ -3497,7 +3715,7 @@ silently wrong data for TNT/PhyG, and a hard failure for IQ-TREE's <code>+ASC</c
|
|||||||
(verified: excluding 2 taxa on the benchmark left 116,351 such columns —
|
(verified: excluding 2 taxa on the benchmark left 116,351 such columns —
|
||||||
matches the manual <code>+ASC</code> failures hit earlier in this same investigation,
|
matches the manual <code>+ASC</code> failures hit earlier in this same investigation,
|
||||||
before <code>--exclude-genome</code> existed). Fixed in <code>drop_excluded</code>
|
before <code>--exclude-genome</code> existed). Fixed in <code>drop_excluded</code>
|
||||||
(<code>obikmer/src/cmd/phylo/mod.rs</code>): after dropping excluded rows,
|
(<code>obiskim/src/cmd/phylo/mod.rs</code>): after dropping excluded rows,
|
||||||
re-scan each column among the <em>surviving</em> sequences and drop any that are
|
re-scan each column among the <em>surviving</em> sequences and drop any that are
|
||||||
now constant. Verified: 908,723 → 792,372 sites after excluding 2 taxa,
|
now constant. Verified: 908,723 → 792,372 sites after excluding 2 taxa,
|
||||||
zero monomorphic columns remain, <code>π</code> recomputed from the corrected
|
zero monomorphic columns remain, <code>π</code> recomputed from the corrected
|
||||||
@@ -3791,7 +4009,7 @@ prescriptions; adjust to reality when implementing.</p>
|
|||||||
takes the min by <code>seq_hash()</code> — the same selection <code>RollingStat</code> performs,
|
takes the min by <code>seq_hash()</code> — the same selection <code>RollingStat</code> performs,
|
||||||
evaluated once. Partition index is then
|
evaluated once. Partition index is then
|
||||||
<code>(minimizer.seq_hash() & (n_partitions - 1)) as usize</code>, exactly as
|
<code>(minimizer.seq_hash() & (n_partitions - 1)) as usize</code>, exactly as
|
||||||
<code>QueryBatch::from_records</code> (<code>obikmer/src/cmd/query.rs:142</code>); <code>n_partitions</code>
|
<code>QueryBatch::from_records</code> (<code>obiskim/src/cmd/query.rs:142</code>); <code>n_partitions</code>
|
||||||
is a power of two so the mask is valid.</li>
|
is a power of two so the mask is valid.</li>
|
||||||
</ol>
|
</ol>
|
||||||
<h3 id="step-1-the-tally-accumulator-obikindex">Step 1 — the tally accumulator (<code>obikindex</code>)</h3>
|
<h3 id="step-1-the-tally-accumulator-obikindex">Step 1 — the tally accumulator (<code>obikindex</code>)</h3>
|
||||||
@@ -3903,7 +4121,7 @@ ever queries. Instead: compute it lazily, on first <code>phylo</code> call again
|
|||||||
given index, and persist the result alongside that index for subsequent
|
given index, and persist the result alongside that index for subsequent
|
||||||
calls — the same lazy-derived-cache pattern <code>PersistentBitMatrix</code> already
|
calls — the same lazy-derived-cache pattern <code>PersistentBitMatrix</code> already
|
||||||
uses for <code>Columnar</code> -> <code>Packed</code>. This requires no explicit invalidation for
|
uses for <code>Columnar</code> -> <code>Packed</code>. This requires no explicit invalidation for
|
||||||
<code>merge</code> or <code>filter</code> (<code>obikindex/src/merge.rs</code>, <code>obikmer/src/cmd/filter.rs</code>):
|
<code>merge</code> or <code>filter</code> (<code>obikindex/src/merge.rs</code>, <code>obiskim/src/cmd/filter.rs</code>):
|
||||||
both only ever write to a fresh <code>--output</code> directory, never mutate an input
|
both only ever write to a fresh <code>--output</code> directory, never mutate an input
|
||||||
index in place, so a re-merged/re-filtered index is simply a new state with
|
index in place, so a re-merged/re-filtered index is simply a new state with
|
||||||
no annex yet. <code>select --in-place</code> (<code>select_layer.rs:139-235</code>) is the
|
no annex yet. <code>select --in-place</code> (<code>select_layer.rs:139-235</code>) is the
|
||||||
@@ -4096,7 +4314,7 @@ above) is observed anywhere in the index — fixes both:
|
|||||||
<code>bitmatrix.rs:264-287</code>); if absent, run step 3 and persist; if present,
|
<code>bitmatrix.rs:264-287</code>); if absent, run step 3 and persist; if present,
|
||||||
mmap and reuse.
|
mmap and reuse.
|
||||||
5. <strong>Invalidation.</strong> <code>merge</code> and <code>filter</code> always write to a fresh <code>--output</code>
|
5. <strong>Invalidation.</strong> <code>merge</code> and <code>filter</code> always write to a fresh <code>--output</code>
|
||||||
directory (<code>obikindex/src/merge.rs</code>, <code>obikmer/src/cmd/filter.rs</code>) so a
|
directory (<code>obikindex/src/merge.rs</code>, <code>obiskim/src/cmd/filter.rs</code>) so a
|
||||||
re-merged/re-filtered index simply has no annex yet — nothing to
|
re-merged/re-filtered index simply has no annex yet — nothing to
|
||||||
invalidate. <code>select --in-place</code> (<code>select_layer.rs:139-235</code>) mutates
|
invalidate. <code>select --in-place</code> (<code>select_layer.rs:139-235</code>) mutates
|
||||||
columns of an existing index without changing its location, which can
|
columns of an existing index without changing its location, which can
|
||||||
@@ -4124,7 +4342,7 @@ accumulated counts (same shape as <code>jaccard_to_mash</code>):</p>
|
|||||||
</ul>
|
</ul>
|
||||||
<p>Guard the singularities (<code>p >= 3/4</code> for JC, <code>1-2P-Q <= 0</code> or <code>1-2Q <= 0</code> for
|
<p>Guard the singularities (<code>p >= 3/4</code> for JC, <code>1-2P-Q <= 0</code> or <code>1-2Q <= 0</code> for
|
||||||
K2P) by clamping to a max distance, as <code>jaccard_to_mash</code> clamps <code>J <= 0</code>.</p>
|
K2P) by clamping to a max distance, as <code>jaccard_to_mash</code> clamps <code>J <= 0</code>.</p>
|
||||||
<h3 id="step-4-surfacing-obikindex-obikmer-cli">Step 4 — surfacing (<code>obikindex</code> + <code>obikmer</code> CLI)</h3>
|
<h3 id="step-4-surfacing-obikindex-obiskim-cli">Step 4 — surfacing (<code>obikindex</code> + <code>obiskim</code> CLI)</h3>
|
||||||
<p>These metrics do not fit <code>DistanceMetric</code>'s current <code>LayeredStore</code>-partial
|
<p>These metrics do not fit <code>DistanceMetric</code>'s current <code>LayeredStore</code>-partial
|
||||||
dispatch (they need the cross-partition sweep and produce a different
|
dispatch (they need the cross-partition sweep and produce a different
|
||||||
intermediate). Two options, to decide:</p>
|
intermediate). Two options, to decide:</p>
|
||||||
@@ -4163,7 +4381,7 @@ lookups proportionally; <code>p_hat</code> is unbiased. Off by default (exact).<
|
|||||||
<ol>
|
<ol>
|
||||||
<li>Step 0 primitives + their unit tests (self-contained, no distance wiring).
|
<li>Step 0 primitives + their unit tests (self-contained, no distance wiring).
|
||||||
This also unblocks the long-declared-but-unimplemented <code>query --mismatch</code>
|
This also unblocks the long-declared-but-unimplemented <code>query --mismatch</code>
|
||||||
(<code>obikmer/src/cmd/query.rs:676</code>, currently a warning), which needs the same
|
(<code>obiskim/src/cmd/query.rs:676</code>, currently a warning), which needs the same
|
||||||
neighbour + routing machinery.</li>
|
neighbour + routing machinery.</li>
|
||||||
<li><code>SnpTally</code> + finalisation math with a brute-force (non-swept) reference
|
<li><code>SnpTally</code> + finalisation math with a brute-force (non-swept) reference
|
||||||
backend, validated on a tiny index.</li>
|
backend, validated on a tiny index.</li>
|
||||||
@@ -4209,7 +4427,7 @@ tree weakly — will likely need a minimum-detected-loci-per-genome filter
|
|||||||
upstream (exclude or flag under-covered genomes) before this becomes a
|
upstream (exclude or flag under-covered genomes) before this becomes a
|
||||||
correctness problem rather than a power problem. Not designed yet.</p>
|
correctness problem rather than a power problem. Not designed yet.</p>
|
||||||
<h3 id="-free-loss-implemented-2026-08-13"><code>--free-loss</code> implemented (2026-08-13)</h3>
|
<h3 id="-free-loss-implemented-2026-08-13"><code>--free-loss</code> implemented (2026-08-13)</h3>
|
||||||
<p><code>obikmer phylo --sankoff --free-loss</code> (with <code>--tnt</code>/<code>--phyg</code>/<code>--iqtree</code>)
|
<p><code>obiskim phylo --sankoff --free-loss</code> (with <code>--tnt</code>/<code>--phyg</code>/<code>--iqtree</code>)
|
||||||
recodes <code>∅</code> (a family's non-detection in a genome) to <code>?</code> instead of the
|
recodes <code>∅</code> (a family's non-detection in a genome) to <code>?</code> instead of the
|
||||||
default ordinary, costed 16th state — the resolution of the discussion
|
default ordinary, costed 16th state — the resolution of the discussion
|
||||||
above. <code>?</code>, not <code>-</code>: <code>-</code> still carries gap/indel semantics in TNT/PhyG/
|
above. <code>?</code>, not <code>-</code>: <code>-</code> still carries gap/indel semantics in TNT/PhyG/
|
||||||
@@ -4284,7 +4502,7 @@ filtered alignment — next verification step, alongside the still-open PhyG
|
|||||||
<p><strong>Diagnostic added: <code>--family-overlap</code>.</strong> Real per-genome-pair count of
|
<p><strong>Diagnostic added: <code>--family-overlap</code>.</strong> Real per-genome-pair count of
|
||||||
shared variable families (columns where neither genome is <code>∅</code>), diagonal
|
shared variable families (columns where neither genome is <code>∅</code>), diagonal
|
||||||
kept (degenerates to "genome's own total family count", not a separate
|
kept (degenerates to "genome's own total family count", not a separate
|
||||||
computation — see <code>obikmer/src/cmd/phylo/family_overlap.rs</code>). On the
|
computation — see <code>obiskim/src/cmd/phylo/family_overlap.rs</code>). On the
|
||||||
20-genome benchmark this predicted the <code>--tnt</code>/<code>--iqtree</code> rogue-placement
|
20-genome benchmark this predicted the <code>--tnt</code>/<code>--iqtree</code> rogue-placement
|
||||||
pattern exactly: Candidozyma shares <strong>0</strong> families with all 19 others (hence
|
pattern exactly: Candidozyma shares <strong>0</strong> families with all 19 others (hence
|
||||||
its ~0-length branch, placed anywhere); the mean off-diagonal shared-family
|
its ~0-length branch, placed anywhere); the mean off-diagonal shared-family
|
||||||
@@ -4345,13 +4563,13 @@ it stores) from a run on one taxon set against a regenerated <code>iqtree.fasta<
|
|||||||
with a different taxon count crashes with <code>Assertion 'i >= 0 && i <
|
with a different taxon count crashes with <code>Assertion 'i >= 0 && i <
|
||||||
(int)seq_names.size()' failed</code> in <code>Alignment::getSeqName</code> /
|
(int)seq_names.size()' failed</code> in <code>Alignment::getSeqName</code> /
|
||||||
<code>PhyloTree::assignLeafNames</code> — <code>--undo</code> tries to graft a stored tree with
|
<code>PhyloTree::assignLeafNames</code> — <code>--undo</code> tries to graft a stored tree with
|
||||||
the old leaf count onto the new, smaller alignment. Not an <code>obikmer</code> bug;
|
the old leaf count onto the new, smaller alignment. Not an <code>obiskim</code> bug;
|
||||||
avoid by using a fresh <code>--prefix</code> (or <code>-redo</code>) whenever the underlying
|
avoid by using a fresh <code>--prefix</code> (or <code>-redo</code>) whenever the underlying
|
||||||
alignment's taxon set changes, never <code>--undo</code> across them.</p>
|
alignment's taxon set changes, never <code>--undo</code> across them.</p>
|
||||||
<h2 id="_iqtree_statescsv-compact-symbol-traceability-2026-08-15"><code>_iqtree_states.csv</code>: compact-symbol traceability (2026-08-15)</h2>
|
<h2 id="_iqtree_statescsv-compact-symbol-traceability-2026-08-15"><code>_iqtree_states.csv</code>: compact-symbol traceability (2026-08-15)</h2>
|
||||||
<p>User-reported suspicion: <code>--iqtree --free-loss</code> state frequencies "don't
|
<p>User-reported suspicion: <code>--iqtree --free-loss</code> state frequencies "don't
|
||||||
sum to 1". Verified both by code trace and unit test
|
sum to 1". Verified both by code trace and unit test
|
||||||
(<code>obikmer/src/cmd/phylo/iqtree.rs</code>, <code>free_loss_excludes_absent_state_and_freq_sums_to_one</code>)
|
(<code>obiskim/src/cmd/phylo/iqtree.rs</code>, <code>free_loss_excludes_absent_state_and_freq_sums_to_one</code>)
|
||||||
— <strong>not a bug</strong>: <code>compact_alphabet</code>'s counting loop <code>continue</code>s on
|
— <strong>not a bug</strong>: <code>compact_alphabet</code>'s counting loop <code>continue</code>s on
|
||||||
<code>free_loss && b == b'-'</code> <em>before</em> recoding/counting, so the absent state
|
<code>free_loss && b == b'-'</code> <em>before</em> recoding/counting, so the absent state
|
||||||
never enters <code>occurs</code>/<code>counts</code>, and <code>freq[i] = counts[old]/total</code> sums to
|
never enters <code>occurs</code>/<code>counts</code>, and <code>freq[i] = counts[old]/total</code> sums to
|
||||||
@@ -4435,7 +4653,7 @@ multi-base states too — biologically, a family showing 3–4 simultaneously
|
|||||||
observed central bases across genomes is far more likely to be
|
observed central bases across genomes is far more likely to be
|
||||||
assembly/detection noise than a genuinely ancestral, widely-preserved
|
assembly/detection noise than a genuinely ancestral, widely-preserved
|
||||||
polymorphism, the same reasoning already used for <code>-</code>.</p>
|
polymorphism, the same reasoning already used for <code>-</code>.</p>
|
||||||
<p><strong>Mechanism</strong> (<code>obikmer/src/cmd/phylo/iqtree.rs</code>, <code>write_iqtree</code>): a
|
<p><strong>Mechanism</strong> (<code>obiskim/src/cmd/phylo/iqtree.rs</code>, <code>write_iqtree</code>): a
|
||||||
<em>second</em> filtering pass, active only under <code>--free-loss</code>. After the first
|
<em>second</em> filtering pass, active only under <code>--free-loss</code>. After the first
|
||||||
<code>compact_alphabet</code> call (post ascertainment-filtering), any state with
|
<code>compact_alphabet</code> call (post ascertainment-filtering), any state with
|
||||||
<code>freq < --iqtree-min-freq</code> (default <code>0.001</code>) has every occurrence recoded
|
<code>freq < --iqtree-min-freq</code> (default <code>0.001</code>) has every occurrence recoded
|
||||||
@@ -4934,7 +5152,7 @@ generally (the same mechanism as <code>corrected_log</code>, not a coincidence
|
|||||||
Nei's own formula is the <code>θ=0</code> special case applied to a pairwise <code>D</code>
|
Nei's own formula is the <code>θ=0</code> special case applied to a pairwise <code>D</code>
|
||||||
rather than a whole-tree one). Explicitly stated by the authors as
|
rather than a whole-tree one). Explicitly stated by the authors as
|
||||||
infeasible beyond about 5–6 taxa (their own simulations stop at 5); not a
|
infeasible beyond about 5–6 taxa (their own simulations stop at 5); not a
|
||||||
candidate for obikmer's typical genome counts. Notable contribution worth
|
candidate for obiskim's typical genome counts. Notable contribution worth
|
||||||
keeping in mind regardless: <code>ρ = (1+θα)/(1+α)</code> is shown to be a more robust
|
keeping in mind regardless: <code>ρ = (1+θα)/(1+α)</code> is shown to be a more robust
|
||||||
summary of rate heterogeneity than <code>α</code> alone whenever <code>θ</code> isn't negligible
|
summary of rate heterogeneity than <code>α</code> alone whenever <code>θ</code> isn't negligible
|
||||||
— <code>α</code> and <code>θ</code> are confounded (nearly-invariant sites can come from either a
|
— <code>α</code> and <code>θ</code> are confounded (nearly-invariant sites can come from either a
|
||||||
@@ -4955,7 +5173,7 @@ not a closed form; (4) the site-level <code>k̂</code> values (real-valued, not
|
|||||||
integers) are fit to a negative binomial (Uzzell & Corbin 1971) by ML to
|
integers) are fit to a negative binomial (Uzzell & Corbin 1971) by ML to
|
||||||
get α — again no closed form, numerical optimization. This is a real
|
get α — again no closed form, numerical optimization. This is a real
|
||||||
per-site pipeline requiring a tree <em>before</em> distances/α can be computed —
|
per-site pipeline requiring a tree <em>before</em> distances/α can be computed —
|
||||||
the reverse of obikmer's current dependency order (<code>snp_distance</code> computes
|
the reverse of obiskim's current dependency order (<code>snp_distance</code> computes
|
||||||
distances, which <code>--nj</code>/<code>--upgma</code> only turn into a tree <em>afterward</em>). Their
|
distances, which <code>--nj</code>/<code>--upgma</code> only turn into a tree <em>afterward</em>). Their
|
||||||
own answer to this chicken-and-egg problem is an iterative
|
own answer to this chicken-and-egg problem is an iterative
|
||||||
distance→tree→α→distance loop, which they themselves flag as expensive.
|
distance→tree→α→distance loop, which they themselves flag as expensive.
|
||||||
@@ -5018,7 +5236,7 @@ proper is judged not worth the effort).</p>
|
|||||||
<p><strong>Correctness bug, not just a performance one.</strong> <code>--sankoff</code>/<code>--tnt</code>/<code>--phyg</code>/
|
<p><strong>Correctness bug, not just a performance one.</strong> <code>--sankoff</code>/<code>--tnt</code>/<code>--phyg</code>/
|
||||||
<code>--iqtree</code> (via <code>SiblingExt::sankoff_bundle</code>) and a <code>snp-*</code> <code>--distance</code>
|
<code>--iqtree</code> (via <code>SiblingExt::sankoff_bundle</code>) and a <code>snp-*</code> <code>--distance</code>
|
||||||
(via <code>SiblingExt::snp_distance</code>) always consume the <em>exact same</em> selection
|
(via <code>SiblingExt::snp_distance</code>) always consume the <em>exact same</em> selection
|
||||||
parameters when requested together in one <code>obikmer phylo</code> invocation
|
parameters when requested together in one <code>obiskim phylo</code> invocation
|
||||||
(<code>n</code>/<code>free_loss</code>/<code>no_ambiguity</code>/excluded-set/<code>entropy_bias</code> — the CLI has
|
(<code>n</code>/<code>free_loss</code>/<code>no_ambiguity</code>/excluded-set/<code>entropy_bias</code> — the CLI has
|
||||||
no way to give them different values in one run, see <code>cmd/phylo/args.rs</code>).
|
no way to give them different values in one run, see <code>cmd/phylo/args.rs</code>).
|
||||||
Before this fix, each independently called <code>sample_index</code>, and
|
Before this fix, each independently called <code>sample_index</code>, and
|
||||||
@@ -5057,7 +5275,7 @@ the same tiny test index.</p>
|
|||||||
<code>--session DIR</code> (<code>cmd/phylo/args.rs</code>) names a directory (outside the
|
<code>--session DIR</code> (<code>cmd/phylo/args.rs</code>) names a directory (outside the
|
||||||
index) that persists the <code>snp-*</code> <code>--distance</code> sample — the
|
index) that persists the <code>snp-*</code> <code>--distance</code> sample — the
|
||||||
<code>PairwiseTally</code>/<code>PartitionDispersion</code> pair <code>sample_index</code> would otherwise
|
<code>PairwiseTally</code>/<code>PartitionDispersion</code> pair <code>sample_index</code> would otherwise
|
||||||
rebuild from scratch — across <em>separate</em> <code>obikmer phylo</code> invocations.</p>
|
rebuild from scratch — across <em>separate</em> <code>obiskim phylo</code> invocations.</p>
|
||||||
<p><strong>Crate placement, as planned</strong>: a new <strong><code>obiksession</code></strong> crate
|
<p><strong>Crate placement, as planned</strong>: a new <strong><code>obiksession</code></strong> crate
|
||||||
(<code>src/obiksession/</code>), domain-agnostic — no <code>PairwiseTally</code>/"site" concept
|
(<code>src/obiksession/</code>), domain-agnostic — no <code>PairwiseTally</code>/"site" concept
|
||||||
anywhere in it. <code>Session::open(dir, params: &[u8], force: bool)</code> handles
|
anywhere in it. <code>Session::open(dir, params: &[u8], force: bool)</code> handles
|
||||||
@@ -5194,6 +5412,83 @@ the new <code>snp-*</code> ones — accepted explicitly (pre-release, single dev
|
|||||||
user, no external consumers to break). Scoped to the distance matrix only:
|
user, no external consumers to break). Scoped to the distance matrix only:
|
||||||
<code>--shared-kmers</code> and <code>--raw-snp-counts</code> are counts, not distances, and keep
|
<code>--shared-kmers</code> and <code>--raw-snp-counts</code> are counts, not distances, and keep
|
||||||
their existing CSV-only format.</p>
|
their existing CSV-only format.</p>
|
||||||
|
<h2 id="vcf-export-of-the-pseudo-alignment">VCF export of the pseudo-alignment</h2>
|
||||||
|
<p><code>phylo --vcf</code> writes the drawn sites of <code>--pseudo-alignment</code> as a VCF
|
||||||
|
(<code>--fasta</code>/<code>--vcf</code> choose the formats, FASTA is the default, both can be
|
||||||
|
combined). A family has no genomic coordinate, so coordinates are virtual and
|
||||||
|
derived from where the scan finds the family: <code>CHROM = obiskim_<partition>_<layer></code>,
|
||||||
|
<code>POS = family_idx + 1</code> (<code>scan_layer_families</code>' iteration-order index inside
|
||||||
|
that layer). Stable for a given index + annex, sorted by construction because
|
||||||
|
<code>on_family</code> is replayed in <code>family_idx</code> order. A global dense rank or a bit
|
||||||
|
packing of (layer, partition, idx) into one <code>POS</code> was rejected: it needs
|
||||||
|
per-layer minorant counts and can exceed VCF's 2^31-1 bound.</p>
|
||||||
|
<p><code>ID</code> is <code>CanonicalKmer::family_id()</code>: centre forced to <code>A</code> on the
|
||||||
|
k-mer and on its revcomp, each canonicalised, minimum of the two (centre
|
||||||
|
printed as <code>N</code>). Index-independent, hence the key for merging VCFs from
|
||||||
|
different indexes. No <code>INFO/LOCUS</code> duplicate (dropped: same string as <code>ID</code>, costly
|
||||||
|
at 5M loci); <code>QUAL</code>/<code>FILTER</code>/<code>INFO</code> are all <code>.</code>. An alternative defined as the minimum of
|
||||||
|
<code>central_canonical_neighbors()</code> was dropped: it canonicalises 4 k-mers where
|
||||||
|
this one needs 2, with no other benefit. <code>family_id</code> idempotence and
|
||||||
|
family-wide equality are tested exhaustively for k = 3, 5, 7.</p>
|
||||||
|
<p><code>SurvivingFamily</code> now carries the minorant k-mer (the scan callback passes it),
|
||||||
|
and <code>SnpAlignment</code> a <code>SiteLocus</code> per column. Alleles are the unambiguous cells
|
||||||
|
of the IUPAC matrix, in the FASTA's convention (central base of the member's
|
||||||
|
canonical form, not necessarily the <code>ID</code> k-mer's strand).</p>
|
||||||
|
<p>Absence handling. <code>masked_state</code> keeps absence (<code>m == 0</code>, <code>-</code>) as a real state
|
||||||
|
unless <code>--free-loss</code>, where it becomes missing (<code>?</code>). A first version mapped
|
||||||
|
<code>-</code> and <code>?</code> both to <code>.</code>: on a toy 4-genome index half of the lines then had
|
||||||
|
<code>ALT = .</code> (presence/absence-only sites, selected by <code>survives_masking</code>), i.e.
|
||||||
|
polymorphic sites rendered as monomorphic. Absence became an extra allele,
|
||||||
|
first written <code>*</code>; that was a misuse: in VCF 4.5 (section on the ALT column)
|
||||||
|
<code>*</code> is "allele missing due to overlapping deletion", and <code><*></code> is the gVCF
|
||||||
|
unspecified allele, <code>DEL</code>/<code>INS</code>/<code>DUP</code>/<code>INV</code>/<code>CNV</code> are structural-variant
|
||||||
|
types. Now the symbolic allele <code><ABS></code> (free-form ID, declared by a
|
||||||
|
<code>##ALT=<ID=ABS,...></code> line, always written in the header, listed after the
|
||||||
|
bases); <code>?</code> and IUPAC ambiguity codes stay <code>.</code> (haploid GT cannot express a
|
||||||
|
genome carrying several forms; superseded below). A symbolic ALT formally
|
||||||
|
asks for a padding base before <code>POS</code>; moot here, positions being virtual.
|
||||||
|
Checked with <code>bcftools view</code>/<code>stats</code> and <code>tabix</code>: no warning, the sites with
|
||||||
|
<code><ABS></code> are classed "others" by <code>bcftools stats</code>, and
|
||||||
|
<code>-e 'ALT="<ABS>"'</code> drops exactly them. The writer needs no knowledge of
|
||||||
|
<code>--free-loss</code>: <code>-</code> simply never occurs with it. A reference-genome option
|
||||||
|
(<code>--vcf-ref</code>) was implemented then dropped: <code>REF</code> is always the per-site
|
||||||
|
majority base (alphabetical on ties).</p>
|
||||||
|
<p>Ploidy. VCF allows any ploidy in <code>GT</code> (number of alleles written, variable
|
||||||
|
per sample/site), but an obiskim cell only says <em>which</em> forms a genome
|
||||||
|
carries, not their multiplicity (<code>A/A/G</code> and <code>A/G/G</code> are both <code>R</code>), nor
|
||||||
|
whether several forms mean heterozygosity or paralogues. Compromise chosen:
|
||||||
|
<code>--no-ambiguity</code> => haploid (ambiguous cells are already <code>?</code>); otherwise
|
||||||
|
diploid, single base <code>X</code> -> <code>X/X</code>, two-base code -> <code>X/Y</code>, <code>-</code> -> <code><ABS>/<ABS></code>, and
|
||||||
|
three/four-base codes or <code>?</code> -> <code>./.</code>. <code>REF</code> is the majority allele counting
|
||||||
|
each copy once (so a het contributes 1+1, a homozygote 2). Counting copies
|
||||||
|
for a real dosage (polyploids) would need k-mer counts (<code>--with-counts</code>),
|
||||||
|
not used by the pseudo-alignment scan today. <code>--only-diploid</code> (selection option, <code>conflicts_with --no-ambiguity</code>) adds a
|
||||||
|
third <code>masked_state</code> rule: <code>count_ones() > 2</code> -> missing. It lives in
|
||||||
|
<code>SamplingSpec</code>/<code>masked_state</code>, i.e. the post-hoc masking and
|
||||||
|
<code>survives_masking</code>, so FASTA, Sankoff and <code>snp-*</code> see it too. Unit-tested
|
||||||
|
(<code>masked_state</code>); the toy index has no 3/4-member cells, so the end-to-end
|
||||||
|
run is identical to the default mode.</p>
|
||||||
|
<p>First version of this flag read the persisted annexes under the default
|
||||||
|
convention (a third variant was judged not worth it). Rejected: the draw
|
||||||
|
would then describe other genomes than the alignment, and the pair-balance
|
||||||
|
weights and entropy are computed from the carrier set. Replaced by
|
||||||
|
<code>AmbiguityPolicy { Keep, Forbid, OnlyDiploid }</code> (one type instead of
|
||||||
|
<code>free_loss</code>/<code>no_ambiguity</code>/<code>only_diploid</code> booleans in <code>masked_state</code>,
|
||||||
|
<code>is_carrier</code>, <code>SamplingSpec</code> and every annex key). Annex headers store
|
||||||
|
<code>AmbiguityPolicy::header_flags</code> (0 = Keep, 1 = Forbid, as the old bit, 2 =
|
||||||
|
OnlyDiploid), so annexes written before the change stay valid; each policy
|
||||||
|
has its own file (<code>*.diploid.*</code> for the new one). <code>--sibling-annex</code> no longer
|
||||||
|
precomputes everything (<code>AnnexRequest::everything</code> removed, a rebuild only
|
||||||
|
costs the base annex): it builds the derived annexes named by the other
|
||||||
|
options of the command (<code>AnnexSelection</code>: <code>--entropy</code>, <code>--quartet</code>,
|
||||||
|
<code>--pair-balance</code>, <code>--family-overlap</code>/<code>--min-shared-family</code>, under the one
|
||||||
|
policy given); the rest is built on demand as before. A rebuild still drops
|
||||||
|
every derived annex (their <code>family_idx</code> numbering is tied to the base one).
|
||||||
|
Checked on the toy index: <code>--sibling-annex</code> alone leaves only
|
||||||
|
<code>siblings.psib</code>; <code>--quartet --only-diploid</code> adds <code>quartet.diploid.pbiv</code> only.
|
||||||
|
Toy index: default mode 187
|
||||||
|
lines, no <code>ALT = .</code>; <code>--no-ambiguity</code> 93 lines (the sites whose polymorphism
|
||||||
|
was only ambiguity codes disappear, since those cells became <code>?</code>).</p>
|
||||||
<h2 id="references">References</h2>
|
<h2 id="references">References</h2>
|
||||||
<p>The Mash mutation-rate model this discussion contrasts with:
|
<p>The Mash mutation-rate model this discussion contrasts with:
|
||||||
(Fan <em>et al.</em> 2015; Marbl Lab 2026)<sup id="fnref:Mash-distances-doc"><a class="footnote-ref" href="#fn:Mash-distances-doc">1</a></sup> <sup id="fnref:Fan2015-mash-formula"><a class="footnote-ref" href="#fn:Fan2015-mash-formula">2</a></sup>.</p>
|
(Fan <em>et al.</em> 2015; Marbl Lab 2026)<sup id="fnref:Mash-distances-doc"><a class="footnote-ref" href="#fn:Mash-distances-doc">1</a></sup> <sup id="fnref:Fan2015-mash-formula"><a class="footnote-ref" href="#fn:Fan2015-mash-formula">2</a></sup>.</p>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Indexing.refs - obikmer</title>
|
<title>Indexing.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../evolutionary_distances/" class="md-nav__link">
|
<a href="../evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1275,7 +1471,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<h2 id="notes">Notes</h2>
|
<h2 id="notes">Notes</h2>
|
||||||
<p>Vérifier que la doc mentionne bien que le nombre de partitions est une puissance de 2
|
<p>Vérifier que la doc mentionne bien que le nombre de partitions est une puissance de 2
|
||||||
(converti par <code>partitions_to_bits</code> dans <code>obikmer/src/cli.rs</code>).</p>
|
(converti par <code>partitions_to_bits</code> dans <code>obiskim/src/cli.rs</code>).</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<link rel="prev" href="../minimizer/">
|
<link rel="prev" href="../minimizer/">
|
||||||
|
|
||||||
|
|
||||||
<link rel="next" href="../evolutionary_distances/">
|
<link rel="next" href="../chance_sharing/">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Partitioning architecture - obikmer</title>
|
<title>Partitioning architecture - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -467,6 +467,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../evolutionary_distances/" class="md-nav__link">
|
<a href="../evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -489,6 +517,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -745,6 +829,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -941,6 +1053,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1219,6 +1387,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Minimizer.refs - obikmer</title>
|
<title>Minimizer.refs - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -134,13 +134,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -392,6 +392,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../evolutionary_distances/" class="md-nav__link">
|
<a href="../evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -414,6 +442,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -670,6 +754,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -866,6 +978,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1144,6 +1312,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Minimizer selection - obikmer</title>
|
<title>Minimizer selection - obiskim</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer
|
obiskim
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
|
<a href="../.." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer
|
obiskim
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -511,6 +511,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../chance_sharing/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Chance sharing across genomes (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../evolutionary_distances/" class="md-nav__link">
|
<a href="../evolutionary_distances/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -533,6 +561,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../sibling_partition_unification/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Sibling partition unification (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../pair_coverage_sampling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Pair-coverage-biased family sampling (discussion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
@@ -789,6 +873,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/mphf_batch_queries/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
MPHF batch queries (inventory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
<a href="../../implementation/unitig_evidence/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -985,6 +1097,62 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_mmap_audit/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge mmap audit (2026-11)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../implementation/merge_scaling/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Merge scaling (open)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../implementation/filtering/" class="md-nav__link">
|
<a href="../../implementation/filtering/" class="md-nav__link">
|
||||||
|
|
||||||
@@ -1263,6 +1431,34 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="../../architecture/hot_resume_memoization/" class="md-nav__link">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
|
||||||
|
Hot resume and memoization
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
<a href="../../architecture/numa_worker_pools/" class="md-nav__link">
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -101,6 +101,21 @@ Only one group's source layers and destination columns are alive at a time, so t
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Sparse presence output: no column files
|
||||||
|
|
||||||
|
In presence mode with the sparse output (the default), pass 2 creates no
|
||||||
|
`col_*.pbiv` file for the added genomes. Each filled column is compressed in
|
||||||
|
RAM (`CompressedBitColumn`: blocks of 4096 rows, stored as varint gaps between
|
||||||
|
set bits, or as the raw bitmap when that is not larger). Once all source groups
|
||||||
|
of a partition are done, `write_sparse_presence` transposes the base columns
|
||||||
|
and the compressed ones, a window of rows at a time, and writes each layer's
|
||||||
|
sparse matrix once. `finalize` then finds the layers already packed.
|
||||||
|
|
||||||
|
All compressed columns of a partition stay in RAM until its matrices are
|
||||||
|
written (their size is logged at `debug` level); there is no disk spill. Count
|
||||||
|
mode and `--dense` still append column files and pack them afterwards. The
|
||||||
|
sections below that describe column files apply to those two paths.
|
||||||
|
|
||||||
## `append_genome_column`
|
## `append_genome_column`
|
||||||
|
|
||||||
Defined on two concrete specialisations of `Layer<D>`:
|
Defined on two concrete specialisations of `Layer<D>`:
|
||||||
|
|||||||
@@ -134,13 +134,16 @@ clean-doc-user:
|
|||||||
# Regenerates the Gitea/Forgejo wiki (a separate repository, checked out next
|
# Regenerates the Gitea/Forgejo wiki (a separate repository, checked out next
|
||||||
# to this one) from the user documentation. Only rewrites its working tree:
|
# to this one) from the user documentation. Only rewrites its working tree:
|
||||||
# committing and pushing it stays a manual step. Not part of `clean`.
|
# committing and pushing it stays a manual step. Not part of `clean`.
|
||||||
|
# The wiki is flat and entirely generated: its pages (top-level *.md) are deleted first, so that a page
|
||||||
|
# renamed or removed in the sources does not linger. Only *.md at the top level are touched (.git, .jj kept).
|
||||||
DOC_WIKI_DIR := ../obiskim.wiki
|
DOC_WIKI_DIR := ../obiskim.wiki
|
||||||
|
|
||||||
.PHONY: wiki
|
.PHONY: wiki
|
||||||
## wiki: Regenerates the wiki working tree (../obiskim.wiki); commit and push stay manual
|
## wiki: Regenerates the wiki working tree (../obiskim.wiki) from scratch; commit and push stay manual
|
||||||
wiki:
|
wiki:
|
||||||
@command -v pmotransdoc >/dev/null || { echo "pmotransdoc not found in PATH" >&2; exit 1; }
|
@command -v pmotransdoc >/dev/null || { echo "pmotransdoc not found in PATH" >&2; exit 1; }
|
||||||
@test -d $(DOC_WIKI_DIR)/.git || { echo "$(DOC_WIKI_DIR) is not a git checkout of the wiki" >&2; exit 1; }
|
@test -d $(DOC_WIKI_DIR)/.git || { echo "$(DOC_WIKI_DIR) is not a git checkout of the wiki" >&2; exit 1; }
|
||||||
|
find $(DOC_WIKI_DIR) -maxdepth 1 -type f -name '*.md' -delete
|
||||||
pmotransdoc $(DOC_USER_DIR) $(DOC_WIKI_DIR)
|
pmotransdoc $(DOC_USER_DIR) $(DOC_WIKI_DIR)
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
@@ -222,6 +225,8 @@ print-%:
|
|||||||
# Skipped when obi-kit is absent (CI, repository cloned alone): the committed copy is used.
|
# Skipped when obi-kit is absent (CI, repository cloned alone): the committed copy is used.
|
||||||
# Included last so that the default goal stays `build`.
|
# Included last so that the default goal stays `build`.
|
||||||
KIT_SRC ?= ../obi-kit
|
KIT_SRC ?= ../obi-kit
|
||||||
|
# The workspace (its Cargo.toml and its members) lives under src/: dev-patch and deps-check scan it too.
|
||||||
|
MEMBERS_DIR := $(CARGO_DIR)
|
||||||
$(shell [ -x '$(KIT_SRC)/tools/kit-copy.sh' ] && '$(KIT_SRC)/tools/kit-copy.sh' .crate-kit)
|
$(shell [ -x '$(KIT_SRC)/tools/kit-copy.sh' ] && '$(KIT_SRC)/tools/kit-copy.sh' .crate-kit)
|
||||||
|
|
||||||
include .crate-kit/dev-patch.mk
|
include .crate-kit/dev-patch.mk
|
||||||
|
|||||||
@@ -0,0 +1,41 @@
|
|||||||
|
# Release notes for obiskim (Rust k-mer genomics tool), version 1.4.10
|
||||||
|
|
||||||
|
## Refactoring
|
||||||
|
|
||||||
|
- **Dependency Migration**: Removed the local `obipipeline` crate. All dependent crates (`obikindexer`, `obikmerge`, `obikphylo`, `obiskim`) now depend on `obipipeline` version 0.2 from the `obi` registry.
|
||||||
|
- **Logic Migration**:
|
||||||
|
- Moved error handling (`pipeline_error`) to `obikindexer` for graph building.
|
||||||
|
- Moved batch iteration logic (`iter_canonical_kmer_batches_owned`) to `obiskio` for lazy canonical k-mer iteration.
|
||||||
|
- Refactored `obikmerge` to use `iter_canonical_kmer_batches_owned` for streaming batches in `merge_partition` and `run_pass2`.
|
||||||
|
- Refactored `obikphylo` to handle errors via `OKIError::InvalidData`.
|
||||||
|
- Refactored `obiskim` to use `.expect("pipeline error")` for batch processing in `query` and `superkmer` commands.
|
||||||
|
- **Internal API**: Removed the `sorted_slots` parameter from `nonzero_triples` in `obicompactvec`; slots are now sorted internally. Updated callers in `intmatrix` and `bitmatrix` modules.
|
||||||
|
- **Workspace**: Added `MEMBERS_DIR` variable to workspace scripts for scanning subdirectories for Cargo manifests. Removed `obikseq` and added `obifastwrite` to workspace members. Removed root `Cargo.lock`.
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
- **Renaming**: Renamed project references from "obikmer" to "obiskim" across all documentation, user guides, and developer notes.
|
||||||
|
- **K-mer Indexing**: Updated terminology and constraints to reflect obiskim's two-bit-per-nucleotide representation ($k \leq 32$, odd $k$) and deterministic hash ordering.
|
||||||
|
- **New Topics**: Added extensive documentation covering:
|
||||||
|
- Chance sharing across genomes
|
||||||
|
- Sibling partition unification
|
||||||
|
- Pair-coverage-biased family sampling
|
||||||
|
- MPHF batch queries
|
||||||
|
- Merge mmap audit and scaling
|
||||||
|
- Hot resume and memoization
|
||||||
|
- **Implementation Details**:
|
||||||
|
- Updated `by_partition` description to use `Vec<PartitionKmers>` instead of `HashMap`.
|
||||||
|
- Updated merge bootstrap logic to select base source by largest `unitigs.bin` size.
|
||||||
|
- Changed `MAX_KMERS_PER_CHUNK` from 256 to 128.
|
||||||
|
- Clarified `obiskim phylo` sampling behavior and `--sibling-annex` usage.
|
||||||
|
- Clarified `select` command hard-linking mechanism and output directory behavior.
|
||||||
|
- **References**: Added BibTeX entries for Karlin et al. and Bennett et al.
|
||||||
|
|
||||||
|
## Build & CI
|
||||||
|
|
||||||
|
- **Scripts**:
|
||||||
|
- Added `.crate-kit/scripts/msrv-check.sh` for MSRV verification.
|
||||||
|
- Updated dependency management scripts (`deps-check.sh`, `deps-lib.sh`) for improved lockfile handling and `cargo update` support.
|
||||||
|
- Updated `bump-version.sh` to use `sed -E` for robust version string replacement.
|
||||||
|
- Updated publish scripts to enforce registry settings and exclude internal files.
|
||||||
|
- **CI**: Updated `.gitea/workflows/release.yml` to pass private cargo registry index environment variables during macOS binary builds.
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
# Release Notes for obiskim (Rust k-mer genomics tool) 1.4.11
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- **Genome Set Trie Example**: Added `src/obicompactvec/examples/genome_set_trie.rs` demonstrating the construction and measurement of a set trie using `PersistentBitMatrix`. Includes helper structs (`SetTrie`, `Node`, `EdgeHasher`, `StepStats`) and validation against a naive implementation.
|
||||||
|
|
||||||
|
## Internal
|
||||||
|
|
||||||
|
- **Sparse Bit Matrix Refactoring**: Restructured sparse bit matrix handling to support sparse output modes in merge operations, where presence data is compressed in RAM rather than written to disk immediately.
|
||||||
|
- Introduced `CompressedBitColumn` for in-memory compressed presence data.
|
||||||
|
- Split builder logic into dedicated modules: `sparse/builder.rs`, `sparse/set_dict.rs`, and `sparse/append.rs`.
|
||||||
|
- Updated `matrix_builder.rs` and `mem_builder.rs` to support detached memory columns and compression.
|
||||||
|
- **Merge Operations**: Added `MergeSpec` struct and updated `merge_partition` to utilize it. Introduced `Target`, `Output`, and `Group` structs in `partition_merge/output.rs` for managing merge output states.
|
||||||
|
- **Documentation**: Added `DevDocMD/implementation/merge.md` detailing sparse presence output behavior.
|
||||||
|
- **Tests**: Added tests for sparse append and merge operations in `obicompactvec` and `obikmerge`.
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# Release Notes for obiskim (Rust k-mer genomics tool), version 1.4.12
|
||||||
|
|
||||||
|
## Internal
|
||||||
|
|
||||||
|
- Bumped package version to 1.4.12.
|
||||||
|
- Pinned the macOS cross-compilation Docker image to `rustcrossosx:1.100.0` in the release workflow.
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
# K-mer size
|
# K-mer size
|
||||||
|
|
||||||
A k-mer is a DNA sequence of length $k$. OBIKmer is designed to index
|
A k-mer is a DNA sequence of length $k$. obiskim is designed to index
|
||||||
large k-mers. Here, *large* refers to a k-mer length for which the
|
large k-mers. Here, *large* refers to a k-mer length for which the
|
||||||
probability of observing the same k-mer in several genomes by chance
|
probability of observing the same k-mer in several genomes by chance
|
||||||
alone is sufficiently small. The k-mer length must therefore be large
|
alone is sufficiently small. The k-mer length must therefore be large
|
||||||
@@ -8,14 +8,14 @@ enough that, when a k-mer is observed in several genomes of the dataset,
|
|||||||
the probability that this shared occurrence is due to chance alone is
|
the probability that this shared occurrence is due to chance alone is
|
||||||
sufficiently low for the match to be considered evidence of homology.
|
sufficiently low for the match to be considered evidence of homology.
|
||||||
|
|
||||||
OBIKmer restricts $k$ to odd values in the range
|
obiskim restricts $k$ to odd values in the range
|
||||||
|
|
||||||
$$
|
$$
|
||||||
11 \leq k \leq 31.
|
11 \leq k \leq 31.
|
||||||
$$
|
$$
|
||||||
|
|
||||||
These limits result from two different considerations. The upper bound
|
These limits result from two different considerations. The upper bound
|
||||||
is imposed by the representation used by OBIKmer, whereas the lower
|
is imposed by the representation used by obiskim, whereas the lower
|
||||||
bound defines a practical range of k-mer lengths for genome-scale
|
bound defines a practical range of k-mer lengths for genome-scale
|
||||||
sequence comparisons. This range covers most practical applications: the
|
sequence comparisons. This range covers most practical applications: the
|
||||||
lower limit is well below the k-mer size that can be considered large,
|
lower limit is well below the k-mer size that can be considered large,
|
||||||
@@ -25,8 +25,8 @@ involving very large genomes.
|
|||||||
|
|
||||||
## Representation limit
|
## Representation limit
|
||||||
|
|
||||||
OBIKmer uses two bits to encode each nucleotide. Therefore, a k-mer
|
obiskim uses two bits to encode each nucleotide. Therefore, a k-mer
|
||||||
requires $2k$ bits. To ensure computational efficiency, OBIKmer limits
|
requires $2k$ bits. To ensure computational efficiency, obiskim limits
|
||||||
the representation of k-mers to a single 64-bit word, thereby
|
the representation of k-mers to a single 64-bit word, thereby
|
||||||
restricting their length.
|
restricting their length.
|
||||||
|
|
||||||
@@ -35,12 +35,12 @@ $$
|
|||||||
$$
|
$$
|
||||||
|
|
||||||
This gives the hard representation limit: $k \leq 32.$ Furthermore,
|
This gives the hard representation limit: $k \leq 32.$ Furthermore,
|
||||||
OBIKmer only considers odd values of $k$, meaning the largest supported
|
obiskim only considers odd values of $k$, meaning the largest supported
|
||||||
k-mer size is $31$.
|
k-mer size is $31$.
|
||||||
|
|
||||||
## Odd k-mer lengths
|
## Odd k-mer lengths
|
||||||
|
|
||||||
OBIKmer additionally requires $k$ to be odd. This constraint is
|
obiskim additionally requires $k$ to be odd. This constraint is
|
||||||
independent of the specificity considerations discussed below.
|
independent of the specificity considerations discussed below.
|
||||||
|
|
||||||
For an odd-length DNA sequence, a k-mer cannot be identical to its own
|
For an odd-length DNA sequence, a k-mer cannot be identical to its own
|
||||||
@@ -56,7 +56,7 @@ $$
|
|||||||
|
|
||||||
is well defined for both odd and even lengths. Restricting $k$ to odd
|
is well defined for both odd and even lengths. Restricting $k$ to odd
|
||||||
values guarantees that the two orientations are always distinct,
|
values guarantees that the two orientations are always distinct,
|
||||||
simplifying the representation and orientation handling used by OBIKmer.
|
simplifying the representation and orientation handling used by obiskim.
|
||||||
|
|
||||||
## K-mer specificity
|
## K-mer specificity
|
||||||
|
|
||||||
@@ -95,7 +95,7 @@ The following section introduces a random-sequence model to quantify the probabi
|
|||||||
|
|
||||||
## Chance sharing across genomes
|
## Chance sharing across genomes
|
||||||
|
|
||||||
OBIKmer indexes distinct canonical k-mers and records the genomes in
|
obiskim indexes distinct canonical k-mers and records the genomes in
|
||||||
which each k-mer occurs. This makes it possible to compare the observed
|
which each k-mer occurs. This makes it possible to compare the observed
|
||||||
sharing of k-mers with the sharing expected under a random-sequence
|
sharing of k-mers with the sharing expected under a random-sequence
|
||||||
model. The same probability model can be used for two related purposes:
|
model. The same probability model can be used for two related purposes:
|
||||||
@@ -109,7 +109,7 @@ The null hypothesis assumes that the $S$ indexed genomes are unrelated
|
|||||||
and that each genome is an independent random sequence in which
|
and that each genome is an independent random sequence in which
|
||||||
nucleotides are independent and equiprobable.
|
nucleotides are independent and equiprobable.
|
||||||
|
|
||||||
Since OBIKmer uses odd-length canonical k-mers, reverse-complement
|
Since obiskim uses odd-length canonical k-mers, reverse-complement
|
||||||
canonicalization reduces the number of possible k-mers by half. The size
|
canonicalization reduces the number of possible k-mers by half. The size
|
||||||
of the canonical k-mer space is therefore
|
of the canonical k-mer space is therefore
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
The **minimizer** of a k-mer is the canonical form of the m-mer that is smallest according to a chosen ordering among the $k-m+1$ overlapping m-mers contained in the k-mer, with $m<k$ [@Roberts2004-rz]. Canonical form is the same operation defined for a full kmer (see [DNA encoding](encoding.md)), applied here to an m-mer $s$ instead: $s^c = \min_{\mathrm{lex}}\left(s,\operatorname{RC}(s)\right)$.
|
The **minimizer** of a k-mer is the canonical form of the m-mer that is smallest according to a chosen ordering among the $k-m+1$ overlapping m-mers contained in the k-mer, with $m<k$ [@Roberts2004-rz]. Canonical form is the same operation defined for a full kmer (see [DNA encoding](encoding.md)), applied here to an m-mer $s$ instead: $s^c = \min_{\mathrm{lex}}\left(s,\operatorname{RC}(s)\right)$.
|
||||||
|
|
||||||
In **OBIkmer**, canonical m-mers are ordered according to a deterministic hash function $H$ applied to their canonical form:
|
In **obiskim**, canonical m-mers are ordered according to a deterministic hash function $H$ applied to their canonical form:
|
||||||
|
|
||||||
$$
|
$$
|
||||||
s_1^c <_h s_2^c
|
s_1^c <_h s_2^c
|
||||||
|
|||||||
+5
-5
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>obikmer — User Guide</title>
|
<title>obiskim — User Guide</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="/." title="obikmer — User Guide" class="md-header__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="/." title="obiskim — User Guide" class="md-header__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -129,13 +129,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="/." title="obikmer — User Guide" class="md-nav__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="/." title="obiskim — User Guide" class="md-nav__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Architecture notes - obikmer — User Guide</title>
|
<title>Architecture notes - obiskim — User Guide</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href=".." title="obikmer — User Guide" class="md-header__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href=".." title="obiskim — User Guide" class="md-header__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -136,13 +136,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href=".." title="obikmer — User Guide" class="md-nav__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href=".." title="obiskim — User Guide" class="md-nav__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -1573,7 +1573,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<h1 id="architecture-notes-for-advanced-use">Architecture notes for advanced use</h1>
|
<h1 id="architecture-notes-for-advanced-use">Architecture notes for advanced use</h1>
|
||||||
<p>This page describes execution-level behavior relevant to sizing and running <code>obikmer</code> on large datasets or multi-socket machines. It complements the <a href="../formats/index_layout/">index format</a> and <a href="../theory/kmer_indexing/indexing_architecture/">theory</a> pages.</p>
|
<p>This page describes execution-level behavior relevant to sizing and running <code>obiskim</code> on large datasets or multi-socket machines. It complements the <a href="../formats/index_layout/">index format</a> and <a href="../theory/kmer_indexing/indexing_architecture/">theory</a> pages.</p>
|
||||||
<h2 id="sequence-invariant">Sequence invariant</h2>
|
<h2 id="sequence-invariant">Sequence invariant</h2>
|
||||||
<p>Every input sequence is treated purely as a compact representation of a set of overlapping kmers:</p>
|
<p>Every input sequence is treated purely as a compact representation of a set of overlapping kmers:</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Index construction and on-disk layout - obikmer — User Guide</title>
|
<title>Index construction and on-disk layout - obiskim — User Guide</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer — User Guide" class="md-header__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../.." title="obiskim — User Guide" class="md-header__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer — User Guide" class="md-nav__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../.." title="obiskim — User Guide" class="md-nav__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -1580,46 +1580,55 @@
|
|||||||
<h2 id="construction-pipeline">Construction pipeline</h2>
|
<h2 id="construction-pipeline">Construction pipeline</h2>
|
||||||
<p>Building an index (<a href="../../usage/index_command/"><code>index</code></a>) proceeds through a fixed sequence of phases, each operating independently per partition (see <a href="../../theory/kmer_indexing/indexing_architecture/">Partitioning and indexing architecture</a>):</p>
|
<p>Building an index (<a href="../../usage/index_command/"><code>index</code></a>) proceeds through a fixed sequence of phases, each operating independently per partition (see <a href="../../theory/kmer_indexing/indexing_architecture/">Partitioning and indexing architecture</a>):</p>
|
||||||
<ol>
|
<ol>
|
||||||
<li><strong>Scatter.</strong> A single streaming pass over the input. Each sequence fragment is cut at non-ACGT bases, passed through the low-complexity entropy filter (see <a href="../../theory/kmer_indexing/entropy_filter/">Low-complexity kmer filter</a>), and any resulting segment shorter than k is dropped. Surviving segments are decomposed into super-kmers, canonicalized, and routed by <code>hash(minimizer) mod n_partitions</code> into one file per partition.</li>
|
<li><strong>Scatter.</strong> A single streaming pass over the input. Each sequence fragment is cut at non-ACGT bases, passed through the low-complexity entropy filter (see <a href="../../theory/kmer_indexing/entropy_filter/">Low-complexity kmer filter</a>), and any resulting segment shorter than k is dropped. Surviving segments are decomposed into super-kmers, canonicalized, and routed by <code>hash(minimizer) mod n_partitions</code> into one file per partition. The number of partitions is always a power of two, so this routing amounts to keeping the low bits of the hash.</li>
|
||||||
<li><strong>Dereplication.</strong> Within each partition, identical super-kmer sequences are merged and their occurrence counts summed. This count is per super-kmer, not per kmer — a kmer's true abundance is the sum of the counts of every super-kmer containing it.</li>
|
<li><strong>Dereplication.</strong> Within each partition, identical super-kmer sequences are merged and their occurrence counts summed. This count is per super-kmer, not per kmer — a kmer's true abundance is the sum of the counts of every super-kmer containing it.</li>
|
||||||
<li><strong>Exact counting.</strong> Every kmer in every dereplicated super-kmer is enumerated and its exact total count computed. A per-genome kmer frequency spectrum is produced at this stage.</li>
|
<li><strong>Exact counting.</strong> Every kmer in every dereplicated super-kmer is enumerated and its exact total count computed. To accumulate these counts, a provisional minimal perfect hash function is built over the distinct kmers of the partition and a temporary count file is filled through it. Both are working files: they are deleted at the end of the build unless <code>--keep-intermediate</code> is given. A per-genome kmer frequency spectrum is produced at this stage, from the counts as they are before any abundance filtering.</li>
|
||||||
<li><strong>Quorum filtering.</strong> Kmers outside the <code>--min-abundance</code>/<code>--max-abundance</code> range are dropped, and super-kmers are recompacted around the surviving kmer set.</li>
|
<li><strong>Quorum filtering and local assembly.</strong> The kmers of the dereplicated super-kmers are fed one by one into a local de Bruijn graph of the partition. A kmer whose count falls outside the <code>--min-abundance</code>/<code>--max-abundance</code> range is dropped at this point, and never enters the graph; the super-kmers themselves are not rewritten. The kmers that remain are assembled into unitigs — maximal non-branching runs of the graph — such that every kmer appears exactly once, at one (unitig, offset) location.</li>
|
||||||
<li><strong>Local assembly.</strong> The surviving kmers of each partition are assembled into unitigs — maximal non-branching runs of a local de Bruijn graph — such that every kmer appears exactly once, at one (unitig, offset) location.</li>
|
<li><strong>MPHF and evidence construction.</strong> The final minimal perfect hash function is built over the canonical kmers that survived, together with the evidence structure needed to verify that a queried kmer was genuinely indexed (see below). Per-genome counts or presence bits are recorded alongside if requested; the counts come from the counting phase.</li>
|
||||||
<li><strong>MPHF and evidence construction.</strong> A minimal perfect hash function is built over the canonical kmers of each partition, together with the evidence structure needed to verify that a queried kmer was genuinely indexed (see below). Per-genome counts or presence bits are recorded alongside if requested.</li>
|
|
||||||
</ol>
|
</ol>
|
||||||
<p>Phases 1–5 are independent per partition and run in parallel; phase 6 finalizes each partition once its kmer set is fixed.</p>
|
<p>Within each phase, the partitions are independent of one another and are processed in parallel. The phases themselves follow one another over the whole index, and the index records in its <code>index.meta</code> file how far the build has gone (after scatter, after counting, and when fully built). A build that was interrupted can therefore be resumed: the phases already completed are skipped.</p>
|
||||||
<h2 id="minimal-perfect-hash-function-mphf">Minimal perfect hash function (MPHF)</h2>
|
<h2 id="minimal-perfect-hash-function-mphf">Minimal perfect hash function (MPHF)</h2>
|
||||||
<p>Each partition's surviving kmers are mapped to a dense range of integer slots by a minimal perfect hash function: no collisions, near-optimal space (a few bits per key), O(1) lookup. Because an MPHF maps <em>any</em> input to some slot — including kmers that were never indexed — a lookup alone cannot distinguish a genuinely indexed kmer from an arbitrary one; every lookup is followed by an evidence check.</p>
|
<p>Each partition's surviving kmers are mapped to a dense range of integer slots by a minimal perfect hash function: no collisions, near-optimal space (a few bits per key), O(1) lookup. Because an MPHF maps <em>any</em> input to some slot — including kmers that were never indexed — a lookup alone cannot distinguish a genuinely indexed kmer from an arbitrary one; every lookup is followed by an evidence check.</p>
|
||||||
<h2 id="evidence-exact-vs-approximate">Evidence: exact vs. approximate</h2>
|
<h2 id="evidence-exact-vs-approximate">Evidence: exact vs. approximate</h2>
|
||||||
<p>Two verification modes are available, selected at build time (<code>index --approx</code>) and convertible afterwards (<a href="../../usage/convert/"><code>convert</code></a>):</p>
|
<p>Three verification modes exist. The exact and approximate modes are selected at build time (<code>index --approx</code>), and any of the three can be reached afterwards with <a href="../../usage/convert/"><code>convert</code></a>:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>Exact</strong> (default): the hashed slot stores a pointer back into the partition's unitig data. At query time the kmer is reconstructed from that location and compared directly to the query. Zero false positives, at the cost of one extra random read per lookup.</li>
|
<li><strong>Exact</strong> (default): the hashed slot stores a pointer back into the partition's unitig data. At query time the kmer is reconstructed from that location and compared directly to the query. Zero false positives, at the cost of one extra random read per lookup.</li>
|
||||||
<li><strong>Approximate</strong> (<code>--approx</code>): the slot stores a short fingerprint (<code>--evidence-bits</code> bits) instead of a pointer; verification is a single fingerprint comparison. This trades a small, bounded false-positive rate (<span class="arithmatex">\(1/2^b\)</span> per kmer, reduced further to about <span class="arithmatex">\(1/2^{b \cdot z}\)</span> for a read requiring <span class="arithmatex">\(z\)</span> consecutive matching kmers via the <code>-z</code>/<code>--findere-z</code> parameter) for lower memory and disk usage, since no reconstruction index is needed. See <a href="../../usage/estimate/"><code>estimate</code></a> to explore this trade-off before building.</li>
|
<li><strong>Approximate</strong> (<code>--approx</code>): the slot stores a short fingerprint (<code>--evidence-bits</code> bits) instead of a pointer; verification is a single fingerprint comparison. This trades a small, bounded false-positive rate (<span class="arithmatex">\(1/2^b\)</span> per kmer, reduced further to about <span class="arithmatex">\(1/2^{b \cdot z}\)</span> for a read requiring <span class="arithmatex">\(z\)</span> consecutive matching kmers via the <code>-z</code>/<code>--findere-z</code> parameter) for lower memory and disk usage, since no reconstruction index is needed. See <a href="../../usage/estimate/"><code>estimate</code></a> to explore this trade-off before building.</li>
|
||||||
|
<li><strong>Hybrid</strong> (<code>convert --hybrid-evidence</code>): both the fingerprint and the exact evidence are kept. A lookup uses the fingerprint, which is fast and approximate, while the exact evidence remains stored alongside it.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2 id="on-disk-layout">On-disk layout</h2>
|
<h2 id="on-disk-layout">On-disk layout</h2>
|
||||||
<div class="highlight"><pre><span></span><code><index_root>/
|
<div class="highlight"><pre><span></span><code>📁 <index_root>/
|
||||||
index.meta global configuration (k, minimizer size, partition count,
|
├── 📄 index.meta configuration (k, minimizer size, partition count,
|
||||||
evidence mode, whether counts are stored) and genome list/metadata
|
│ evidence mode, counts stored or not), genome list
|
||||||
scatter.done / count.done / index.done build-progress sentinels
|
│ and metadata, build state (empty, scattered,
|
||||||
spectrums/<label>.json per-genome kmer frequency histogram
|
│ counted, indexed)
|
||||||
partitions/
|
├── 📄 .obiskim.lock lock files: commands that read the index share it,
|
||||||
part_00000/ ... part_NNNNN/
|
├── 📄 .obiskim.gate commands that write into it hold it exclusively
|
||||||
index/
|
├── 📁 spectrums/
|
||||||
meta.json number of layers in this partition
|
│ └── 📄 <label>.json per-genome kmer frequency histogram
|
||||||
layer_0/
|
└── 📁 partitions/
|
||||||
unitigs.bin reconstructible kmer sequence data — always kept
|
├── 📁 part_00000/
|
||||||
unitigs.bin.idx random-access index into unitigs.bin (exact evidence only)
|
│ └── 📁 index/
|
||||||
mphf.bin the minimal perfect hash function
|
│ ├── 📁 layer_0/
|
||||||
evidence.bin exact evidence (exact mode only)
|
│ │ ├── 📄 layer_meta.json number of kmers in this layer
|
||||||
fingerprint.bin approximate evidence (approximate mode only)
|
│ │ ├── 📄 unitigs.bin reconstructible kmer sequence data — always kept
|
||||||
counts/ per-genome kmer counts (if counts were requested)
|
│ │ ├── 📄 unitigs.bin.idx random access into unitigs.bin (exact, hybrid)
|
||||||
presence/ per-genome presence/absence bits
|
│ │ ├── 📄 mphf.bin the minimal perfect hash function
|
||||||
layer_1/, layer_2/, ... added by later merges, same internal structure
|
│ │ ├── 📄 evidence.bin exact evidence (exact, hybrid)
|
||||||
|
│ │ ├── 📄 fingerprint.bin approximate evidence (approximate, hybrid)
|
||||||
|
│ │ ├── 📁 counts/ per-genome kmer counts (if requested)
|
||||||
|
│ │ └── 📁 presence/ per-genome presence/absence bits
|
||||||
|
│ └── 📁 layer_1/, layer_2/, … added by later merges, same structure
|
||||||
|
├── 📁 part_00001/
|
||||||
|
│ └── …
|
||||||
|
└── 📁 part_NNNNN/
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
|
<p>The build state is stored in <code>index.meta</code> and not in separate marker files: it is what allows an interrupted build to resume. The number of layers of a partition is not stored anywhere either; it is found by looking for <code>layer_0</code>, <code>layer_1</code>, ... until one is missing. A partition that received no kmer at all (which happens with small inputs and many partitions) has no layer on disk.</p>
|
||||||
|
<p>The matrix directory of a layer, <code>counts/</code> or <code>presence/</code>, exists in three forms, which hold the same information. A freshly built index stores one file per genome, with a small metadata file (for counts, <code>col_000000.pciv</code>, <code>col_000001.pciv</code>, ... and <code>meta.json</code>). The dense packed form, produced by <a href="../../usage/pack/"><code>pack</code></a>, stores the whole matrix in a single file. The sparse packed form, produced by <code>pack --sparse</code> and, by default, by <a href="../../usage/merge/"><code>merge</code></a>, stores for each kmer only the list of genomes that carry it, with the lists shared between kmers deduplicated (for counts, the directory then holds files such as <code>dict_values.bin</code>, <code>singleton.pfiv</code>, <code>multi.pfiv</code> and <code>sparse_meta.json</code>). Which form a layer uses is detected from the files found in the directory.</p>
|
||||||
<p><code>unitigs.bin</code> is the only file from which the indexed kmer content can be fully recovered; it is always retained. Every other file (MPHF, evidence, counts) is derived from it.</p>
|
<p><code>unitigs.bin</code> is the only file from which the indexed kmer content can be fully recovered; it is always retained. Every other file (MPHF, evidence, counts) is derived from it.</p>
|
||||||
<p>A <strong>layer</strong> corresponds to one increment of kmer content added to a partition — most commonly, one <a href="../../usage/merge/"><code>merge</code></a> operation that introduces kmers not already present in the index. Genomes already present in the index simply gain new columns in the existing layers' count/presence data; only genuinely new kmer content is assembled into a new layer. Because of this, merging cost scales with the novel kmer content being added, not with the accumulated size of the index. A query against an index with several layers checks each layer's MPHF in turn.</p>
|
<p>A <strong>layer</strong> corresponds to one increment of kmer content added to a partition — most commonly, one <a href="../../usage/merge/"><code>merge</code></a> operation that introduces kmers not already present in the index. The genomes of the merged sources are added as new columns to the count/presence data of the existing layers; only genuinely new kmer content, that is kmers absent from every existing layer of the partition, is assembled into a new layer. A kmer therefore belongs to exactly one layer of its partition. Because of this, merging cost scales with the novel kmer content being added, not with the accumulated size of the index. A query against an index with several layers checks each layer's MPHF in turn.</p>
|
||||||
<p>Sources merged together must share the same kmer size, minimizer size, partition count, and evidence mode (including matching approximate-mode parameters); mismatches are rejected rather than silently reconciled — <a href="../../usage/convert/"><code>convert</code></a> one of the sources first if needed.</p>
|
<p>Sources merged together must share the same kmer size, minimizer size and partition count; any mismatch is rejected rather than silently reconciled. The evidence mode, on the other hand, may differ between sources: as soon as one source is approximate or hybrid, the destination is chosen among the approximate or hybrid sources, and the merged index takes its evidence mode. A count merge additionally requires every source to store counts. Finally, an index whose matrices are already packed, which includes any merge output, can be merged in as a source but not used as the destination, so at least one source must still be unpacked.</p>
|
||||||
<p><code>obikmer pack</code> consolidates a partition's per-column files (counts/presence) into a single file, reducing the number of file opens needed at query time.</p>
|
<p><a href="../../usage/pack/"><code>pack</code></a> consolidates a partition's per-column files (counts/presence) into a single file, reducing the number of file opens needed at query time; with <code>--sparse</code>, it also switches to the sparse form described above.</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+14
-14
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>VCF pseudo-alignment - obikmer — User Guide</title>
|
<title>VCF pseudo-alignment - obiskim — User Guide</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../.." title="obikmer — User Guide" class="md-header__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../.." title="obiskim — User Guide" class="md-header__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../.." title="obikmer — User Guide" class="md-nav__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../.." title="obiskim — User Guide" class="md-nav__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -1748,26 +1748,26 @@
|
|||||||
<p>The pseudo-alignment (see <a href="../../theory/phylogeny/snp_based/central_snp_model/">Central-position SNP model</a>) has one column per <em>family</em>: the up to four k-mers that share all their bases except the central one. A genome that carries one of these k-mers shows a particular base at the centre, and the columns of the alignment are those central bases, genome by genome. The FASTA output keeps this as a matrix of letters. The VCF output lists the same columns as sites with alleles and genotypes, which is the form that variant-oriented tools (<code>bcftools</code>, population-genetics software, genotype viewers) expect.</p>
|
<p>The pseudo-alignment (see <a href="../../theory/phylogeny/snp_based/central_snp_model/">Central-position SNP model</a>) has one column per <em>family</em>: the up to four k-mers that share all their bases except the central one. A genome that carries one of these k-mers shows a particular base at the centre, and the columns of the alignment are those central bases, genome by genome. The FASTA output keeps this as a matrix of letters. The VCF output lists the same columns as sites with alleles and genotypes, which is the form that variant-oriented tools (<code>bcftools</code>, population-genetics software, genotype viewers) expect.</p>
|
||||||
<p>Nothing here comes from a reference genome. The file has no real coordinates, and the sites are not located on a chromosome: the positions below are labels that make the file valid and reproducible, not map positions.</p>
|
<p>Nothing here comes from a reference genome. The file has no real coordinates, and the sites are not located on a chromosome: the positions below are labels that make the file valid and reproducible, not map positions.</p>
|
||||||
<h2 id="producing-the-file">Producing the file</h2>
|
<h2 id="producing-the-file">Producing the file</h2>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer phylo --vcf --n-sites 5000000 -o run1 my_index
|
<div class="highlight"><pre><span></span><code>obiskim phylo --vcf --n-sites 5000000 -o run1 my_index
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p><code>--vcf</code> implies <code>--pseudo-alignment</code>, so <code>--n-sites N|all</code> is required, (the sibling annex it reads is built automatically if missing; see <a href="../../usage/phylo/"><code>phylo</code></a>). <code>--fasta</code> and <code>--vcf</code> can be given together to get both files from the same draw; with neither, only the FASTA is written. Every option that shapes the draw (<code>--free-loss</code>, <code>--no-ambiguity</code>, <code>--only-diploid</code>, <code>--quartet</code>, <code>--exclude-genome</code>, ...) applies to the VCF exactly as to the FASTA, since both describe the same sites.</p>
|
<p><code>--vcf</code> implies <code>--pseudo-alignment</code>, so <code>--n-sites N|all</code> is required, (the sibling annex it reads is built automatically if missing; see <a href="../../usage/phylo/"><code>phylo</code></a>). <code>--fasta</code> and <code>--vcf</code> can be given together to get both files from the same draw; with neither, only the FASTA is written. Every option that shapes the draw (<code>--free-loss</code>, <code>--no-ambiguity</code>, <code>--only-diploid</code>, <code>--quartet</code>, <code>--exclude-genome</code>, ...) applies to the VCF exactly as to the FASTA, since both describe the same sites.</p>
|
||||||
<h2 id="layout">Layout</h2>
|
<h2 id="layout">Layout</h2>
|
||||||
<p>An illustrative excerpt (columns are tab-separated in the file):</p>
|
<p>An illustrative excerpt (columns are tab-separated in the file):</p>
|
||||||
<div class="highlight"><pre><span></span><code>##fileformat=VCFv4.5
|
<div class="highlight"><pre><span></span><code>##fileformat=VCFv4.5
|
||||||
##source=obikmer
|
##source=obiskim
|
||||||
##contig=<ID=obikmer_0_0>
|
##contig=<ID=obiskim_0_0>
|
||||||
##contig=<ID=obikmer_0_1>
|
##contig=<ID=obiskim_0_1>
|
||||||
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype (diploid)">
|
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype (diploid)">
|
||||||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT idx0 idx1 idx2 idx3
|
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT idx0 idx1 idx2 idx3
|
||||||
obikmer_0_0 440 CGATTNGTTAA A G . . . GT 0/0 1/1 0/0 0/0
|
obiskim_0_0 440 CGATTNGTTAA A G . . . GT 0/0 1/1 0/0 0/0
|
||||||
obikmer_0_0 1511 CACGANTGTAG A G,T . . . GT 0/0 0/0 1/1 2/2
|
obiskim_0_0 1511 CACGANTGTAG A G,T . . . GT 0/0 0/0 1/1 2/2
|
||||||
obikmer_0_1 9 TTACGNAGCTA C * . . . GT 0/0 0/0 1/1 0/0
|
obiskim_0_1 9 TTACGNAGCTA C * . . . GT 0/0 0/0 1/1 0/0
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>There is one sample column per genome that takes part in the draw, named after the genome label, in the index's own order. A genome removed with <code>--exclude-genome</code> or <code>--min-shared-family</code> has no column at all. <code>QUAL</code>, <code>FILTER</code> and <code>INFO</code> are always <code>.</code>: obikmer applies no variant filter and attaches no annotation, and leaving them empty keeps a file of millions of sites compact.</p>
|
<p>There is one sample column per genome that takes part in the draw, named after the genome label, in the index's own order. A genome removed with <code>--exclude-genome</code> or <code>--min-shared-family</code> has no column at all. <code>QUAL</code>, <code>FILTER</code> and <code>INFO</code> are always <code>.</code>: obiskim applies no variant filter and attaches no annotation, and leaving them empty keeps a file of millions of sites compact.</p>
|
||||||
<h2 id="coordinates-chrom-and-pos">Coordinates: <code>CHROM</code> and <code>POS</code></h2>
|
<h2 id="coordinates-chrom-and-pos">Coordinates: <code>CHROM</code> and <code>POS</code></h2>
|
||||||
<p>An index is organised in partitions, and each partition holds one or more layers of k-mers (see <a href="../index_layout/">Index construction and on-disk layout</a>). A family always belongs to exactly one layer of one partition, and the families of a layer are visited in a fixed order. The VCF uses that structure as coordinates:</p>
|
<p>An index is organised in partitions, and each partition holds one or more layers of k-mers (see <a href="../index_layout/">Index construction and on-disk layout</a>). A family always belongs to exactly one layer of one partition, and the families of a layer are visited in a fixed order. The VCF uses that structure as coordinates:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>CHROM</code> is <code>obikmer_<partition>_<layer></code>, one virtual contig per layer of each partition in which at least one site was drawn;</li>
|
<li><code>CHROM</code> is <code>obiskim_<partition>_<layer></code>, one virtual contig per layer of each partition in which at least one site was drawn;</li>
|
||||||
<li><code>POS</code> is the rank of the family inside that layer, starting at 1.</li>
|
<li><code>POS</code> is the rank of the family inside that layer, starting at 1.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>For a given index and a given sibling annex, a family therefore always receives the same <code>CHROM</code> and <code>POS</code>, whatever the draw, the options or the number of sites requested. Two runs on the same index can be compared position by position. This stability is lost if the sibling annex is rebuilt, or if the index is rebuilt, merged or filtered, because the families are then enumerated again. Positions are never comparable between two different indexes; use <code>ID</code> for that. Even rebuilding an index from the very same genomes may enumerate the families in another order: on a small test index built twice from identical input, the family <code>CGATTNGTTAA</code> had <code>POS</code> 440 the first time and 371 the second, with the same <code>ID</code>.</p>
|
<p>For a given index and a given sibling annex, a family therefore always receives the same <code>CHROM</code> and <code>POS</code>, whatever the draw, the options or the number of sites requested. Two runs on the same index can be compared position by position. This stability is lost if the sibling annex is rebuilt, or if the index is rebuilt, merged or filtered, because the families are then enumerated again. Positions are never comparable between two different indexes; use <code>ID</code> for that. Even rebuilding an index from the very same genomes may enumerate the families in another order: on a small test index built twice from identical input, the family <code>CGATTNGTTAA</code> had <code>POS</code> 440 the first time and 371 the second, with the same <code>ID</code>.</p>
|
||||||
|
|||||||
+9
-9
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>obikmer — User Guide</title>
|
<title>obiskim — User Guide</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
<div data-md-component="skip">
|
<div data-md-component="skip">
|
||||||
|
|
||||||
|
|
||||||
<a href="#obikmer" class="md-skip">
|
<a href="#obiskim" class="md-skip">
|
||||||
Skip to content
|
Skip to content
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="." title="obikmer — User Guide" class="md-header__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="." title="obiskim — User Guide" class="md-header__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -136,13 +136,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="." title="obikmer — User Guide" class="md-nav__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="." title="obiskim — User Guide" class="md-nav__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -1616,9 +1616,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 id="obikmer">obikmer</h1>
|
<h1 id="obiskim">obiskim</h1>
|
||||||
<p><code>obikmer</code> is a command-line tool for counting, indexing, querying and comparing DNA sequences represented as kmer sets. It targets individual genome datasets of tens of gigabases, with an emphasis on computational, memory, and disk efficiency.</p>
|
<p><code>obiskim</code> is a command-line tool for counting, indexing, querying and comparing DNA sequences represented as kmer sets. It targets individual genome datasets of tens of gigabases, with an emphasis on computational, memory, and disk efficiency.</p>
|
||||||
<p>All functionality is exposed through a single binary, <code>obikmer</code>, organized as subcommands.</p>
|
<p>All functionality is exposed through a single binary, <code>obiskim</code>, organized as subcommands.</p>
|
||||||
<h2 id="core-principles">Core principles</h2>
|
<h2 id="core-principles">Core principles</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Kmers are of fixed, odd length <span class="arithmatex">\(k\)</span>, chosen at index-construction time in the range <span class="arithmatex">\([11, 31]\)</span> (see <a href="theory/kmer_indexing/kmers/">Kmers</a>).</li>
|
<li>Kmers are of fixed, odd length <span class="arithmatex">\(k\)</span>, chosen at index-construction time in the range <span class="arithmatex">\([11, 31]\)</span> (see <a href="theory/kmer_indexing/kmers/">Kmers</a>).</li>
|
||||||
|
|||||||
+11
-11
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Installation - obikmer — User Guide</title>
|
<title>Installation - obiskim — User Guide</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href=".." title="obikmer — User Guide" class="md-header__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href=".." title="obiskim — User Guide" class="md-header__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href=".." title="obikmer — User Guide" class="md-nav__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href=".." title="obiskim — User Guide" class="md-nav__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -1767,12 +1767,12 @@
|
|||||||
<h1 id="installation">Installation</h1>
|
<h1 id="installation">Installation</h1>
|
||||||
<h2 id="prerequisites">Prerequisites</h2>
|
<h2 id="prerequisites">Prerequisites</h2>
|
||||||
<h3 id="rust-toolchain">Rust toolchain</h3>
|
<h3 id="rust-toolchain">Rust toolchain</h3>
|
||||||
<p><code>obikmer</code> requires <strong>Rust 1.85 or later</strong> (edition 2024). Install or update via <a href="https://rustup.rs">rustup</a>:</p>
|
<p><code>obiskim</code> requires <strong>Rust 1.85 or later</strong> (edition 2024). Install or update via <a href="https://rustup.rs">rustup</a>:</p>
|
||||||
<div class="highlight"><pre><span></span><code>curl<span class="w"> </span>--proto<span class="w"> </span><span class="s1">'=https'</span><span class="w"> </span>--tlsv1.2<span class="w"> </span>-sSf<span class="w"> </span>https://sh.rustup.rs<span class="w"> </span><span class="p">|</span><span class="w"> </span>sh
|
<div class="highlight"><pre><span></span><code>curl<span class="w"> </span>--proto<span class="w"> </span><span class="s1">'=https'</span><span class="w"> </span>--tlsv1.2<span class="w"> </span>-sSf<span class="w"> </span>https://sh.rustup.rs<span class="w"> </span><span class="p">|</span><span class="w"> </span>sh
|
||||||
rustup<span class="w"> </span>update<span class="w"> </span>stable
|
rustup<span class="w"> </span>update<span class="w"> </span>stable
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<h3 id="c-build-environment-required-for-hwloc">C build environment (required for hwloc)</h3>
|
<h3 id="c-build-environment-required-for-hwloc">C build environment (required for hwloc)</h3>
|
||||||
<p><code>obikmer</code> embeds <a href="https://www.open-mpi.org/projects/hwloc/">hwloc</a> (Hardware Locality) for NUMA-aware thread placement on multi-socket machines. hwloc is built from source at compile time, which requires a standard C build environment.</p>
|
<p><code>obiskim</code> embeds <a href="https://www.open-mpi.org/projects/hwloc/">hwloc</a> (Hardware Locality) for NUMA-aware thread placement on multi-socket machines. hwloc is built from source at compile time, which requires a standard C build environment.</p>
|
||||||
<h4 id="linux-debianubuntu">Linux (Debian/Ubuntu)</h4>
|
<h4 id="linux-debianubuntu">Linux (Debian/Ubuntu)</h4>
|
||||||
<div class="highlight"><pre><span></span><code>apt<span class="w"> </span>install<span class="w"> </span>build-essential<span class="w"> </span>automake<span class="w"> </span>libtool<span class="w"> </span>autoconf<span class="w"> </span>pkg-config
|
<div class="highlight"><pre><span></span><code>apt<span class="w"> </span>install<span class="w"> </span>build-essential<span class="w"> </span>automake<span class="w"> </span>libtool<span class="w"> </span>autoconf<span class="w"> </span>pkg-config
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
@@ -1789,17 +1789,17 @@ rustup<span class="w"> </span>update<span class="w"> </span>stable
|
|||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<h2 id="building">Building</h2>
|
<h2 id="building">Building</h2>
|
||||||
<div class="highlight"><pre><span></span><code>git<span class="w"> </span>clone<span class="w"> </span><repository-url>
|
<div class="highlight"><pre><span></span><code>git<span class="w"> </span>clone<span class="w"> </span><repository-url>
|
||||||
<span class="nb">cd</span><span class="w"> </span>obikmer/src
|
<span class="nb">cd</span><span class="w"> </span>obiskim/src
|
||||||
cargo<span class="w"> </span>build<span class="w"> </span>--release
|
cargo<span class="w"> </span>build<span class="w"> </span>--release
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>The compiled binary is at <code>target/release/obikmer</code>.</p>
|
<p>The compiled binary is at <code>target/release/obiskim</code>.</p>
|
||||||
<h3 id="building-on-hpc-clusters-network-filesystems">Building on HPC clusters (network filesystems)</h3>
|
<h3 id="building-on-hpc-clusters-network-filesystems">Building on HPC clusters (network filesystems)</h3>
|
||||||
<p>HPC home directories are typically on a network filesystem (Lustre, NFS) optimized for large sequential reads, not for the many small file operations Cargo generates during compilation. Building directly on such a filesystem can be extremely slow.</p>
|
<p>HPC home directories are typically on a network filesystem (Lustre, NFS) optimized for large sequential reads, not for the many small file operations Cargo generates during compilation. Building directly on such a filesystem can be extremely slow.</p>
|
||||||
<p>Redirect the build directory to a local scratch disk:</p>
|
<p>Redirect the build directory to a local scratch disk:</p>
|
||||||
<div class="highlight"><pre><span></span><code><span class="nv">CARGO_TARGET_DIR</span><span class="o">=</span>/scratch/<span class="nv">$USER</span>/cargo-target<span class="w"> </span>cargo<span class="w"> </span>build<span class="w"> </span>--release
|
<div class="highlight"><pre><span></span><code><span class="nv">CARGO_TARGET_DIR</span><span class="o">=</span>/scratch/<span class="nv">$USER</span>/cargo-target<span class="w"> </span>cargo<span class="w"> </span>build<span class="w"> </span>--release
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>Adapt the path to the scratch space available on your cluster (<code>/var/tmp</code>, <code>/tmp</code>, <code>/scratch/local</code>, etc.). Once built, copy the binary to a permanent location:</p>
|
<p>Adapt the path to the scratch space available on your cluster (<code>/var/tmp</code>, <code>/tmp</code>, <code>/scratch/local</code>, etc.). Once built, copy the binary to a permanent location:</p>
|
||||||
<div class="highlight"><pre><span></span><code>cp<span class="w"> </span>/scratch/<span class="nv">$USER</span>/cargo-target/release/obikmer<span class="w"> </span>~/bin/
|
<div class="highlight"><pre><span></span><code>cp<span class="w"> </span>/scratch/<span class="nv">$USER</span>/cargo-target/release/obiskim<span class="w"> </span>~/bin/
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<h2 id="numa-support">NUMA support</h2>
|
<h2 id="numa-support">NUMA support</h2>
|
||||||
<p>NUMA-aware thread placement is active automatically on multi-socket Linux machines, detected at runtime via hwloc. No build flag is required — it falls back gracefully to a single-pool strategy on:</p>
|
<p>NUMA-aware thread placement is active automatically on multi-socket Linux machines, detected at runtime via hwloc. No build flag is required — it falls back gracefully to a single-pool strategy on:</p>
|
||||||
@@ -1809,7 +1809,7 @@ cargo<span class="w"> </span>build<span class="w"> </span>--release
|
|||||||
<li>any system where hwloc reports only one NUMA node</li>
|
<li>any system where hwloc reports only one NUMA node</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2 id="verifying-the-installation">Verifying the installation</h2>
|
<h2 id="verifying-the-installation">Verifying the installation</h2>
|
||||||
<div class="highlight"><pre><span></span><code>obikmer<span class="w"> </span>--help
|
<div class="highlight"><pre><span></span><code>obiskim<span class="w"> </span>--help
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -857,3 +857,235 @@
|
|||||||
doi = "10.1214/aop/1176996461",
|
doi = "10.1214/aop/1176996461",
|
||||||
issn = "0091-1798,2168-894X"
|
issn = "0091-1798,2168-894X"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ARTICLE{Karlin1997-lm,
|
||||||
|
title = "{Compositional differences within and between eukaryotic genomes}",
|
||||||
|
author = "Karlin, S and Mrázek, J",
|
||||||
|
journal = "Proceedings of the National Academy of Sciences of the United
|
||||||
|
States of America",
|
||||||
|
publisher = "Proceedings of the National Academy of Sciences",
|
||||||
|
volume = 94,
|
||||||
|
number = 19,
|
||||||
|
pages = "10227--10232",
|
||||||
|
abstract = "Eukaryotic genome similarity relationships are inferred using
|
||||||
|
sequence information derived from large aggregates of genomic
|
||||||
|
sequences. Comparisons within and between species sample
|
||||||
|
sequences are based on the profile of dinucleotide relative
|
||||||
|
abundance values (The profile is ρ* XY = f * XY / f * X f * Y for
|
||||||
|
all XY , where f * X denotes the frequency of the nucleotide X
|
||||||
|
and f * XY denotes the frequency of the dinucleotide XY , both
|
||||||
|
computed from the sequence concatenated with its inverted
|
||||||
|
complement). Previous studies with respect to prokaryotes and
|
||||||
|
this study document that profiles of different DNA sequence
|
||||||
|
samples (sample size ≥50 kb) from the same organism are generally
|
||||||
|
much more similar to each other than they are to profiles from
|
||||||
|
other organisms, and that closely related organisms generally
|
||||||
|
have more similar profiles than do distantly related organisms.
|
||||||
|
On this basis we refer to the collection {ρ* XY } as the genome
|
||||||
|
signature . This paper identifies ρ* XY extremes and compares
|
||||||
|
genome signature differences for a diverse range of eukaryotic
|
||||||
|
species. Interpretations on the mechanisms maintaining these
|
||||||
|
profile differences center on genome-wide replication, repair,
|
||||||
|
DNA structures, and context-dependent mutational biases. It is
|
||||||
|
also observed that mitochondrial genome signature differences
|
||||||
|
between species parallel the corresponding nuclear genome
|
||||||
|
signature differences despite large differences between
|
||||||
|
corresponding mitochondrial and nuclear signatures. The genome
|
||||||
|
signature differences also have implications for contrasts
|
||||||
|
between rodents and other mammals, and between monocot and dicot
|
||||||
|
plants, as well as providing evidence for similarities among
|
||||||
|
fungi and the diversity of protists.",
|
||||||
|
month = sep,
|
||||||
|
year = 1997,
|
||||||
|
url = "http://dx.doi.org/10.1073/pnas.94.19.10227",
|
||||||
|
doi = "10.1073/pnas.94.19.10227",
|
||||||
|
pmc = "PMC23344",
|
||||||
|
pmid = 9294192,
|
||||||
|
issn = "0027-8424,1091-6490",
|
||||||
|
language = "en"
|
||||||
|
}
|
||||||
|
|
||||||
|
@ARTICLE{Karlin1997-vm,
|
||||||
|
title = "{Compositional biases of bacterial genomes and evolutionary
|
||||||
|
implications}",
|
||||||
|
author = "Karlin, S and Mrázek, J and Campbell, A M",
|
||||||
|
journal = "Journal of Bacteriology",
|
||||||
|
publisher = "American Society for Microbiology",
|
||||||
|
volume = 179,
|
||||||
|
number = 12,
|
||||||
|
pages = "3899--3913",
|
||||||
|
abstract = "We compare and contrast genome-wide compositional biases and
|
||||||
|
distributions of short oligonucleotides across 15 diverse
|
||||||
|
prokaryotes that have substantial genomic sequence collections.
|
||||||
|
These include seven complete genomes (Escherichia coli,
|
||||||
|
Haemophilus influenzae, Mycoplasma genitalium, Mycoplasma
|
||||||
|
pneumoniae, Synechocystis sp. strain PCC6803, Methanococcus
|
||||||
|
jannaschii, and Pyrobaculum aerophilum). A key observation
|
||||||
|
concerns the constancy of the dinucleotide relative abundance
|
||||||
|
profiles over multiple 50-kb disjoint contigs within the same
|
||||||
|
genome. (The profile is rhoXY* = fXY*/fX*fY* for all XY, where
|
||||||
|
fX* denotes the frequency of the nucleotide X and fY* denotes the
|
||||||
|
frequency of the dinucleotide XY, both computed from the sequence
|
||||||
|
concatenated with its inverted complementary sequence.) On the
|
||||||
|
basis of this constancy, we refer to the collection [rhoXY*] as
|
||||||
|
the genome signature. We establish that the differences between
|
||||||
|
[rhoXY*] vectors of 50-kb sample contigs of different genomes
|
||||||
|
virtually always exceed the differences between those of the same
|
||||||
|
genomes. Various di- and tetranucleotide biases are identified.
|
||||||
|
In particular, we find that the dinucleotide CpG=CG is
|
||||||
|
underrepresented in many thermophiles (e.g., M. jannaschii,
|
||||||
|
Sulfolobus sp., and M. thermoautotrophicum) but overrepresented
|
||||||
|
in halobacteria. TA is broadly underrepresented in prokaryotes
|
||||||
|
and eukaryotes, but normal counts appear in Sulfolobus and P.
|
||||||
|
aerophilum sequences. More than for any other bacterial genome,
|
||||||
|
palindromic tetranucleotides are underrepresented in H.
|
||||||
|
influenzae. The M. jannaschii sequence is unprecedented in its
|
||||||
|
extreme underrepresentation of CTAG tetranucleotides and in the
|
||||||
|
anomalous distribution of CTAG sites around the genome.
|
||||||
|
Comparative analysis of numbers of long tetranucleotide
|
||||||
|
microsatellites distinguishes H. influenzae. Dinucleotide
|
||||||
|
relative abundance differences between bacterial sequences are
|
||||||
|
compared. For example, in these assessments of differences, the
|
||||||
|
cyanobacteria Synechocystis, Synechococcus, and Anabaena do not
|
||||||
|
form a coherent group and are as far from each other as general
|
||||||
|
gram-negative sequences are from general gram-positive sequences.
|
||||||
|
The difference of M. jannaschii from low-G+C gram-positive
|
||||||
|
proteobacteria is one-half of the difference from gram-negative
|
||||||
|
proteobacteria. Interpretations and hypotheses center on the role
|
||||||
|
of the genome signature in highlighting similarities and
|
||||||
|
dissimilarities across different classes of prokaryotic species,
|
||||||
|
possible mechanisms underlying the genome signature, the form and
|
||||||
|
level of genome compositional flux, the use of the genome
|
||||||
|
signature as a chronometer of molecular phylogeny, and
|
||||||
|
implications with respect to the three putative eubacterial,
|
||||||
|
archaeal, and eukaryote domains of life and to the origin and
|
||||||
|
early evolution of eukaryotes.",
|
||||||
|
month = jun,
|
||||||
|
year = 1997,
|
||||||
|
url = "http://dx.doi.org/10.1128/jb.179.12.3899-3913.1997",
|
||||||
|
doi = "10.1128/jb.179.12.3899-3913.1997",
|
||||||
|
pmc = "PMC179198",
|
||||||
|
pmid = 9190805,
|
||||||
|
issn = "0021-9193,1098-5530",
|
||||||
|
language = "en"
|
||||||
|
}
|
||||||
|
@ARTICLE{Karlin1995-lt,
|
||||||
|
title = "{Dinucleotide relative abundance extremes: a genomic signature}",
|
||||||
|
author = "Karlin, S and Burge, C",
|
||||||
|
journal = "Trends in Genetics: TIG",
|
||||||
|
publisher = "Elsevier BV",
|
||||||
|
volume = 11,
|
||||||
|
number = 7,
|
||||||
|
pages = "283--290",
|
||||||
|
abstract = "Early biochemical experiments established that the set of
|
||||||
|
dinucleotide odds ratios or 'general design' is a remarkably
|
||||||
|
stable property of the DNA of an organism, which is essentially
|
||||||
|
the same in protein-coding DNA, bulk genomic DNA, and in
|
||||||
|
different renaturation rate and density gradient fractions of
|
||||||
|
genomic DNA in many organisms. Analysis of currently available
|
||||||
|
genomic sequence data has extended these earlier results, showing
|
||||||
|
that the general designs of disjoint samples of a genome are
|
||||||
|
substantially more similar to each other than to those of
|
||||||
|
sequences from other organisms and that closely related organisms
|
||||||
|
have similar general designs. From this perspective, the set of
|
||||||
|
dinucleotide odds ratio (relative abundance) values constitute a
|
||||||
|
signature of each DNA genome, which can discriminate between
|
||||||
|
sequences from different organisms. Dinucleotide-odds ratio
|
||||||
|
values appear to reflect not only the chemistry of dinucleotide
|
||||||
|
stacking energies and base-step conformational preferences, but
|
||||||
|
also the species-specific properties of DNA modification,
|
||||||
|
replication and repair mechanisms.",
|
||||||
|
month = jul,
|
||||||
|
year = 1995,
|
||||||
|
url = "http://dx.doi.org/10.1016/s0168-9525(00)89076-9",
|
||||||
|
doi = "10.1016/s0168-9525(00)89076-9",
|
||||||
|
pmid = 7482779,
|
||||||
|
issn = "0168-9525,1362-4555",
|
||||||
|
language = "en"
|
||||||
|
}
|
||||||
|
|
||||||
|
@ARTICLE{Karlin1994-on,
|
||||||
|
title = "{Heterogeneity of genomes: measures and values}",
|
||||||
|
author = "Karlin, S and Ladunga, I and Blaisdell, B E",
|
||||||
|
journal = "Proceedings of the National Academy of Sciences of the United
|
||||||
|
States of America",
|
||||||
|
publisher = "Proceedings of the National Academy of Sciences",
|
||||||
|
volume = 91,
|
||||||
|
number = 26,
|
||||||
|
pages = "12837--12841",
|
||||||
|
abstract = "Genomic homogeneity is investigated for a broad base of DNA
|
||||||
|
sequences in terms of dinucleotide relative abundance distances
|
||||||
|
(abbreviated delta-distances) and of oligonucleotide
|
||||||
|
compositional extremes. It is shown that delta-distances between
|
||||||
|
different genomic sequences in the same species are low, only
|
||||||
|
about 2 or 3 times the distance found in random DNA, and are
|
||||||
|
generally smaller than the between-species delta-distances.
|
||||||
|
Extremes in short oligonucleotides include underrepresentation of
|
||||||
|
TpA and overrepresentation of GpC in most temperate bacteriophage
|
||||||
|
sequences; underrepresentation of CTAG in most eubacterial
|
||||||
|
genomes; underrepresentation of GATC in most bacteriophage; CpG
|
||||||
|
suppression in vertebrates, in all animal mitochondrial genomes,
|
||||||
|
and in many thermophilic bacterial sequences; and
|
||||||
|
overrepresentation of GpG/CpC in all animal mitochondrial sets
|
||||||
|
and chloroplast genomes. Interpretations center on DNA structures
|
||||||
|
(dinucleotide stacking energies, DNA curvature and superhelicity,
|
||||||
|
nucleosome organization), context-dependent mutational events,
|
||||||
|
methylation effects, and processes of replication and repair.",
|
||||||
|
month = dec,
|
||||||
|
year = 1994,
|
||||||
|
url = "http://dx.doi.org/10.1073/pnas.91.26.12837",
|
||||||
|
doi = "10.1073/pnas.91.26.12837",
|
||||||
|
pmc = "PMC45535",
|
||||||
|
pmid = 7809131,
|
||||||
|
issn = "0027-8424,1091-6490",
|
||||||
|
language = "en"
|
||||||
|
}
|
||||||
|
@ARTICLE{Bennett2013-cl,
|
||||||
|
title = "{Small, smaller, smallest: the origins and evolution of ancient
|
||||||
|
dual symbioses in a Phloem-feeding insect}",
|
||||||
|
author = "Bennett, Gordon M and Moran, Nancy A",
|
||||||
|
journal = "Genome Biology and Evolution",
|
||||||
|
publisher = "Oxford University Press (OUP)",
|
||||||
|
volume = 5,
|
||||||
|
number = 9,
|
||||||
|
pages = "1675--1688",
|
||||||
|
abstract = "Many insects rely on bacterial symbionts with tiny genomes
|
||||||
|
specialized for provisioning nutrients lacking in host diets.
|
||||||
|
Xylem sap and phloem sap are both deficient as insect diets, but
|
||||||
|
differ dramatically in nutrient content, potentially affecting
|
||||||
|
symbiont genome evolution. For sap-feeding insects, sequenced
|
||||||
|
symbiont genomes are available only for phloem-feeding examples
|
||||||
|
from the suborder Sternorrhyncha and xylem-feeding examples from
|
||||||
|
the suborder Auchenorrhyncha, confounding comparisons. We
|
||||||
|
sequenced genomes of the obligate symbionts, Sulcia muelleri and
|
||||||
|
Nasuia deltocephalinicola, of the phloem-feeding pest insect,
|
||||||
|
Macrosteles quadrilineatus (Auchenorrhyncha: Cicadellidae). Our
|
||||||
|
results reveal that Nasuia-ALF has the smallest bacterial genome
|
||||||
|
yet sequenced (112 kb), and that the Sulcia-ALF genome (190 kb)
|
||||||
|
is smaller than that of Sulcia in other insect lineages.
|
||||||
|
Together, these symbionts retain the capability to synthesize the
|
||||||
|
10 essential amino acids, as observed for several symbiont pairs
|
||||||
|
from xylem-feeding Auchenorrhyncha. Nasuia retains genes enabling
|
||||||
|
synthesis of two amino acids, DNA replication, transcription, and
|
||||||
|
translation. Both symbionts have lost genes underlying ATP
|
||||||
|
synthesis through oxidative phosphorylation, possibly as a
|
||||||
|
consequence of the enriched sugar content of phloem. Shared
|
||||||
|
genomic features, including reassignment of the UGA codon from
|
||||||
|
Stop to tryptophan, and phylogenetic results suggest that
|
||||||
|
Nasuia-ALF is most closely related to Zinderia, the
|
||||||
|
betaproteobacterial symbiont of spittlebugs. Thus,
|
||||||
|
Nasuia/Zinderia and Sulcia likely represent ancient associates
|
||||||
|
that have co-resided in hosts since the divergence of leafhoppers
|
||||||
|
and spittlebugs >200 Ma, and possibly since the origin of the
|
||||||
|
Auchenorrhyncha, >260 Ma.",
|
||||||
|
month = aug,
|
||||||
|
year = 2013,
|
||||||
|
url = "http://dx.doi.org/10.1093/gbe/evt118",
|
||||||
|
keywords = "Nasuia deltocephalinicola; Sulcia muelleri; gene loss; genome
|
||||||
|
evolution; leafhopper; nutritional symbioses",
|
||||||
|
doi = "10.1093/gbe/evt118",
|
||||||
|
pmc = "PMC3787670",
|
||||||
|
pmid = 23918810,
|
||||||
|
issn = "1759-6653",
|
||||||
|
language = "en"
|
||||||
|
}
|
||||||
Binary file not shown.
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>DNA encoding - obikmer — User Guide</title>
|
<title>DNA encoding - obiskim — User Guide</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../../.." title="obikmer — User Guide" class="md-header__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../../.." title="obiskim — User Guide" class="md-header__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../../.." title="obikmer — User Guide" class="md-nav__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../../.." title="obiskim — User Guide" class="md-nav__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Low-complexity kmer filter - obikmer — User Guide</title>
|
<title>Low-complexity kmer filter - obiskim — User Guide</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../../.." title="obikmer — User Guide" class="md-header__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../../.." title="obiskim — User Guide" class="md-header__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../../.." title="obikmer — User Guide" class="md-nav__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../../.." title="obiskim — User Guide" class="md-nav__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -1601,7 +1601,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<h1 id="low-complexity-kmer-filter">Low-complexity kmer filter</h1>
|
<h1 id="low-complexity-kmer-filter">Low-complexity kmer filter</h1>
|
||||||
<p>Low-complexity kmers (homopolymer runs, tandem repeats) can dominate an index without carrying useful information. <code>obikmer</code> detects and excludes them during index construction using a normalized Shannon entropy score.</p>
|
<p>Low-complexity kmers (homopolymer runs, tandem repeats) can dominate an index without carrying useful information. <code>obiskim</code> detects and excludes them during index construction using a normalized Shannon entropy score.</p>
|
||||||
<h2 id="sub-word-frequencies">Sub-word frequencies</h2>
|
<h2 id="sub-word-frequencies">Sub-word frequencies</h2>
|
||||||
<p>For a kmer of length <span class="arithmatex">\(k\)</span> and a sub-word size <span class="arithmatex">\(ws\)</span> (<span class="arithmatex">\(1 \le ws \le ws_{\max}\)</span>, default <span class="arithmatex">\(ws_{\max} = 6\)</span>), the kmer is decomposed into its <span class="arithmatex">\(k - ws + 1\)</span> overlapping sub-words of length <span class="arithmatex">\(ws\)</span> by sliding a window across it. Each sub-word is tallied under its raw 2-bit-packed value, with no canonicalization.</p>
|
<p>For a kmer of length <span class="arithmatex">\(k\)</span> and a sub-word size <span class="arithmatex">\(ws\)</span> (<span class="arithmatex">\(1 \le ws \le ws_{\max}\)</span>, default <span class="arithmatex">\(ws_{\max} = 6\)</span>), the kmer is decomposed into its <span class="arithmatex">\(k - ws + 1\)</span> overlapping sub-words of length <span class="arithmatex">\(ws\)</span> by sliding a window across it. Each sub-word is tallied under its raw 2-bit-packed value, with no canonicalization.</p>
|
||||||
<h2 id="corrected-shannon-entropy">Corrected Shannon entropy</h2>
|
<h2 id="corrected-shannon-entropy">Corrected Shannon entropy</h2>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Partitioning and indexing architecture - obikmer — User Guide</title>
|
<title>Partitioning and indexing architecture - obiskim — User Guide</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../../.." title="obikmer — User Guide" class="md-header__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../../.." title="obiskim — User Guide" class="md-header__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../../.." title="obikmer — User Guide" class="md-nav__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../../.." title="obiskim — User Guide" class="md-nav__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Kmers - obikmer — User Guide</title>
|
<title>Kmers - obiskim — User Guide</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../../.." title="obikmer — User Guide" class="md-header__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../../.." title="obiskim — User Guide" class="md-header__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../../.." title="obikmer — User Guide" class="md-nav__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../../.." title="obiskim — User Guide" class="md-nav__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -404,62 +404,6 @@
|
|||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<nav class="md-nav" aria-label="Representation limit">
|
|
||||||
<ul class="md-nav__list">
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
|
||||||
<a href="#k-mer-specificity" class="md-nav__link">
|
|
||||||
<span class="md-ellipsis">
|
|
||||||
|
|
||||||
K-mer specificity
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
|
||||||
<a href="#estimating-false-discovery-rate-on-homology-inference" class="md-nav__link">
|
|
||||||
<span class="md-ellipsis">
|
|
||||||
|
|
||||||
Estimating False discovery rate on homology inference
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<nav class="md-nav" aria-label="Estimating False discovery rate on homology inference">
|
|
||||||
<ul class="md-nav__list">
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
|
||||||
<a href="#the-random-model" class="md-nav__link">
|
|
||||||
<span class="md-ellipsis">
|
|
||||||
|
|
||||||
The random model
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
|
||||||
<a href="#exact-tail-probability" class="md-nav__link">
|
|
||||||
<span class="md-ellipsis">
|
|
||||||
|
|
||||||
Exact tail probability
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
@@ -474,10 +418,10 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#karlin-ost-1988-formula" class="md-nav__link">
|
<a href="#k-mer-specificity" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
Karlin--Ost (1988) formula
|
K-mer specificity
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -485,22 +429,33 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#chance-sharing-across-genomes-and-the-fdr-of-homology" class="md-nav__link">
|
<a href="#choosing-an-appropriate-k-mer-size" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
Chance sharing across genomes and the FDR of homology
|
Choosing an appropriate k-mer size
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<nav class="md-nav" aria-label="Chance sharing across genomes and the FDR of homology">
|
</li>
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="#chance-sharing-across-genomes" class="md-nav__link">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
Chance sharing across genomes
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<nav class="md-nav" aria-label="Chance sharing across genomes">
|
||||||
<ul class="md-nav__list">
|
<ul class="md-nav__list">
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#the-null-model" class="md-nav__link">
|
<a href="#the-null-model-and-genome-specific-probabilities" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
The null model
|
The null model and genome-specific probabilities
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -508,10 +463,10 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#exact-tail-probability_1" class="md-nav__link">
|
<a href="#computing-the-poisson-binomial-distribution" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
Exact tail probability
|
Computing the Poisson-binomial distribution
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -519,10 +474,10 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#approximation-with-equal-genome-sizes" class="md-nav__link">
|
<a href="#comparing-observed-and-expected-sharing-in-the-index" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
Approximation with equal genome sizes
|
Comparing observed and expected sharing in the index
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -530,10 +485,10 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#false-discovery-rate" class="md-nav__link">
|
<a href="#estimating-the-false-discovery-rate" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
False discovery rate
|
Estimating the false discovery rate
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -554,28 +509,6 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
|
||||||
<a href="#1-fdr-dun-ensemble-de-k-mers-selectionnes" class="md-nav__link">
|
|
||||||
<span class="md-ellipsis">
|
|
||||||
|
|
||||||
1. FDR d'un ensemble de k-mers sélectionnés
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
|
||||||
<a href="#2-markov-dordre-0-avec-frequences-inegales" class="md-nav__link">
|
|
||||||
<span class="md-ellipsis">
|
|
||||||
|
|
||||||
2. Markov d'ordre 0 avec fréquences inégales
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
@@ -1665,62 +1598,6 @@
|
|||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<nav class="md-nav" aria-label="Representation limit">
|
|
||||||
<ul class="md-nav__list">
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
|
||||||
<a href="#k-mer-specificity" class="md-nav__link">
|
|
||||||
<span class="md-ellipsis">
|
|
||||||
|
|
||||||
K-mer specificity
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
|
||||||
<a href="#estimating-false-discovery-rate-on-homology-inference" class="md-nav__link">
|
|
||||||
<span class="md-ellipsis">
|
|
||||||
|
|
||||||
Estimating False discovery rate on homology inference
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<nav class="md-nav" aria-label="Estimating False discovery rate on homology inference">
|
|
||||||
<ul class="md-nav__list">
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
|
||||||
<a href="#the-random-model" class="md-nav__link">
|
|
||||||
<span class="md-ellipsis">
|
|
||||||
|
|
||||||
The random model
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
|
||||||
<a href="#exact-tail-probability" class="md-nav__link">
|
|
||||||
<span class="md-ellipsis">
|
|
||||||
|
|
||||||
Exact tail probability
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
@@ -1735,10 +1612,10 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#karlin-ost-1988-formula" class="md-nav__link">
|
<a href="#k-mer-specificity" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
Karlin--Ost (1988) formula
|
K-mer specificity
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -1746,22 +1623,33 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#chance-sharing-across-genomes-and-the-fdr-of-homology" class="md-nav__link">
|
<a href="#choosing-an-appropriate-k-mer-size" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
Chance sharing across genomes and the FDR of homology
|
Choosing an appropriate k-mer size
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<nav class="md-nav" aria-label="Chance sharing across genomes and the FDR of homology">
|
</li>
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="#chance-sharing-across-genomes" class="md-nav__link">
|
||||||
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
|
Chance sharing across genomes
|
||||||
|
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<nav class="md-nav" aria-label="Chance sharing across genomes">
|
||||||
<ul class="md-nav__list">
|
<ul class="md-nav__list">
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#the-null-model" class="md-nav__link">
|
<a href="#the-null-model-and-genome-specific-probabilities" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
The null model
|
The null model and genome-specific probabilities
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -1769,10 +1657,10 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#exact-tail-probability_1" class="md-nav__link">
|
<a href="#computing-the-poisson-binomial-distribution" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
Exact tail probability
|
Computing the Poisson-binomial distribution
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -1780,10 +1668,10 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#approximation-with-equal-genome-sizes" class="md-nav__link">
|
<a href="#comparing-observed-and-expected-sharing-in-the-index" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
Approximation with equal genome sizes
|
Comparing observed and expected sharing in the index
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -1791,10 +1679,10 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#false-discovery-rate" class="md-nav__link">
|
<a href="#estimating-the-false-discovery-rate" class="md-nav__link">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
|
|
||||||
False discovery rate
|
Estimating the false discovery rate
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
@@ -1815,28 +1703,6 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
|
||||||
<a href="#1-fdr-dun-ensemble-de-k-mers-selectionnes" class="md-nav__link">
|
|
||||||
<span class="md-ellipsis">
|
|
||||||
|
|
||||||
1. FDR d'un ensemble de k-mers sélectionnés
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="md-nav__item">
|
|
||||||
<a href="#2-markov-dordre-0-avec-frequences-inegales" class="md-nav__link">
|
|
||||||
<span class="md-ellipsis">
|
|
||||||
|
|
||||||
2. Markov d'ordre 0 avec fréquences inégales
|
|
||||||
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
@@ -1857,104 +1723,66 @@
|
|||||||
|
|
||||||
|
|
||||||
<h1 id="k-mer-size">K-mer size</h1>
|
<h1 id="k-mer-size">K-mer size</h1>
|
||||||
<p>A k-mer is a DNA sequence of length <span class="arithmatex">\(k\)</span>. OBIKmer is designed to index large k-mers. Here, <em>large</em> refers to a k-mer length for which the probability of observing the same k-mer in several genomes by chance alone is sufficiently small. The k-mer length must therefore be large enough that, when a k-mer is observed in several genomes of the dataset, the probability that this shared occurrence is due to chance alone is sufficiently low for the match to be considered evidence of homology.</p>
|
<p>A k-mer is a DNA sequence of length <span class="arithmatex">\(k\)</span>. obiskim is designed to index
|
||||||
<p>OBIKmer restricts <span class="arithmatex">\(k\)</span> to odd values in the range</p>
|
large k-mers. Here, <em>large</em> refers to a k-mer length for which the
|
||||||
|
probability of observing the same k-mer in several genomes by chance
|
||||||
|
alone is sufficiently small. The k-mer length must therefore be large
|
||||||
|
enough that, when a k-mer is observed in several genomes of the dataset,
|
||||||
|
the probability that this shared occurrence is due to chance alone is
|
||||||
|
sufficiently low for the match to be considered evidence of homology.</p>
|
||||||
|
<p>obiskim restricts <span class="arithmatex">\(k\)</span> to odd values in the range</p>
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
11 \leq k \leq 31.
|
11 \leq k \leq 31.
|
||||||
\]</div>
|
\]</div>
|
||||||
<p>These limits result from two different considerations. The upper bound is imposed by the representation used by OBIKmer, whereas the lower bound defines a practical range of k-mer lengths for genome-scale sequence comparisons. This range covers most practical applications: the lower limit is well below the k-mer size that can be considered large, even for the smallest bacterial genomes, whereas the upper limit provides sufficient specificity for most applications, including those involving very large genomes.</p>
|
<p>These limits result from two different considerations. The upper bound
|
||||||
|
is imposed by the representation used by obiskim, whereas the lower
|
||||||
|
bound defines a practical range of k-mer lengths for genome-scale
|
||||||
|
sequence comparisons. This range covers most practical applications: the
|
||||||
|
lower limit is well below the k-mer size that can be considered large,
|
||||||
|
even for the smallest bacterial genomes, whereas the upper limit
|
||||||
|
provides sufficient specificity for most applications, including those
|
||||||
|
involving very large genomes.</p>
|
||||||
<h2 id="representation-limit">Representation limit</h2>
|
<h2 id="representation-limit">Representation limit</h2>
|
||||||
<p>OBIKmer uses two bits to encode each nucleotide. Therefore, a k-mer requires <span class="arithmatex">\(2k\)</span> bits. To ensure computational efficiency, OBIKmer limits the representation of k-mers to a single 64-bit word, thereby restricting their length.</p>
|
<p>obiskim uses two bits to encode each nucleotide. Therefore, a k-mer
|
||||||
|
requires <span class="arithmatex">\(2k\)</span> bits. To ensure computational efficiency, obiskim limits
|
||||||
|
the representation of k-mers to a single 64-bit word, thereby
|
||||||
|
restricting their length.</p>
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
2k \leq 64,
|
2k \leq 64,
|
||||||
\]</div>
|
\]</div>
|
||||||
<p>This gives the hard representation limit: <span class="arithmatex">\(k \leq 32.\)</span> Furthermore, OBIKmer only considers odd values of <span class="arithmatex">\(k\)</span>, meaning the largest supported k-mer size is <span class="arithmatex">\(31\)</span>.</p>
|
<p>This gives the hard representation limit: <span class="arithmatex">\(k \leq 32.\)</span> Furthermore,
|
||||||
<h3 id="k-mer-specificity">K-mer specificity</h3>
|
obiskim only considers odd values of <span class="arithmatex">\(k\)</span>, meaning the largest supported
|
||||||
<p>One simple way to illustrate the effect of k-mer size is to consider a random DNA sequence in which the four nucleotides are independent and equally probable. There are <span class="arithmatex">\(4^k\)</span> possible k-mers, so a particular k-mer is expected to occur once every <span class="arithmatex">\(4^k\)</span> positions on average. In a sequence of length <span class="arithmatex">\(G\)</span>, the expected number of occurrences of a particular k-mer is approximately <span class="arithmatex">\(G \cdot 4^{-k}\)</span>. When k is large enough to ensure <span class="arithmatex">\(4^k >> G\)</span>, the chance of a second occurrence of the same k-mer becomes close to zero. Consequently, observing the same k-mer twice can only be explained by a homology relationship, except for low-complexity k-mers, which are overrepresented in genomes. </p>
|
k-mer size is <span class="arithmatex">\(31\)</span>.</p>
|
||||||
<h3 id="estimating-false-discovery-rate-on-homology-inference">Estimating False discovery rate on homology inference</h3>
|
<h2 id="odd-k-mer-lengths">Odd k-mer lengths</h2>
|
||||||
<p>OBIKmer uses k-mers long enough that their occurrence in multiple indexed genomes provides evidence of homology. The corresponding false discovery rate (FDR) can be expressed in terms of the probability of observing a k-mer in at least <span class="arithmatex">\(R\)</span> of the <span class="arithmatex">\(S\)</span> indexed genomes under a purely random model.</p>
|
<p>obiskim additionally requires <span class="arithmatex">\(k\)</span> to be odd. This constraint is
|
||||||
<h4 id="the-random-model">The random model</h4>
|
independent of the specificity considerations discussed below.</p>
|
||||||
<p>The random model, or null hypothesis, assumes that the <span class="arithmatex">\(S\)</span> genomes are unrelated and that each genome is an independent random sequence in which each nucleotide occurs with equal probability. Rejecting this hypothesis for a given k-mer indicates that its presence in multiple genomes is unlikely to be explained by chance alone, providing evidence for homology.</p>
|
<p>For an odd-length DNA sequence, a k-mer cannot be identical to its own
|
||||||
<p>For a genome of size <span class="arithmatex">\(G\)</span>, the number of occurrences of a given canonical k-mer <span class="arithmatex">\(K\)</span> is approximated by a Poisson distribution with parameter</p>
|
reverse complement. Every k-mer therefore belongs to a pair of distinct
|
||||||
<div class="arithmatex">\[ \lambda = 2\frac{G}{4^k}, \]</div>
|
orientations, which can be represented by a single canonical k-mer. For
|
||||||
<p>which is also the expected number of occurrences under the random model. The factor of two accounts for k-mer canonicalisation, which halves the k-mer space when <span class="arithmatex">\(k\)</span> is odd.</p>
|
even <span class="arithmatex">\(k\)</span>, self-reverse-complementary sequences exist.</p>
|
||||||
<p>The probability of observing at least one occurrence of this k-mer is therefore</p>
|
<p>Odd <span class="arithmatex">\(k\)</span> is not required for canonicalization itself: the canonical form</p>
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
\begin{aligned}
|
s^c=\min_{\mathrm{lex}}\left(s,\operatorname{RC}(s)\right)
|
||||||
P(n_K > 0) &= 1-e^{-\lambda} \\
|
|
||||||
&= 1-e^{-2G/4^k}.
|
|
||||||
\end{aligned}
|
|
||||||
\]</div>
|
\]</div>
|
||||||
<p>Assuming equal genome lengths, the number of genomes containing at least one occurrence of <span class="arithmatex">\(K\)</span> among the <span class="arithmatex">\(S\)</span> sequences follows a binomial distribution. The probability of observing <span class="arithmatex">\(K\)</span> in at least <span class="arithmatex">\(r\)</span> genomes is therefore</p>
|
<p>is well defined for both odd and even lengths. Restricting <span class="arithmatex">\(k\)</span> to odd
|
||||||
<div class="arithmatex">\[
|
values guarantees that the two orientations are always distinct,
|
||||||
P(X \geq r)=\sum_{j=r}^{S}\binom{S}{j}\left(1-e^{-2G/4^k}\right)^j\left(e^{-2G/4^k}\right)^{S-j}.
|
simplifying the representation and orientation handling used by obiskim.</p>
|
||||||
\]</div>
|
<h2 id="k-mer-specificity">K-mer specificity</h2>
|
||||||
<p>This sum is the regularized incomplete beta function <span class="arithmatex">\(I_p(r,\,S-r+1)\)</span>, where</p>
|
<p>A simple way to illustrate the effect of k-mer size is to consider a
|
||||||
<div class="arithmatex">\[
|
random DNA sequence in which the four nucleotides are independent and
|
||||||
p = 1-e^{-2G/4^k}.
|
equally probable. There are <span class="arithmatex">\(4^k\)</span> possible oriented k-mers, so the
|
||||||
\]</div>
|
expected number of occurrences of a particular oriented k-mer in a
|
||||||
<p>Different genome sizes</p>
|
sequence of length <span class="arithmatex">\(G\)</span> is approximately <span class="arithmatex">\(G/4^k\)</span>. For canonical k-mers,
|
||||||
<p>When genome sizes differ, the probability of observing a given k-mer also differs between genomes. A simple approximation is to replace the individual genome sizes <span class="arithmatex">\(G_i\)</span> by their mean</p>
|
the corresponding number of possible sequences is halved, and the
|
||||||
<div class="arithmatex">\[ \bar G = \frac{1}{S}\sum_{i=1}^{S}G_i. \]</div>
|
expected number of occurrences is approximately <span class="arithmatex">\(2G/4^k\)</span>.</p>
|
||||||
<p>This gives a common probability</p>
|
<p>Increasing <span class="arithmatex">\(k\)</span> therefore reduces the probability that a particular k-mer
|
||||||
<div class="arithmatex">\[ \bar p = 1-e^{-2\bar G/4^k}, \]</div>
|
occurs by chance. However, the probability of a match somewhere in a
|
||||||
<p>and the number of genomes containing the k-mer can then be approximated by a binomial distribution:</p>
|
collection of sequences also depends on the amount of sequence searched
|
||||||
<div class="arithmatex">\[ P(X\geq r)=\sum_{j=r}^{S}\binom{S}{j}\bar p^j(1-\bar p)^{S-j}. \]</div>
|
and on the number of possible k-mers considered. The following sections
|
||||||
<p>This approximation is conservative for the upper tail. Hoeffding (1956 p. 717, Eq. 26)<sup id="fnref:Hoeffding1956-bx"><a class="footnote-ref" href="#fn:Hoeffding1956-bx">1</a></sup> shows that, for a fixed mean, the binomial upper tail is at least as large as the corresponding Poisson-binomial tail for</p>
|
formalize this distinction and describe how chance sharing can be
|
||||||
<div class="arithmatex">\[ r\geq S\bar p+1. \]</div>
|
assessed across an indexed set of genomes.</p>
|
||||||
<p>Using the mean genome size therefore provides a conservative estimate of the FDR.</p>
|
<h2 id="choosing-an-appropriate-k-mer-size">Choosing an appropriate k-mer size</h2>
|
||||||
<p>When genome sizes differ substantially, however, this approximation can become overly conservative. In that case, the exact Poisson-binomial distribution can be computed directly from the individual genome-specific probabilities <span class="arithmatex">\(p_i\)</span>.</p>
|
<p>The theoretical k-mer space grows exponentially with <span class="arithmatex">\(k\)</span>. Thus, increasing <span class="arithmatex">\(k\)</span> from 11 to 31 greatly expands the sequence space and reduces the probability that unrelated sequences share a particular k-mer by chance. The following table gives the size of the theoretical k-mer space and, after canonicalization, the number of distinct representations.</p>
|
||||||
<h3 id="exact-tail-probability">Exact tail probability</h3>
|
|
||||||
<p>With genome-specific probabilities <span class="arithmatex">\(p_i\)</span>, the number of genomes containing the k-mer follows a Poisson-binomial distribution. Writing the probability of exactly <span class="arithmatex">\(j\)</span> presences as a sum over all subsets of <span class="arithmatex">\(j\)</span> genomes would be impractical, since there can be up to <span class="arithmatex">\(2^S\)</span> subsets. The distribution can instead be obtained by adding the genomes one at a time.</p>
|
|
||||||
<p>Let <span class="arithmatex">\(d_j\)</span> be the probability that exactly <span class="arithmatex">\(j\)</span> of the genomes processed so far contain the k-mer. Adding genome <span class="arithmatex">\(i\)</span> leaves <span class="arithmatex">\(j\)</span> unchanged if the genome does not contain the k-mer, and moves <span class="arithmatex">\(j-1\)</span> to <span class="arithmatex">\(j\)</span> if it does:</p>
|
|
||||||
<div class="arithmatex">\[
|
|
||||||
\left \{
|
|
||||||
\begin{aligned}
|
|
||||||
d'_j &= d_j(1-p_i) + d_{j-1}p_i, \\
|
|
||||||
d_0&=1
|
|
||||||
\end{aligned}
|
|
||||||
\right .
|
|
||||||
\]</div>
|
|
||||||
<p>before processing the first genome.</p>
|
|
||||||
<p>The table <span class="arithmatex">\(d\)</span> only needs to record how many genomes contain the k-mer, not which ones, reducing the computational cost to <span class="arithmatex">\(O(S^2)\)</span>. The result is independent of the order in which the genomes are processed and of the k-mer itself, so it can be computed once per index. The upper tail is then</p>
|
|
||||||
<div class="arithmatex">\[
|
|
||||||
P(X\geq r)=1-\sum_{j=0}^{r-1}d_j.
|
|
||||||
\]</div>
|
|
||||||
<p>Only <span class="arithmatex">\(d_0,\ldots,d_{r-1}\)</span> are needed, reducing the cost to <span class="arithmatex">\(O(Sr)\)</span>.</p>
|
|
||||||
<p>When all <span class="arithmatex">\(p_i\)</span> are small, as is typically the case for large <span class="arithmatex">\(k\)</span>, the Poisson-binomial distribution can also be approximated by a Poisson distribution with mean</p>
|
|
||||||
<div class="arithmatex">\[
|
|
||||||
\lambda=\sum_{i=1}^{S}p_i.
|
|
||||||
\]</div>
|
|
||||||
<p>The approximation error is bounded in terms of <span class="arithmatex">\(\sum_i p_i^2\)</span> by Le Cam's inequality (<strong>LeCam1960-pe?</strong>).</p>
|
|
||||||
<hr />
|
|
||||||
<p>This probability decreases by a factor of four for every additional nucleotide in the k-mer. Conversely, it increases linearly with the amount of sequence searched.</p>
|
|
||||||
<p>This simple model already shows why very short k-mers provide limited specificity for genome-scale analyses. With <span class="arithmatex">\(k=11\)</span>,</p>
|
|
||||||
<div class="arithmatex">\[
|
|
||||||
4^{11}\simeq4.2\times10^6,
|
|
||||||
\]</div>
|
|
||||||
<p>which is a small combinatorial space even compared with the size of very small bacterial genomes. In contrast,</p>
|
|
||||||
<div class="arithmatex">\[
|
|
||||||
4^{31}\simeq4.6\times10^{18},
|
|
||||||
\]</div>
|
|
||||||
<p>which is vastly larger than the number of k-mer positions even in very large genomes. Thus, increasing <span class="arithmatex">\(k\)</span> from 11 to 31 provides an enormous increase in sequence specificity.</p>
|
|
||||||
<p>The estimate above is intentionally simplistic. Real genomes do not consist of independent, equiprobable nucleotides: nucleotide composition and sequence dependencies affect the probability of observing particular words. More accurate estimates of the probability of observing matches by chance therefore take sequence length and nucleotide composition into account.</p>
|
|
||||||
<p>Karlin and Ost provide an analytical framework for this problem based on the distribution of the longest exact match expected between random sequences. If <span class="arithmatex">\(L_{\max}\)</span> denotes the length of the longest seed observed in random sequences of given size and nucleotide composition, the corresponding seed-level probability is</p>
|
|
||||||
<div class="arithmatex">\[
|
|
||||||
P_{\mathrm{seeds}}(L)=P(L_{\max}\geq L).
|
|
||||||
\]</div>
|
|
||||||
<p>Conversely, for a chosen false-positive probability <span class="arithmatex">\(P\)</span>, one can determine the minimum seed length <span class="arithmatex">\(L_{\min}\)</span> such that matches of length <span class="arithmatex">\(L_{\min}\)</span> or greater are not expected to occur by chance. This is the approach used by Repseek to determine statistically significant seed lengths.</p>
|
|
||||||
<p>The simple <span class="arithmatex">\(G/4^k\)</span> estimate and the Karlin–Ost statistics therefore describe the same fundamental effect at different levels of approximation: the probability of a chance match decreases rapidly with k-mer length, while the amount of sequence being searched increases the opportunity for such matches.</p>
|
|
||||||
<p>Consequently, the appropriate value of <span class="arithmatex">\(k\)</span> depends on the total amount of sequence being compared and its nucleotide composition. Choosing <span class="arithmatex">\(k\)</span> appropriately allows the false-positive rate of homology inference to be controlled.</p>
|
|
||||||
<p>Considering that bacterial genomes are typically a few megabases long, with the smallesr plublished today <em>Mycoplasma genitalium</em> having a size <span class="arithmatex">\(G=580\,Mb\)</span> (Fraser <em>et al.</em> 1995)<sup id="fnref:Fraser1995-jc"><a class="footnote-ref" href="#fn:Fraser1995-jc">2</a></sup>, and the largest <span class="arithmatex">\(13\,Mb\)</span> in <em>Sorangium cellulosum</em> (Schneiker <em>et al.</em> 2007)<sup id="fnref:Schneiker2007-gs"><a class="footnote-ref" href="#fn:Schneiker2007-gs">3</a></sup>. For such genomes, the space of 11-mers is already to small to get a reasonable false positive rate:</p>
|
|
||||||
<div class="arithmatex">\[
|
|
||||||
\begin{aligned}
|
|
||||||
P(C\geq1) &= 1- e^{-\frac{580.000^2}{2 \cdot 4^{11}}} \\
|
|
||||||
&\simeq 1
|
|
||||||
\end{aligned}
|
|
||||||
\]</div>
|
|
||||||
<p>, whereas 21-mers already provide a space of several trillion possible sequences.</p>
|
|
||||||
<p>Plant genomes illustrate the opposite situation. Plant genome sizes span several orders of magnitude, from the smallest angiosperm genomes present in the carnivorous plans genus (Fleischmann <em>et al.</em> 2014)<sup id="fnref:Fleischmann2014-ed"><a class="footnote-ref" href="#fn:Fleischmann2014-ed">4</a></sup> about 60 Mb to the largest one 160 Gb in Tmesipteris oblanceolata, a New Caledonian fork fern (Fernández <em>et al.</em> 2024)<sup id="fnref:Fernandez2024-kd"><a class="footnote-ref" href="#fn:Fernandez2024-kd">5</a></sup>, and large genomes often contain substantial amounts of repeated sequence. Even at <span class="arithmatex">\(k=31\)</span>, however, the theoretical k-mer space remains vastly larger than any individual genome. At these lengths, the limiting factor is therefore not exhaustion of the theoretical k-mer space but the biological repetitiveness and non-random composition of the genome.</p>
|
|
||||||
<p>For example, the number of possible k-mers grows as follows:</p>
|
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -1991,201 +1819,207 @@ P(C\geq1) &= 1- e^{-\frac{580.000^2}{2 \cdot 4^{11}}} \\
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p>Canonicalization approximately halves the number of possible representations because a k-mer and its reverse complement are represented by the same canonical form.</p>
|
<p>Genome sizes illustrate the range of sequence scales for which k-mers may be used. Bacterial genomes are typically a few megabases long, although some symbiotic bacteria have much smaller genomes, while other bacteria have genomes exceeding ten megabases. Plant genomes span an even wider range, from tens of megabases to more than one hundred gigabases. In very large and repeat-rich genomes, the main limitation is not necessarily the exhaustion of the theoretical k-mer space, but the non-uniform distribution of k-mers caused by sequence composition and repeated DNA.</p>
|
||||||
<p>The distinction between the simple <span class="arithmatex">\(4^k\)</span> model and the Karlin--Ost framework is important. The former describes the size of the combinatorial k-mer space; the latter describes the probability of observing long matches in sequences whose composition may depart from the uniform random model. Consequently, the value of <span class="arithmatex">\(k\)</span> cannot be selected from genome size alone.</p>
|
<p>The supported range <span class="arithmatex">\(11\leq k\leq31\)</span> should therefore be understood as an engineering and application-oriented compromise, not as a universal biological optimum. Shorter k-mers are more likely to be shared by unrelated regions, whereas longer k-mers provide greater sequence specificity. However, longer k-mers are also more sensitive to substitutions and indels: a single difference can disrupt an exact match across the whole k-mer. The appropriate value within the supported range consequently depends on the size and characteristics of the genomes being compared, as well as on the biological question.</p>
|
||||||
<p>These scales have very different implications for different genome sizes. </p>
|
<p>The following section introduces a random-sequence model to quantify the probability of chance sharing across an indexed set of genomes. This provides a formal basis for assessing how the choice of <span class="arithmatex">\(k\)</span> affects the interpretation of shared k-mers.</p>
|
||||||
<p>The random-sequence calculation is only a null model. Real genomes exhibit strong and reproducible oligonucleotide composition biases. Karlin and colleagues showed that relative abundances of short oligonucleotides, in particular dinucleotides, form characteristic genomic signatures that remain relatively stable within genomes and differ between organisms (<strong>Karlin1995?</strong>; <strong>Karlin1997?</strong>). More generally, short k-mer frequencies can therefore capture compositional properties of genomes rather than provide highly specific sequence identifiers.</p>
|
<h2 id="chance-sharing-across-genomes">Chance sharing across genomes</h2>
|
||||||
<p>This distinction is important for whole-genome k-mer comparison. Increasing <span class="arithmatex">\(k\)</span> increases the theoretical diversity of the k-mer space exponentially and generally increases the proportion of k-mers that occur at unique genomic positions. Conversely, shorter k-mers occur more frequently and are more strongly influenced by genomic composition and repeated sequence. Empirical studies of k-mer spectra show this transition clearly: for example, k-mers of length <span class="arithmatex">\(k\leq11\)</span> can behave primarily as genomic-composition signatures, whereas longer k-mers progressively provide greater sequence specificity.</p>
|
<p>obiskim indexes distinct canonical k-mers and records the genomes in
|
||||||
<p>The supported range <span class="arithmatex">\(11\leq k\leq31\)</span> should therefore be understood as an engineering compromise rather than as a universal biological optimum. Smaller values increase the probability that unrelated genomic regions share the same k-mers, while larger values increase specificity but also make the representation more sensitive to substitutions, indels, and incomplete homology. The appropriate value within this range consequently depends on the biological scale and comparison task.</p>
|
which each k-mer occurs. This makes it possible to compare the observed
|
||||||
<h2 id="odd-k-mer-lengths">Odd k-mer lengths</h2>
|
sharing of k-mers with the sharing expected under a random-sequence
|
||||||
<p>OBIKmer additionally requires <span class="arithmatex">\(k\)</span> to be odd. This constraint is independent of the resolution argument above.</p>
|
model. The same probability model can be used for two related purposes:
|
||||||
<p>For an odd-length DNA sequence, a k-mer cannot be identical to its own reverse complement. Consequently, every k-mer has two distinct orientations, which can be unambiguously collapsed into a canonical representation. For even <span class="arithmatex">\(k\)</span>, self-reverse-complementary sequences exist, so a k-mer can coincide with its own reverse complement.</p>
|
measuring the excess of sharing among k-mers present in the index, and
|
||||||
<p>Odd <span class="arithmatex">\(k\)</span> is therefore <strong>not required for canonicalization itself</strong>: the canonical form</p>
|
estimating the number of chance k-mers among those shared by at least a
|
||||||
|
specified number of genomes.</p>
|
||||||
|
<h3 id="the-null-model-and-genome-specific-probabilities">The null model and genome-specific probabilities</h3>
|
||||||
|
<p>The null hypothesis assumes that the <span class="arithmatex">\(S\)</span> indexed genomes are unrelated
|
||||||
|
and that each genome is an independent random sequence in which
|
||||||
|
nucleotides are independent and equiprobable.</p>
|
||||||
|
<p>Since obiskim uses odd-length canonical k-mers, reverse-complement
|
||||||
|
canonicalization reduces the number of possible k-mers by half. The size
|
||||||
|
of the canonical k-mer space is therefore</p>
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
s^c=\min_{\mathrm{lex}}\left(s,\operatorname{RC}(s)\right)
|
M_k=\frac{4^k}{2}.
|
||||||
\]</div>
|
\]</div>
|
||||||
<p>remains well defined for even <span class="arithmatex">\(k\)</span>. The odd-<span class="arithmatex">\(k\)</span> restriction instead guarantees that the two orientations are always distinct, which simplifies the representation and orientation handling used by OBIKmer.</p>
|
<p>Let <span class="arithmatex">\(N_i\)</span> be the number of distinct canonical k-mers recorded for genome
|
||||||
<h2 id="karlin-ost-1988-formula">Karlin--Ost (1988) formula</h2>
|
<span class="arithmatex">\(i\)</span> in the index. Under the null model, these can be regarded as a
|
||||||
<p>(Karlin & Ost 1988)<sup id="fnref:Karlin1988"><a class="footnote-ref" href="#fn:Karlin1988">6</a></sup> considers <span class="arithmatex">\(s\)</span> independent stationary letter sequences over a finite alphabet and studies <span class="arithmatex">\(K_{r,s}(N)\)</span>, the length of the longest word common to <span class="arithmatex">\(r\)</span> of the <span class="arithmatex">\(s\)</span> sequences, each of length <span class="arithmatex">\(N\)</span>. For i.i.d. equiprobable letters over an alphabet of size <span class="arithmatex">\(m\)</span> (here <span class="arithmatex">\(m=4\)</span> for DNA), the characteristic local match parameter reduces to</p>
|
uniform sample without replacement from the <span class="arithmatex">\(M_k\)</span> possible canonical
|
||||||
|
k-mers. The probability that a given canonical k-mer is present in
|
||||||
|
genome <span class="arithmatex">\(i\)</span> is then</p>
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
\lambda^{[r]} = m^{1-r},
|
p_i=\frac{N_i}{M_k}=\frac{2N_i}{4^k}.
|
||||||
\]</div>
|
\]</div>
|
||||||
<p>so for <span class="arithmatex">\(r=2\)</span> (a word shared by two occurrences), <span class="arithmatex">\(\lambda = m^{-1} = 1/4\)</span>.</p>
|
<p>This is the inclusion probability for a distinct k-mer. It differs from
|
||||||
<p>The expected number of common words of length <span class="arithmatex">\(k\)</span> among the <span class="arithmatex">\(\binom{s}{r}\)</span> relevant groups of sequences is</p>
|
the probability of at least one occurrence in a positional model,
|
||||||
|
because repeated occurrences within a genome are not counted separately.</p>
|
||||||
|
<p>Let <span class="arithmatex">\(X\)</span> denote the number of genomes, among the <span class="arithmatex">\(S\)</span> indexed genomes,
|
||||||
|
that contain a given canonical k-mer under the null model. Since genomes
|
||||||
|
are assumed to be independent, <span class="arithmatex">\(X\)</span> is a sum of independent presence
|
||||||
|
indicators with probabilities <span class="arithmatex">\(p_1,\ldots,p_S\)</span>. When these probabilities
|
||||||
|
differ, <span class="arithmatex">\(X\)</span> follows a Poisson-binomial distribution.</p>
|
||||||
|
<h3 id="computing-the-poisson-binomial-distribution">Computing the Poisson-binomial distribution</h3>
|
||||||
|
<p>The distribution of <span class="arithmatex">\(X\)</span> can be computed by processing genomes one at a
|
||||||
|
time. Let <span class="arithmatex">\(P_i(j)\)</span> denote the probability that the k-mer occurs in
|
||||||
|
exactly <span class="arithmatex">\(j\)</span> of the first <span class="arithmatex">\(i\)</span> genomes. Initially,</p>
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
S_1(N,k) = N^{r}\binom{s}{r}\gamma\,\lambda^{k}\,(1+o(1)),
|
P_0(0)=1,\qquad P_0(j)=0 \quad (j>0).
|
||||||
\]</div>
|
\]</div>
|
||||||
<p>with <span class="arithmatex">\(\gamma=1\)</span> exactly in the i.i.d. equiprobable case. Theorem 2.2 gives the limiting distribution of <span class="arithmatex">\(K_{r,s}(N)\)</span>, with <span class="arithmatex">\(k\)</span> set on the scale <span class="arithmatex">\(k=\left[\dfrac{\log N^{r}}{-\log\lambda^{*}}+x+1\right]\)</span>:</p>
|
<p>When genome <span class="arithmatex">\(i\)</span> is added, the k-mer is either absent, with probability
|
||||||
|
<span class="arithmatex">\(1-p_i\)</span>, or present, with probability <span class="arithmatex">\(p_i\)</span>. Thus,</p>
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
\lim_{N\to\infty}\left[\Pr\{K_{r,s}(N)<k\} - \exp\{-(1-\lambda^{*})\,S_1(N,k)\}\right] = 0,
|
P_i(j)=(1-p_i)P_{i-1}(j)+p_iP_{i-1}(j-1).
|
||||||
\]</div>
|
\]</div>
|
||||||
<p>equivalently</p>
|
<p>This recurrence avoids enumerating the subsets of genomes. Computing the
|
||||||
|
complete distribution requires <span class="arithmatex">\(O(S^2)\)</span> operations and <span class="arithmatex">\(O(S)\)</span> memory. To
|
||||||
|
compute the upper-tail probability, only the probabilities for fewer
|
||||||
|
than <span class="arithmatex">\(r\)</span> presences need to be tracked:</p>
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
\frac{-\log\Pr\{K_{r,s}(N)<k\}}{(\lambda^{*})^{\rho(N,x)}} \xrightarrow[N\to\infty]{} (1-\lambda^{*})\,\gamma^{*}(\lambda^{*})^{x}.
|
P_{\mathrm{null}}(X\geq r)=1-\sum_{j=0}^{r-1}P_S(j).
|
||||||
\]</div>
|
\]</div>
|
||||||
<p>The factor <span class="arithmatex">\((1-\lambda^{*})\)</span> multiplying <span class="arithmatex">\(S_1(N,k)\)</span> is the key correction over the naive pairwise-collision count: it de-clumps overlapping candidate matches, which are not independent events, into an effective Poisson rate. This theorem is stated for <span class="arithmatex">\(s\geq2\)</span> independent sequences (e.g. comparing two distinct genomes); the intra-sequence self-repeat case (a single genome compared to itself) is treated separately, via the reverse-complement match length <span class="arithmatex">\(R(N)\)</span>, in (Karlin & Ost 1985)<sup id="fnref:Karlin1985"><a class="footnote-ref" href="#fn:Karlin1985">7</a></sup>.</p>
|
<p>The computation can therefore be restricted to <span class="arithmatex">\(P_i(0),\ldots,P_i(r-1)\)</span>,
|
||||||
<p><span class="arithmatex">\(o(1)\)</span> (« petit o de 1 ») désigne une quantité qui <strong>tend vers 0 quand <span class="arithmatex">\(N\to\infty\)</span></strong>, mais dont on ne précise pas la vitesse exacte ni la formule exacte. C'est une façon d'écrire « il reste un terme d'erreur, mais il devient négligeable ».</p>
|
requiring <span class="arithmatex">\(O(Sr)\)</span> operations and <span class="arithmatex">\(O(r)\)</span> memory. The resulting
|
||||||
<p>Concrètement dans <span class="arithmatex">\(S_1(N,k) = N^{r}\binom{s}{r}\gamma\,\lambda^{k}\,(1+o(1))\)</span> :</p>
|
distribution depends on the genome-specific values <span class="arithmatex">\(N_i\)</span>, but not on the
|
||||||
<ul>
|
identity of the k-mer, and can thus be computed once for a given index
|
||||||
<li><span class="arithmatex">\(N^{r}\binom{s}{r}\gamma\,\lambda^{k}\)</span> est la valeur <strong>exacte à la limite</strong>, celle qu'on utilise en pratique (c'est elle qui redonne <span class="arithmatex">\(E[C]\)</span> de notre discussion).</li>
|
and k-mer length.</p>
|
||||||
<li><span class="arithmatex">\((1+o(1))\)</span> dit : « la vraie valeur de <span class="arithmatex">\(S_1(N,k)\)</span> n'est pas <em>exactement</em> égale à ce produit pour <span class="arithmatex">\(N\)</span> fini, mais le rapport entre les deux tend vers 1 quand <span class="arithmatex">\(N\to\infty\)</span> ». Autrement dit <span class="arithmatex">\(S_1(N,k) / \left[N^{r}\binom{s}{r}\gamma\lambda^{k}\right] \to 1\)</span>.</li>
|
<h3 id="comparing-observed-and-expected-sharing-in-the-index">Comparing observed and expected sharing in the index</h3>
|
||||||
</ul>
|
<p>The index contains only k-mers observed in at least one genome.
|
||||||
<p>Pourquoi ce terme existe : la formule <span class="arithmatex">\(F_\sigma(k)/\lambda^k \to \gamma\)</span> (éq. 2.8 du papier) est elle-même une limite quand <span class="arithmatex">\(k\to\infty\)</span> — pour <span class="arithmatex">\(k\)</span> fini, il y a un petit écart entre <span class="arithmatex">\(F_\sigma(k)\)</span> et <span class="arithmatex">\(\gamma\lambda^k\)</span>. C'est cet écart-là qui devient le <span class="arithmatex">\(o(1)\)</span>.</p>
|
Consequently, when comparing sharing proportions among the k-mers
|
||||||
<p>Ce que ça implique pour l'usage pratique : dans le cas iid équiprobable que tu utilises (ADN, <span class="arithmatex">\(\gamma=1\)</span> exactement, pas seulement à la limite — je l'ai vérifié directement sur la dérivation : <span class="arithmatex">\(F_\sigma(k)=m^{-k}=\lambda^k\)</span> pour tout <span class="arithmatex">\(k\)</span>, pas juste asymptotiquement), le <span class="arithmatex">\(o(1)\)</span> est en réalité <strong>nul</strong> dans ce cas précis, pas juste négligeable. La formule <span class="arithmatex">\(S_1(N,k)=N^r\binom{s}{r}\lambda^k\)</span> est donc exacte (à l'asymptotique en <span class="arithmatex">\(N\)</span> près, qui elle vient d'ailleurs — de l'approximation de Poisson elle-même, pas de ce <span class="arithmatex">\(\gamma\)</span>).</p>
|
recorded in the index, the relevant null probability is conditional on
|
||||||
<p>Les deux approches sont légitimes, mais elles répondent à des questions différentes — et il y a une relation algébrique exacte entre les deux qui vaut la peine d'être explicitée.</p>
|
at least one presence:</p>
|
||||||
<p><strong>Ce que calcule l'approche naïve.</strong> Pour <strong>un k-mer <span class="arithmatex">\(w\)</span> déjà observé et fixé</strong>, <span class="arithmatex">\(p_i\simeq1-\exp(-G_i/4^k)\)</span> est la probabilité que <em>ce mot précis</em> apparaisse quelque part dans le génome <span class="arithmatex">\(i\)</span> par hasard, et <span class="arithmatex">\(P(R\geq r)\)</span> (Poisson-binomiale ou binomiale) est la probabilité que <em>ce mot précis</em> soit partagé par au moins <span class="arithmatex">\(r\)</span> des <span class="arithmatex">\(S\)</span> génomes par hasard. C'est une <strong>p-value par observation</strong> : « j'ai vu ce k-mer particulier dans 5 génomes sur 10, est-ce surprenant pour lui ? »</p>
|
|
||||||
<p><strong>Ce que calcule Karlin-Ost.</strong> <span class="arithmatex">\(S_1(k)\)</span> et <span class="arithmatex">\(P(K_{r,s}\geq k)\)</span> répondent à : « parmi <strong>tous les <span class="arithmatex">\(4^k\)</span> mots possibles</strong>, quelle est la probabilité qu'au moins un seul d'entre eux atteigne ce seuil de partage par hasard, n'importe où dans les génomes ? » C'est une question <strong>globale sur tout l'espace des k-mers</strong>, pas sur un mot déjà identifié.</p>
|
|
||||||
<p><strong>La relation exacte entre les deux.</strong> Reprenons le cas <span class="arithmatex">\(r=s=2\)</span>, génomes égaux de taille <span class="arithmatex">\(G\)</span> :</p>
|
|
||||||
<ul>
|
|
||||||
<li>Naïf (mot <span class="arithmatex">\(w\)</span> fixé) : <span class="arithmatex">\(P(R=2\mid w)\simeq p^2=(G\cdot4^{-k})^2=G^2\cdot4^{-2k}\)</span></li>
|
|
||||||
<li>Karlin-Ost : <span class="arithmatex">\(S_1=G^2\cdot4^{-k}\)</span></li>
|
|
||||||
</ul>
|
|
||||||
<p>Le rapport est exactement <span class="arithmatex">\(S_1 / P(R=2\mid w) = 4^{k}\)</span> — c'est-à-dire le nombre de mots possibles. Ce n'est pas une coïncidence : <span class="arithmatex">\(S_1=N^r\binom{s}{r}\lambda^k\)</span> vient de <span class="arithmatex">\(\lambda^k=\sum_w \Pr\{w\}^r\)</span>, une somme explicite sur les <span class="arithmatex">\(4^k\)</span> mots, alors que le calcul naïf tel que présenté ne somme sur rien — il traite <span class="arithmatex">\(w\)</span> comme donné.</p>
|
|
||||||
<p><strong>Donc l'approche naïve, formellement, c'est Karlin-Ost auquel il manque le facteur « nombre de k-mers testés ».</strong> Pour la rendre comparable à la question « dois-je m'attendre à <em>une</em> collision fortuite n'importe où dans mon jeu de données », il faudrait une correction à la Bonferroni : multiplier <span class="arithmatex">\(P(R\geq r\mid w)\)</span> par le nombre effectif de k-mers canoniques testables (<span class="arithmatex">\(\approx4^k/2\)</span>). Karlin-Ost fait cette correction analytiquement et correctement (avec en prime le facteur de déclumping <span class="arithmatex">\((1-\lambda)\)</span> qu'on a discuté, qui corrige le sur-comptage des matches chevauchants — une union bound brute comme le Bonferroni décrit ci-dessus le surestimerait légèrement).</p>
|
|
||||||
<p><strong>Ce qui veut dire, en pratique, que les deux outils ne sont pas concurrents mais complémentaires :</strong>
|
|
||||||
- <strong>Choix a priori de <span class="arithmatex">\(k\)</span> / FPR global du dataset</strong> (la question de <code>kmers.md</code> depuis le début de cette conversation) → Karlin-Ost, parce qu'il intègre nativement la multiplicité sur tous les mots possibles.
|
|
||||||
- <strong>Score de significativité a posteriori pour un k-mer effectivement observé dans l'index</strong> (« ce hit précis, présent dans <span class="arithmatex">\(r\)</span> génomes sur <span class="arithmatex">\(S\)</span>, est-il compatible avec le hasard ? ») → l'approche Poisson-binomiale est exactement le bon outil, et même préférable à Karlin-Ost pour cet usage : elle gère nativement des <span class="arithmatex">\(G_i\)</span> inégaux sans les subtilités de convergence du théorème 2.2, et elle donne directement une p-value par hit exploitable pour filtrer les résultats d'un index présence/absence — ce qui correspond bien à l'usage qu'a en tête ton correspondant.</p>
|
|
||||||
<p>Une seule réserve sur le texte proposé tel quel : <span class="arithmatex">\(p_i\simeq1-\exp(-G_i/4^k)\)</span> souffre du même biais que celui identifié plus tôt dans notre discussion — un mot de longueur <span class="arithmatex">\(k\)</span> n'est pas indépendant à chaque position (chevauchement), donc ce <span class="arithmatex">\(p_i\)</span> est un peu optimiste (légèrement trop haut) pour les mêmes raisons que <span class="arithmatex">\(E[C]\)</span> l'était. Négligeable pour <span class="arithmatex">\(k\geq21\)</span>, plus discutable à <span class="arithmatex">\(k=11\)</span>.</p>
|
|
||||||
<h2 id="chance-sharing-across-genomes-and-the-fdr-of-homology">Chance sharing across genomes and the FDR of homology</h2>
|
|
||||||
<p>The formulas above ask how likely a match is between two sequences. The question OBIKmer actually has to answer is different: a k-mer is found in <span class="arithmatex">\(r\)</span> of the <span class="arithmatex">\(S\)</span> indexed genomes, and one wants to know whether this sharing can be explained by chance or whether it is evidence of homology. This section builds a null model for that question and turns it into a false discovery rate (FDR) for the call "a k-mer shared by at least <span class="arithmatex">\(r\)</span> genomes is homologous".</p>
|
|
||||||
<h3 id="the-null-model">The null model</h3>
|
|
||||||
<p>The null hypothesis is that the <span class="arithmatex">\(S\)</span> genomes are unrelated, that is, that each one is an independent random sequence. Rejecting it for a k-mer means that chance alone cannot explain why the k-mer is shared, which is the signal of homology one is looking for.</p>
|
|
||||||
<p>The model only records whether a k-mer is present in a genome, not how many times. Two consequences follow. First, repeats inside a genome are irrelevant, and the size <span class="arithmatex">\(G_i\)</span> of genome <span class="arithmatex">\(i\)</span> is its number of <strong>distinct canonical k-mers</strong>. Second, a repeat family shared between genomes is paralogy, which is a form of homology; it is a true positive and not a false one. The only k-mers that could be shared by composition rather than by descent are low-complexity ones, which OBIKmer removes beforehand with its entropy filter.</p>
|
|
||||||
<p>Everything takes place in canonical space. Because <span class="arithmatex">\(k\)</span> is odd, no k-mer equals its own reverse complement, so the <span class="arithmatex">\(4^k\)</span> k-mers pair up perfectly and the space contains exactly</p>
|
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
N=\frac{4^k}{2}
|
q_r=P(X\geq r\mid X\geq 1)
|
||||||
|
=\frac{P_{\mathrm{null}}(X\geq r)}{P_{\mathrm{null}}(X\geq 1)}.
|
||||||
\]</div>
|
\]</div>
|
||||||
<p>canonical k-mers. A given canonical k-mer is present in genome <span class="arithmatex">\(i\)</span> by chance with probability</p>
|
<p>Let <span class="arithmatex">\(n_{\geq r}\)</span> be the number of distinct canonical k-mers observed in
|
||||||
|
at least <span class="arithmatex">\(r\)</span> genomes, and let <span class="arithmatex">\(n_{\geq 1}\)</span> be the total number of
|
||||||
|
distinct canonical k-mers recorded in the index. The observed proportion
|
||||||
|
of indexed k-mers shared by at least <span class="arithmatex">\(r\)</span> genomes is</p>
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
p_i = 1-\left(1-\frac1N\right)^{G_i}\simeq \frac{G_i}{N}=\frac{2\,G_i}{4^k}.
|
O_r=\frac{n_{\geq r}}{n_{\geq 1}}.
|
||||||
\]</div>
|
\]</div>
|
||||||
<p>This is twice the <span class="arithmatex">\(G/4^k\)</span> used earlier in this page, because there <span class="arithmatex">\(G\)</span> is a number of positions on one strand, whereas <span class="arithmatex">\(G_i\)</span> here counts canonical k-mers, for which both strands are already merged.</p>
|
<p>Under the random-sequence model, the expected proportion is <span class="arithmatex">\(q_r\)</span>. The
|
||||||
<p>Let <span class="arithmatex">\(R\)</span> be the number of genomes, out of <span class="arithmatex">\(S\)</span>, that contain a given canonical k-mer by chance. Genomes are independent under the null, so <span class="arithmatex">\(R\)</span> is a sum of independent presence indicators, each with its own probability <span class="arithmatex">\(p_i\)</span>.</p>
|
difference</p>
|
||||||
<h3 id="exact-tail-probability_1">Exact tail probability</h3>
|
|
||||||
<p>When genome sizes differ, the <span class="arithmatex">\(p_i\)</span> differ, and <span class="arithmatex">\(R\)</span> follows a Poisson-binomial distribution. Writing the probability of exactly <span class="arithmatex">\(j\)</span> presences as a sum over all subsets of <span class="arithmatex">\(j\)</span> genomes would be hopeless, since there are up to <span class="arithmatex">\(2^S\)</span> subsets. The distribution is instead obtained by adding the genomes one at a time. Let <span class="arithmatex">\(d_j\)</span> be the probability that exactly <span class="arithmatex">\(j\)</span> of the genomes processed so far contain the k-mer. Adding genome <span class="arithmatex">\(i\)</span> leaves <span class="arithmatex">\(j\)</span> unchanged if the genome does not contain the k-mer, and moves <span class="arithmatex">\(j-1\)</span> to <span class="arithmatex">\(j\)</span> if it does:</p>
|
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
d'_j = d_j\,(1-p_i) + d_{j-1}\,p_i, \qquad d_0=1 \text{ before the first genome.}
|
D_r=O_r-q_r
|
||||||
\]</div>
|
\]</div>
|
||||||
<p>The table <span class="arithmatex">\(d\)</span> only needs to remember how many genomes were hit, not which ones, and this brings the cost down to <span class="arithmatex">\(O(S^2)\)</span>. The result does not depend on the order in which the genomes are processed. It does not depend on the k-mer either, so it is computed once per index. The upper tail is then</p>
|
<p>therefore measures the excess or deficit of sharing relative to the null
|
||||||
|
expectation. Positive values indicate that k-mers are shared across
|
||||||
|
genomes more frequently than expected by chance, whereas negative values
|
||||||
|
indicate less frequent sharing. A value of zero indicates agreement with
|
||||||
|
the random-sequence model.</p>
|
||||||
|
<p>Since both <span class="arithmatex">\(O_r\)</span> and <span class="arithmatex">\(q_r\)</span> are proportions between zero and one, <span class="arithmatex">\(D_r\)</span>
|
||||||
|
is bounded:</p>
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
P_0(R\geq r) = 1-\sum_{j=0}^{r-1} d_j .
|
-1\leq D_r\leq 1.
|
||||||
\]</div>
|
\]</div>
|
||||||
<p>Only <span class="arithmatex">\(d_0,\dots,d_{r-1}\)</span> are needed, so the cost is <span class="arithmatex">\(O(S\,r)\)</span>.</p>
|
<p>More precisely, for a given <span class="arithmatex">\(q_r\)</span>, its bounds are <span class="arithmatex">\(-q_r\)</span> and <span class="arithmatex">\(1-q_r\)</span>. By
|
||||||
<h3 id="approximation-with-equal-genome-sizes">Approximation with equal genome sizes</h3>
|
construction, <span class="arithmatex">\(D_1=0\)</span>, since all k-mers recorded in the index occur in
|
||||||
<p>If all genomes are given the same size, taken as the mean</p>
|
at least one genome. Unlike a ratio-based measure, this difference
|
||||||
|
remains defined when no k-mers are observed in at least <span class="arithmatex">\(r\)</span> genomes.</p>
|
||||||
|
<h3 id="estimating-the-false-discovery-rate">Estimating the false discovery rate</h3>
|
||||||
|
<p>The probability <span class="arithmatex">\(P_{\mathrm{null}}(X\geq r)\)</span> applies to one specified canonical k-mer.
|
||||||
|
To estimate the number of k-mers that could reach this sharing threshold
|
||||||
|
by chance across the entire canonical k-mer space, this probability must
|
||||||
|
be considered over all <span class="arithmatex">\(M_k\)</span> possible canonical k-mers.</p>
|
||||||
|
<p>The expected number of chance k-mers present in at least <span class="arithmatex">\(r\)</span> genomes is</p>
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
\bar G=\frac1S\sum_{i=1}^{S}G_i, \qquad \bar p=\frac{2\bar G}{4^k},
|
E[\mathrm{FP}(r)]=M_kP_{\mathrm{null}}(X\geq r).
|
||||||
\]</div>
|
\]</div>
|
||||||
<p>then <span class="arithmatex">\(R\)</span> follows a plain binomial distribution and the tail is</p>
|
<p>The observed number of k-mers passing the threshold is <span class="arithmatex">\(n_{\geq r}\)</span>. An
|
||||||
|
estimate of the false discovery rate (FDR) for this set is therefore</p>
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
P_0(R\geq r)\simeq\sum_{j=r}^{S}\binom{S}{j}\,\bar p^{\,j}(1-\bar p)^{S-j}.
|
\widehat{\mathrm{FDR}}(r)=
|
||||||
|
\begin{cases}
|
||||||
|
1 & \text{if } n_{\geq r}=0,\\[4pt]
|
||||||
|
\displaystyle
|
||||||
|
\min\left(1,
|
||||||
|
\frac{M_k P_{\mathrm{null}}(X\geq r)}
|
||||||
|
{n_{\geq r}}\right)
|
||||||
|
& \text{otherwise}.
|
||||||
|
\end{cases}
|
||||||
\]</div>
|
\]</div>
|
||||||
<p>This sum is the regularized incomplete beta function <span class="arithmatex">\(I_{\bar p}(r,\,S-r+1)\)</span>, available in standard statistical libraries. If it is summed by hand, the terms are obtained one from the next by <span class="arithmatex">\(t_{j+1}=t_j\,\frac{S-j}{j+1}\,\frac{\bar p}{1-\bar p}\)</span>.</p>
|
<p>The numerator estimates the number of false positives under the null
|
||||||
<p>A theorem of Hoeffding (Hoeffding 1956)<sup id="fnref2:Hoeffding1956-bx"><a class="footnote-ref" href="#fn:Hoeffding1956-bx">1</a></sup> shows that this approximation errs on the safe side. For a fixed mean, the Poisson-binomial distribution is more concentrated than the binomial one, so for <span class="arithmatex">\(r\geq S\bar p+1\)</span> the binomial tail is never smaller than the exact tail. Using the mean genome size therefore overestimates the chance of sharing and can only make the FDR more pessimistic. Gleser (Gleser 1975)<sup id="fnref:Gleser1975-yu"><a class="footnote-ref" href="#fn:Gleser1975-yu">8</a></sup> refines this result: replacing the <span class="arithmatex">\(p_i\)</span> by any partial average of themselves, not only by their full mean, also moves the upper tail towards the binomial one, provided <span class="arithmatex">\(r-1\geq S\bar p+2\)</span>. Grouping genomes of similar size is therefore safe in the same sense. What it loses is power when genome sizes differ by orders of magnitude, since one large genome then weighs as much as several small ones in <span class="arithmatex">\(\bar p\)</span>.</p>
|
model, while the denominator is the observed number of k-mers passing
|
||||||
<p>When all <span class="arithmatex">\(p_i\)</span> are small, which is the case for large <span class="arithmatex">\(k\)</span>, the number of hits is also well approximated by a Poisson distribution of mean <span class="arithmatex">\(\lambda=\sum_i p_i\)</span>, with an error bounded by <span class="arithmatex">\(\sum_i p_i^2\)</span> (Le Cam 1960)<sup id="fnref:Le-Cam1960-pe"><a class="footnote-ref" href="#fn:Le-Cam1960-pe">9</a></sup>.</p>
|
the sharing threshold. This estimate assumes that all possible canonical
|
||||||
<p>For the numerical evaluation, the tail that does not contain the mode <span class="arithmatex">\(S\bar p\)</span> should be summed directly. When <span class="arithmatex">\(r>S\bar p\)</span>, computing the sum from <span class="arithmatex">\(j=r\)</span> upwards is accurate even for very small probabilities, whereas computing <span class="arithmatex">\(1\)</span> minus the sum of the lower terms loses all precision once the tail falls below the machine epsilon.</p>
|
k-mers are subject to the null model. It is therefore conservative in
|
||||||
<h3 id="false-discovery-rate">False discovery rate</h3>
|
the sense that it does not attempt to estimate the proportion of the
|
||||||
<p>The FDR of the call "present in at least <span class="arithmatex">\(r\)</span> genomes" is the fraction of retained k-mers expected to be pure chance:</p>
|
k-mer space corresponding to true homology. The estimate is capped at
|
||||||
<div class="arithmatex">\[
|
one because a proportion cannot exceed one.</p>
|
||||||
\widehat{\mathrm{FDR}}(r)=\min\!\left(1,\ \frac{N\,P_0(R\geq r)}{n_{\geq r}}\right).
|
<p>The distinction between <span class="arithmatex">\(D_r\)</span> and the FDR is important. <span class="arithmatex">\(D_r\)</span> compares
|
||||||
\]</div>
|
the observed and expected proportions among k-mers already present in
|
||||||
<p>The numerator is the number of k-mers expected to reach <span class="arithmatex">\(r\)</span> genomes by chance if the genomes were unrelated. Each of the <span class="arithmatex">\(N\)</span> canonical k-mers has probability <span class="arithmatex">\(P_0(R\geq r)\)</span> of doing so, and no further correction for multiple testing is needed because the number of tests is already in the product. The denominator <span class="arithmatex">\(n_{\geq r}\)</span> is the number of distinct k-mers actually observed in at least <span class="arithmatex">\(r\)</span> genomes, which is read directly from the index. The observed count mixes chance and true homology, so the ratio is an upper bound on the true FDR: it implicitly assumes that all k-mers are null, and it never underestimates the noise. The minimal <span class="arithmatex">\(r\)</span> for which <span class="arithmatex">\(\widehat{\mathrm{FDR}}(r)\)</span> falls below the accepted level, for example 5 %, is the sharing threshold to use.</p>
|
the index. The FDR estimate instead compares the expected number of
|
||||||
<p>As an illustration, take <span class="arithmatex">\(k=21\)</span> (so <span class="arithmatex">\(N=2.2\times10^{12}\)</span>), <span class="arithmatex">\(S=10\)</span> genomes and <span class="arithmatex">\(G_i=10^9\)</span> distinct canonical k-mers each, hence <span class="arithmatex">\(p=4.5\times10^{-4}\)</span>. The number of k-mers expected to be shared by chance is:</p>
|
chance k-mers in the entire canonical k-mer space with the observed
|
||||||
|
number passing the sharing threshold.</p>
|
||||||
|
<p>The smallest value of <span class="arithmatex">\(r\)</span> for which <span class="arithmatex">\(\widehat{\mathrm{FDR}}(r)\)</span> falls
|
||||||
|
below a chosen threshold, for example 5%, can be used as a minimum
|
||||||
|
sharing threshold. This interpretation is conditional on the assumptions
|
||||||
|
of the null model and should not be taken as a model-independent
|
||||||
|
guarantee of the biological false discovery rate.</p>
|
||||||
|
<p>As an illustration, consider <span class="arithmatex">\(k=21\)</span>, for which
|
||||||
|
<span class="arithmatex">\(M_k\simeq2.2\times10^{12}\)</span>, and an index containing <span class="arithmatex">\(S=10\)</span> genomes.
|
||||||
|
Suppose that the numbers of distinct canonical k-mers in these genomes
|
||||||
|
range from <span class="arithmatex">\(0.5\times10^9\)</span> to <span class="arithmatex">\(1.4\times10^9\)</span>, in increments of
|
||||||
|
<span class="arithmatex">\(0.1\times10^9\)</span>. Applying the Poisson-binomial model with the
|
||||||
|
corresponding genome-specific probabilities gives the following
|
||||||
|
expected numbers of k-mers shared by chance:</p>
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="text-align: right;"><span class="arithmatex">\(r\)</span></th>
|
<th style="text-align: right;"><span class="arithmatex">\(r\)</span></th>
|
||||||
<th style="text-align: right;"><span class="arithmatex">\(N\,P_0(R\geq r)\)</span></th>
|
<th style="text-align: right;"><span class="arithmatex">\(M_kP_{\mathrm{null}}(X\geq r)\)</span></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: right;">2</td>
|
<td style="text-align: right;">2</td>
|
||||||
<td style="text-align: right;"><span class="arithmatex">\(2\times10^{7}\)</span></td>
|
<td style="text-align: right;"><span class="arithmatex">\(1.82\times10^7\)</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: right;">3</td>
|
<td style="text-align: right;">3</td>
|
||||||
<td style="text-align: right;"><span class="arithmatex">\(2.5\times10^{4}\)</span></td>
|
<td style="text-align: right;"><span class="arithmatex">\(2.06\times10^4\)</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: right;">4</td>
|
<td style="text-align: right;">4</td>
|
||||||
<td style="text-align: right;"><span class="arithmatex">\(\approx 20\)</span></td>
|
<td style="text-align: right;"><span class="arithmatex">\(15\)</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: right;">5</td>
|
<td style="text-align: right;">5</td>
|
||||||
<td style="text-align: right;"><span class="arithmatex">\(\approx 0.01\)</span></td>
|
<td style="text-align: right;"><span class="arithmatex">\(0.0075\)</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p>Chance alone produces millions of pairwise shared 21-mers at this genome size, a few tens of thousands shared by three genomes, and almost none shared by five or more. Whether a given <span class="arithmatex">\(r\)</span> is acceptable then depends on how many k-mers the index actually reports at that level.</p>
|
<p>In this example, chance alone can produce many pairwise shared 21-mers,
|
||||||
|
whereas the expected number of k-mers shared by five or more genomes is
|
||||||
|
very small. Whether a given sharing threshold is sufficiently stringent
|
||||||
|
depends on the number of k-mers actually observed at that level.</p>
|
||||||
<h3 id="limits-of-the-model">Limits of the model</h3>
|
<h3 id="limits-of-the-model">Limits of the model</h3>
|
||||||
<ul>
|
<p>The FDR estimate is based on a simplified null model and has two
|
||||||
<li>The FDR is computed per k-mer. Neighbouring k-mers of a shared region overlap and are not independent, so a single homologous region contributes many correlated k-mers. A per-region FDR would count regions instead of k-mers and is not covered here.</li>
|
important limitations.</p>
|
||||||
<li>The probability <span class="arithmatex">\(p_i\)</span> assumes equiprobable, independent nucleotides. The composition biases discussed earlier in this page violate this assumption, and the resulting error is not accounted for.</li>
|
<p>First, the model assumes independent, equiprobable nucleotides. Real
|
||||||
</ul>
|
genomes exhibit nucleotide-composition biases, oligonucleotide
|
||||||
<hr />
|
dependencies, and repeated sequences. These properties can increase the
|
||||||
<p>Je n'ai rien modifié. Voici la formalisation des deux points, à valider avant de l'écrire dans <code>kmers.md</code>.</p>
|
probability of particular k-mers beyond the uniform expectation.
|
||||||
<h2 id="1-fdr-dun-ensemble-de-k-mers-selectionnes">1. FDR d'un ensemble de k-mers sélectionnés</h2>
|
Removing low-complexity k-mers reduces some of these effects but does
|
||||||
<p><strong>Estimation de l'espérance du nombre de faux positifs.</strong> Soit <span class="arithmatex">\(M\)</span> le nombre de k-mers canoniques testés, <span class="arithmatex">\(M = 4^k/2\)</span> pour k impair. Soit <span class="arithmatex">\(q(r)=P(X\ge r)\)</span> la queue du modèle nul. Le nombre attendu de k-mers présents par hasard dans au moins <span class="arithmatex">\(r\)</span> génomes vaut</p>
|
not eliminate all compositional biases. Karlin and colleagues showed
|
||||||
<div class="arithmatex">\[
|
that relative oligonucleotide abundances, including dinucleotide
|
||||||
E[\mathrm{FP}(r)] = M\,q(r).
|
frequencies, form characteristic genomic signatures that can differ
|
||||||
\]</div>
|
between organisms and remain relatively stable within genomes
|
||||||
<p>Cette égalité est exacte par linéarité de l'espérance, même si les k-mers chevauchants sont dépendants. La dépendance n'affecte que la variance, pas l'espérance. Seule l'approximation de Poisson par génome reste une approximation.</p>
|
(Karlin <em>et al.</em> 1994; Karlin & Burge 1995)<sup id="fnref:Karlin1995-lt"><a class="footnote-ref" href="#fn:Karlin1995-lt">1</a></sup> <sup id="fnref:Karlin1994-on"><a class="footnote-ref" href="#fn:Karlin1994-on">2</a></sup>.</p>
|
||||||
<p><strong>FDR.</strong> Soit <span class="arithmatex">\(N(r)=\#\{i : r_i\ge r\}\)</span> le nombre observé de k-mers couvrant au moins <span class="arithmatex">\(r\)</span> génomes. Alors</p>
|
<p>Second, the FDR is computed per k-mer. Consecutive k-mers extracted from
|
||||||
<div class="arithmatex">\[
|
the same homologous region overlap and are therefore not independent
|
||||||
\mathrm{FDR}(r)=\min\!\Big(1,\ \frac{M\,q(r)}{N(r)}\Big).
|
observations. A single homologous region can contribute many correlated
|
||||||
\]</div>
|
k-mers to the index. The estimate presented here consequently describes
|
||||||
<p>Cette estimation est légèrement conservatrice. Elle suppose <span class="arithmatex">\(\pi_0=1\)</span>, c'est-à-dire que presque tout l'espace <span class="arithmatex">\(M\)</span> est nul, ce qui est vrai pour k grand.</p>
|
the expected fraction of chance k-mers, not the fraction of false
|
||||||
<p><strong>Ensemble hétérogène en <span class="arithmatex">\(r_i\)</span>.</strong> Si le jeu n'est pas défini par un seuil unique, on utilise le local fdr par classe de couverture :</p>
|
homologous regions. A region-level FDR would require a model that treats
|
||||||
<div class="arithmatex">\[
|
matching regions, rather than individual k-mers, as the units of
|
||||||
\mathrm{fdr}(r)=\frac{M\,P(X=r)}{N_r},\qquad N_r=\#\{i : r_i=r\}.
|
observation.</p>
|
||||||
\]</div>
|
|
||||||
<p>Le FDR de l'ensemble est alors la moyenne <span class="arithmatex">\(\frac1N\sum_i \mathrm{fdr}(r_i)\)</span>. Pour un ensemble défini par seuil <span class="arithmatex">\(r_{\min}\)</span>, cela redonne exactement la formule précédente.</p>
|
|
||||||
<p><strong>Remarque.</strong> <span class="arithmatex">\(M\,p\approx G\)</span>, d'où <span class="arithmatex">\(E[\mathrm{FP}(r)]\approx\binom{S}{r}\,G^r/M^{r-1}\)</span> en régime de petits <span class="arithmatex">\(p\)</span>. Cela donne une lecture directe de la quantité.</p>
|
|
||||||
<h2 id="2-markov-dordre-0-avec-frequences-inegales">2. Markov d'ordre 0 avec fréquences inégales</h2>
|
|
||||||
<p>Soit <span class="arithmatex">\(\pi_b\)</span> la fréquence du nucléotide <span class="arithmatex">\(b\)</span>. Pour un k-mer <span class="arithmatex">\(w\)</span> de composition <span class="arithmatex">\(n=(n_A,n_C,n_G,n_T)\)</span> avec <span class="arithmatex">\(\sum n_b=k\)</span>, on a <span class="arithmatex">\(P(w)=\prod_b \pi_b^{n_b}\)</span>.</p>
|
|
||||||
<p><strong>Attendu par génome.</strong> Le k-mer canonique <span class="arithmatex">\(K=\{w,\overline w\}\)</span> est vu quand le brin direct porte <span class="arithmatex">\(w\)</span> ou <span class="arithmatex">\(\overline w\)</span>, donc</p>
|
|
||||||
<div class="arithmatex">\[
|
|
||||||
\lambda_K = G\,\big(P(w)+P(\overline w)\big)=G\Big(\prod_b\pi_b^{n_b}+\pi_A^{n_T}\pi_T^{n_A}\pi_C^{n_G}\pi_G^{n_C}\Big).
|
|
||||||
\]</div>
|
|
||||||
<p>Cela ne dépend que de la composition. Si <span class="arithmatex">\(\pi_A=\pi_T\)</span> et <span class="arithmatex">\(\pi_C=\pi_G\)</span>, on retrouve <span class="arithmatex">\(2P(w)\)</span>.</p>
|
|
||||||
<p><strong>Faux positifs.</strong> Le test n'est plus homogène : chaque composition a sa propre <span class="arithmatex">\(p(n)=1-e^{-\lambda(n)}\)</span>. Il faut donc sommer sur les classes de composition (un k-mer et son complément inverse partagent le même <span class="arithmatex">\(\lambda\)</span>, d'où le facteur ½) :</p>
|
|
||||||
<div class="arithmatex">\[
|
|
||||||
E[\mathrm{FP}(r)]=\frac12\sum_{n}\binom{k}{n_A,n_C,n_G,n_T}\,P\big(X\ge r\mid p(n)\big).
|
|
||||||
\]</div>
|
|
||||||
<p>Cette somme porte sur <span class="arithmatex">\(\binom{k+3}{3}\)</span> compositions, soit 5 984 pour k = 31. Elle est donc légère avec la binomiale de la moyenne, ou avec une Poisson-binomiale par composition si les <span class="arithmatex">\(G_i\)</span> diffèrent. Si les <span class="arithmatex">\(\pi_b\)</span> varient d'un génome à l'autre (GC différent), les <span class="arithmatex">\(p_i(n)\)</span> se construisent par génome.</p>
|
|
||||||
<p><strong>Effet attendu.</strong> La moyenne de <span class="arithmatex">\(\lambda_w\)</span> sur tous les k-mers reste <span class="arithmatex">\(2G/4^k\)</span>, car <span class="arithmatex">\(\sum_w P(w)=1\)</span>. Dans le régime de petits <span class="arithmatex">\(p\)</span>, le terme dominant <span class="arithmatex">\(\binom{S}{r}p^r\)</span> est convexe en <span class="arithmatex">\(\lambda\)</span>. Par Jensen, le modèle équiprobable est donc le minimum de <span class="arithmatex">\(E[\mathrm{FP}]\)</span>, et la déviation de composition ne peut qu'augmenter le FDR. Les k-mers riches en AT ou GC dominent la somme, ce qui rejoint ton remarque sur la faible complexité. C'est un résultat sur le terme dominant, pas une preuve pour la queue exacte.</p>
|
|
||||||
<p><strong>Limites à signaler dans le texte.</strong> Markov 0 ignore les dinucléotides, comme les CpG ou les répétitions, et le <span class="arithmatex">\(M\)</span> du modèle nul reste celui de l'espace total.</p>
|
|
||||||
<p>Veux-tu que j'écrive ces deux sections, avec les corrections de numérique évoquées plus haut (<code>expm1</code>, somme directe de la queue) ?</p>
|
|
||||||
<div class="footnote">
|
<div class="footnote">
|
||||||
<hr />
|
<hr />
|
||||||
<ol>
|
<ol>
|
||||||
<li id="fn:Hoeffding1956-bx">
|
<li id="fn:Karlin1995-lt">
|
||||||
<p>Hoeffding W (1956) <a href="https://doi.org/10.1214/aoms/1177728178">[On the distribution of the number of successes in independent trials]{.nocase}</a>. <em>The Annals of Mathematical Statistics</em>, <strong>27</strong>, 713--721. <a class="footnote-backref" href="#fnref:Hoeffding1956-bx" title="Jump back to footnote 1 in the text">↩</a><a class="footnote-backref" href="#fnref2:Hoeffding1956-bx" title="Jump back to footnote 1 in the text">↩</a></p>
|
<p>Karlin S, Burge C (1995) <a href="https://doi.org/10.1016/s0168-9525(00)89076-9">[Dinucleotide relative abundance extremes: a genomic signature]{.nocase}</a>. <em>Trends in Genetics: TIG</em>, <strong>11</strong>, 283--290. <a class="footnote-backref" href="#fnref:Karlin1995-lt" title="Jump back to footnote 1 in the text">↩</a></p>
|
||||||
</li>
|
</li>
|
||||||
<li id="fn:Fraser1995-jc">
|
<li id="fn:Karlin1994-on">
|
||||||
<p>Fraser CM, Gocayne JD, White O, Adams MD, Clayton RA, Fleischmann RD, Bult CJ, Kerlavage AR, Sutton G, Kelley JM, Fritchman RD, Weidman JF, Small KV, Sandusky M, Fuhrmann J, Nguyen D, Utterback TR, Saudek DM, Phillips CA, Merrick JM, Tomb JF, Dougherty BA, Bott KF, Hu PC, Lucier TS, Peterson SN, Smith HO, Hutchison CA 3rd, Venter JC (1995) <a href="https://doi.org/10.1126/science.270.5235.397">The minimal gene complement of mycoplasma genitalium</a>. <em>Science (New York, N.Y.)</em>, <strong>270</strong>, 397--403. <a class="footnote-backref" href="#fnref:Fraser1995-jc" title="Jump back to footnote 2 in the text">↩</a></p>
|
<p>Karlin S, Ladunga I, Blaisdell BE (1994) <a href="https://doi.org/10.1073/pnas.91.26.12837">[Heterogeneity of genomes: measures and values]{.nocase}</a>. <em>Proceedings of the National Academy of Sciences of the United States of America</em>, <strong>91</strong>, 12837--12841. <a class="footnote-backref" href="#fnref:Karlin1994-on" title="Jump back to footnote 2 in the text">↩</a></p>
|
||||||
</li>
|
|
||||||
<li id="fn:Schneiker2007-gs">
|
|
||||||
<p>Schneiker S, Perlova O, Kaiser O, Gerth K, Alici A, Altmeyer MO, Bartels D, Bekel T, Beyer S, Bode E, Bode HB, Bolten CJ, Choudhuri JV, Doss S, Elnakady YA, Frank B, Gaigalat L, Goesmann A, Groeger C, Gross F, Jelsbak L, Jelsbak L, Kalinowski J, Kegler C, Knauber T, Konietzny S, Kopp M, Krause L, Krug D, Linke B, Mahmud T, Martinez-Arias R, McHardy AC, Merai M, Meyer F, Mormann S, Muñoz-Dorado J, Perez J, Pradella S, Rachid S, Raddatz G, Rosenau F, Rückert C, Sasse F, Scharfe M, Schuster SC, Suen G, Treuner-Lange A, Velicer GJ, Vorhölter F-J, Weissman KJ, Welch RD, Wenzel SC, Whitworth DE, Wilhelm S, Wittmann C, Blöcker H, Pühler A, Müller R (2007) <a href="https://doi.org/10.1038/nbt1354">Complete genome sequence of the myxobacterium sorangium cellulosum</a>. <em>Nature Biotechnology</em>, <strong>25</strong>, 1281--1289. <a class="footnote-backref" href="#fnref:Schneiker2007-gs" title="Jump back to footnote 3 in the text">↩</a></p>
|
|
||||||
</li>
|
|
||||||
<li id="fn:Fleischmann2014-ed">
|
|
||||||
<p>Fleischmann A, Michael TP, Rivadavia F, Sousa A, Wang W, Temsch EM, Greilhuber J, Müller KF, Heubl G (2014) <a href="https://doi.org/10.1093/aob/mcu189">Evolution of genome size and chromosome number in the carnivorous plant genus genlisea (lentibulariaceae), with a new estimate of the minimum genome size in angiosperms</a>. <em>Annals of Botany</em>, <strong>114</strong>, 1651--1663. <a class="footnote-backref" href="#fnref:Fleischmann2014-ed" title="Jump back to footnote 4 in the text">↩</a></p>
|
|
||||||
</li>
|
|
||||||
<li id="fn:Fernandez2024-kd">
|
|
||||||
<p>Fernández P, Amice R, Bruy D, Christenhusz MJM, Leitch IJ, Leitch AL, Pokorny L, Hidalgo O, Pellicer J (2024) <a href="https://doi.org/10.1016/j.isci.2024.109889">A 160 gbp fork fern genome shatters size record for eukaryotes</a>. <em>iScience</em>, <strong>27</strong>, 109889. <a class="footnote-backref" href="#fnref:Fernandez2024-kd" title="Jump back to footnote 5 in the text">↩</a></p>
|
|
||||||
</li>
|
|
||||||
<li id="fn:Karlin1988">
|
|
||||||
<p>Karlin S, Ost F (1988) Maximal length of common words among random letter sequences. <em>The Annals of Probability</em>, <strong>16</strong>, 535--563. <a class="footnote-backref" href="#fnref:Karlin1988" title="Jump back to footnote 6 in the text">↩</a></p>
|
|
||||||
</li>
|
|
||||||
<li id="fn:Karlin1985">
|
|
||||||
<p>Karlin S, Ost F (1985) Maximal segmental match length among random sequences from a finite alphabet. In: <em>Proceedings of the berkeley conference in honor of jerzy neyman and jack kiefer</em> (eds Le Cam LM, Olshen RA), pp. 225--243. Wadsworth, Monterey, CA. <a class="footnote-backref" href="#fnref:Karlin1985" title="Jump back to footnote 7 in the text">↩</a></p>
|
|
||||||
</li>
|
|
||||||
<li id="fn:Gleser1975-yu">
|
|
||||||
<p>Gleser LJ (1975) <a href="https://doi.org/10.1214/aop/1176996461">[On the distribution of the number of successes in independent trials]{.nocase}</a>. <em>Annals of Probability</em>, <strong>3</strong>, 182--188. <a class="footnote-backref" href="#fnref:Gleser1975-yu" title="Jump back to footnote 8 in the text">↩</a></p>
|
|
||||||
</li>
|
|
||||||
<li id="fn:Le-Cam1960-pe">
|
|
||||||
<p>Le Cam L (1960) <a href="https://doi.org/10.2140/pjm.1960.10.1181">[An approximation theorem for the Poisson binomial distribution]{.nocase}</a>. <em>Pacific Journal of Mathematics</em>, <strong>10</strong>, 1181--1197. <a class="footnote-backref" href="#fnref:Le-Cam1960-pe" title="Jump back to footnote 9 in the text">↩</a></p>
|
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Minimizer selection - obikmer — User Guide</title>
|
<title>Minimizer selection - obiskim — User Guide</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../../.." title="obikmer — User Guide" class="md-header__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../../.." title="obiskim — User Guide" class="md-header__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../../.." title="obikmer — User Guide" class="md-nav__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../../.." title="obiskim — User Guide" class="md-nav__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
@@ -1571,7 +1571,7 @@
|
|||||||
<h1 id="minimizer-selection">Minimizer selection</h1>
|
<h1 id="minimizer-selection">Minimizer selection</h1>
|
||||||
<h2 id="definition">Definition</h2>
|
<h2 id="definition">Definition</h2>
|
||||||
<p>The <strong>minimizer</strong> of a k-mer is the canonical form of the m-mer that is smallest according to a chosen ordering among the <span class="arithmatex">\(k-m+1\)</span> overlapping m-mers contained in the k-mer, with <span class="arithmatex">\(m<k\)</span> (Roberts <em>et al.</em> 2004)<sup id="fnref:Roberts2004-rz"><a class="footnote-ref" href="#fn:Roberts2004-rz">1</a></sup>. Canonical form is the same operation defined for a full kmer (see <a href="../encoding/">DNA encoding</a>), applied here to an m-mer <span class="arithmatex">\(s\)</span> instead: <span class="arithmatex">\(s^c = \min_{\mathrm{lex}}\left(s,\operatorname{RC}(s)\right)\)</span>.</p>
|
<p>The <strong>minimizer</strong> of a k-mer is the canonical form of the m-mer that is smallest according to a chosen ordering among the <span class="arithmatex">\(k-m+1\)</span> overlapping m-mers contained in the k-mer, with <span class="arithmatex">\(m<k\)</span> (Roberts <em>et al.</em> 2004)<sup id="fnref:Roberts2004-rz"><a class="footnote-ref" href="#fn:Roberts2004-rz">1</a></sup>. Canonical form is the same operation defined for a full kmer (see <a href="../encoding/">DNA encoding</a>), applied here to an m-mer <span class="arithmatex">\(s\)</span> instead: <span class="arithmatex">\(s^c = \min_{\mathrm{lex}}\left(s,\operatorname{RC}(s)\right)\)</span>.</p>
|
||||||
<p>In <strong>OBIkmer</strong>, canonical m-mers are ordered according to a deterministic hash function <span class="arithmatex">\(H\)</span> applied to their canonical form:</p>
|
<p>In <strong>obiskim</strong>, canonical m-mers are ordered according to a deterministic hash function <span class="arithmatex">\(H\)</span> applied to their canonical form:</p>
|
||||||
<div class="arithmatex">\[
|
<div class="arithmatex">\[
|
||||||
s_1^c <_h s_2^c
|
s_1^c <_h s_2^c
|
||||||
\quad\Longleftrightarrow\quad
|
\quad\Longleftrightarrow\quad
|
||||||
@@ -1590,7 +1590,7 @@ j=\underset{i}{\operatorname{argmin}}\;H(s_i^c).
|
|||||||
<p>In other words, the hash function defines the ordering of canonical m-mers, while the minimizer itself is the canonical form of the m-mer selected by that ordering.</p>
|
<p>In other words, the hash function defines the ordering of canonical m-mers, while the minimizer itself is the canonical form of the m-mer selected by that ordering.</p>
|
||||||
<p>Applying the minimizer to consecutive k-mers partitions a sequence into super-kmers (see <a href="../superkmers/">Super-kmers</a>).</p>
|
<p>Applying the minimizer to consecutive k-mers partitions a sequence into super-kmers (see <a href="../superkmers/">Super-kmers</a>).</p>
|
||||||
<h2 id="hash-based-minimizer-ordering">Hash-based minimizer ordering</h2>
|
<h2 id="hash-based-minimizer-ordering">Hash-based minimizer ordering</h2>
|
||||||
<p><code>obikmer</code> selects minimizers by hash order rather than plain lexicographic order. Ordering m-mers lexicographically on their 2-bit encoding systematically favors AT-rich m-mers (an all-A m-mer always encodes to 0), which causes low-complexity regions to dominate as minimizers and produces unbalanced partitions (Zheng <em>et al.</em> 2020, 2021; Kille <em>et al.</em> 2023; Pan & Reinert 2024; Golan & Shur 2025)<sup id="fnref:Zheng2020-ji"><a class="footnote-ref" href="#fn:Zheng2020-ji">2</a></sup> <sup id="fnref:Zheng2021-cc"><a class="footnote-ref" href="#fn:Zheng2021-cc">3</a></sup> <sup id="fnref:Pan2024-hb"><a class="footnote-ref" href="#fn:Pan2024-hb">4</a></sup> <sup id="fnref:Kille2023-px"><a class="footnote-ref" href="#fn:Kille2023-px">5</a></sup> <sup id="fnref:Golan2025-xf"><a class="footnote-ref" href="#fn:Golan2025-xf">6</a></sup>.</p>
|
<p><code>obiskim</code> selects minimizers by hash order rather than plain lexicographic order. Ordering m-mers lexicographically on their 2-bit encoding systematically favors AT-rich m-mers (an all-A m-mer always encodes to 0), which causes low-complexity regions to dominate as minimizers and produces unbalanced partitions (Zheng <em>et al.</em> 2020, 2021; Kille <em>et al.</em> 2023; Pan & Reinert 2024; Golan & Shur 2025)<sup id="fnref:Zheng2020-ji"><a class="footnote-ref" href="#fn:Zheng2020-ji">2</a></sup> <sup id="fnref:Zheng2021-cc"><a class="footnote-ref" href="#fn:Zheng2021-cc">3</a></sup> <sup id="fnref:Pan2024-hb"><a class="footnote-ref" href="#fn:Pan2024-hb">4</a></sup> <sup id="fnref:Kille2023-px"><a class="footnote-ref" href="#fn:Kille2023-px">5</a></sup> <sup id="fnref:Golan2025-xf"><a class="footnote-ref" href="#fn:Golan2025-xf">6</a></sup>.</p>
|
||||||
<p>Instead, a well-distributed hash function <span class="arithmatex">\(H\)</span> is applied to the canonical (lexicographically minimal) form of each m-mer, and the m-mer with the smallest <span class="arithmatex">\(H\)</span> value wins. Because <span class="arithmatex">\(H\)</span> is a bijective mixing function with good avalanche properties (Steele <em>et al.</em> 2014)<sup id="fnref:Steele2014-cz"><a class="footnote-ref" href="#fn:Steele2014-cz">7</a></sup>, its output behaves approximately as a composition-independent pseudorandom ordering of distinct m-mers. Under the usual random-hash assumption, each distinct m-mer in a window has approximately the same probability of being the minimum, independently of nucleotide composition.</p>
|
<p>Instead, a well-distributed hash function <span class="arithmatex">\(H\)</span> is applied to the canonical (lexicographically minimal) form of each m-mer, and the m-mer with the smallest <span class="arithmatex">\(H\)</span> value wins. Because <span class="arithmatex">\(H\)</span> is a bijective mixing function with good avalanche properties (Steele <em>et al.</em> 2014)<sup id="fnref:Steele2014-cz"><a class="footnote-ref" href="#fn:Steele2014-cz">7</a></sup>, its output behaves approximately as a composition-independent pseudorandom ordering of distinct m-mers. Under the usual random-hash assumption, each distinct m-mer in a window has approximately the same probability of being the minimum, independently of nucleotide composition.</p>
|
||||||
<p>The canonical form used as input to <span class="arithmatex">\(H\)</span> is still the lexicographic minimum of forward/reverse-complement — hashing is applied on top of it, not used to redefine it. Defining canonicity by hash value instead would bias the <em>distribution of hash values themselves</em> toward small values (the minimum of two independent hashes is not uniformly distributed), reintroducing a bias one layer down.</p>
|
<p>The canonical form used as input to <span class="arithmatex">\(H\)</span> is still the lexicographic minimum of forward/reverse-complement — hashing is applied on top of it, not used to redefine it. Defining canonicity by hash value instead would bias the <em>distribution of hash values themselves</em> toward small values (the minimum of two independent hashes is not uniformly distributed), reintroducing a bias one layer down.</p>
|
||||||
<h3 id="hash-function">Hash function</h3>
|
<h3 id="hash-function">Hash function</h3>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Super-kmers - obikmer — User Guide</title>
|
<title>Super-kmers - obiskim — User Guide</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<header class="md-header md-header--shadow" data-md-component="header">
|
<header class="md-header md-header--shadow" data-md-component="header">
|
||||||
<nav class="md-header__inner md-grid" aria-label="Header">
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
||||||
<a href="../../.." title="obikmer — User Guide" class="md-header__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../../.." title="obiskim — User Guide" class="md-header__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<div class="md-header__ellipsis">
|
<div class="md-header__ellipsis">
|
||||||
<div class="md-header__topic">
|
<div class="md-header__topic">
|
||||||
<span class="md-ellipsis">
|
<span class="md-ellipsis">
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-header__topic" data-md-component="header-topic">
|
<div class="md-header__topic" data-md-component="header-topic">
|
||||||
@@ -138,13 +138,13 @@
|
|||||||
|
|
||||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||||
<label class="md-nav__title" for="__drawer">
|
<label class="md-nav__title" for="__drawer">
|
||||||
<a href="../../.." title="obikmer — User Guide" class="md-nav__button md-logo" aria-label="obikmer — User Guide" data-md-component="logo">
|
<a href="../../.." title="obiskim — User Guide" class="md-nav__button md-logo" aria-label="obiskim — User Guide" data-md-component="logo">
|
||||||
|
|
||||||
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
obikmer — User Guide
|
obiskim — User Guide
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<ul class="md-nav__list" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-scrollfix>
|
||||||
|
|||||||
Loaded 100 of 168 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user