about summary refs log tree commit diff
path: root/sourcecodes/data/example_sci
diff options
context:
space:
mode:
authorPjotr <wrk@bosa.lan>2026-11-12 16:31:57 +0000
committerPjotr <wrk@bosa.lan>2026-11-12 16:31:57 +0000
commit7daeb84295f076fb38dcc80d226e85471719a873 (patch)
tree619cd768096f2e1a0035ae9682c97e89aaa2d1bb /sourcecodes/data/example_sci
parent19ad8e49cd6a26645945cad61acbd041bd85aa34 (diff)
downloadgn-bnw-7daeb84295f076fb38dcc80d226e85471719a873.tar.gz
Plan for embedding BNW in GeneNetwork4, and an ai-memory store here
BNW's computation is three C programs driven by run.sh over files in a
per-run directory: network_score (local scores, links libRmath),
k-best/src/data2netk_poster.sh (posterior per candidate edge) and structure
(adjacency at a threshold). The PHP layer above them only builds those files
and renders the result, so an endpoint does not need PHP and does not need the
web app: it needs a private directory instead of the hardcoded
/var/lib/genenet/bnw, the same three binaries, and the two files they leave
behind -- structure_input.txt and postProbEachEdge.txt -- as its output.

info_files/gn4-integration-plan.md sets out the phases against the engines GN4
has already embedded (bulklmm, qtl2, ravanan): golden files from the existing
container first; a driver that runs the C programs without PHP and is
byte-comparable to them; POST /compute/bnw taking a dataset+probes, group+
traits or a basket, gated by variables x samples rather than individuals;
POST /plot/bnw rendering the SVG from the posted edges; then the part
GeneNetwork actually wants -- module scores returned in the shape of trait
values, so they plug straight into /compute/rqtl and /compute/gemma -- and
tests that compare against the golden files.

Risks named in order: combinatorics at 30 nodes, the global directory, whether
the k-best search is deterministic (settle it before promising golden-file
parity), discrete vs continuous networks (continuous first), and libRmath/
Python/Octave creep into the GN4 profile.

Also initialises an ai-memory store for this repository (168 commits, 170
symbols) and ignores it in .gitignore, so the reasoning behind the endpoint
accrues where the code lives.
Diffstat (limited to 'sourcecodes/data/example_sci')
0 files changed, 0 insertions, 0 deletions