Performance investigations: Pixi and BWA-MEM3

Status on 2026-10-26: #121 is closed with Pixi adoption deferred; the #122 evaluation recommends deferring broader adoption. BWA-MEM3 plain mode is available as an optional integration, with BWA-MEM2 still the default. This records the F1/F2 investigation work from #124 for #121/#122. Existing package, execution, index and reporting defaults are unchanged.

Recorded local evidence

Machine-readable BWA observations are in scripts/performance/measurements/. Pixi trial results are summarized here, with compact raw measurements in scripts/performance/measurements/pixi-env-install-cold.json. Measurements refer to this agent’s environment, which differs from the user’s comprehensive local test environment.

Observation

Result

What it establishes

Installed tools

Pixi 0.76.1, uv 0.12.2, micromamba 2.3.2, Nextflow 26.04.2, OpenJDK 21.0.12.1

PATH inventory, not environment parity

pixi info on isolated prototype

Three successful runs; median approximately 0.041 s

Manifest parses; this is metadata/startup timing only

Pixi locked runtime install

Three fresh-cache Linux x86_64 trials: median 9.65 s (8.76–10.47), median 249 MiB peak RSS (247–249), 1.29 GiB combined cache/prefix disk use

Locked install from an existing Pixi lock; one machine, network enabled, OS cache not evicted

Micromamba runtime create

Three fresh-root Linux x86_64 trials with matching direct versions: median 35.18 s (31.56–42.47), median 1,413 MiB peak RSS (1,412–1,417), 2.66 GiB combined root disk use

Includes dependency solving and installation; 94 Pixi vs 98 micromamba packages

Warm environment install

Three idempotent trials each; Pixi median 0.060 s, micromamba median 5.862 s

Cached no-op install comparison only; not environment creation or update performance

Historical CLI / Nextflow startup

Three fresh processes each from the earlier mixed-owner manifest: Pixi CLI median 1.31 s; Pixi Nextflow 1.06 s; container CLI 1.66 s; Nextflow 1.44 s

Nextflow versions differed (25.10.2 vs 26.10.3); superseded by the matched direct-version image comparison below

Historical Pixi application startup

Earlier editable install pinned the PyPI launcher to 25.10.2 and pointed NXF_DIST at the Conda framework JAR

Historical mixed-owner setup; current 26.10.3 container smoke is recorded below

BWA comparison

Official MEM2 2.2.1 and source-built MEM3 0.15.0 passed controlled synthetic and 320-guide chr21 SAM parity and independent exact-match checks

Limited compatibility evidence, with compiler caveat below

Historical host tool inventory

samtools and RNAfold were unavailable on PATH

Both are included and version-checked in the current Pixi container/CI comparison below

The repository’s existing uv cache was read-only in this session. Commands below use the existing .venv Python directly; no global tools were installed.

The cold install comparison used Pixi 0.76.1 against micromamba 2.3.2 on Linux x86_64/WSL. Both runtime environments pinned Python 3.12.15, Nextflow 25.10.2, OpenJDK 17.0.18, BWA-MEM2 2.2.1, samtools 1.24, pysam 0.24.1, and ViennaRNA 2.7.0. The Pixi trials used pixi install --locked against a pre-existing lock. The micromamba trials used micromamba create from direct version constraints, so those timings include dependency solving as well as installation. This asymmetric lifecycle comparison does not isolate installer performance. The Pixi lock resolved 94 packages; the micromamba baseline resolved 98, including four additional Python packaging tools, so only the requested direct versions match. Each of three trials used a fresh manager cache/root and environment prefix. Network downloads were enabled and the OS file cache was not evicted; results include network and shared-host effects. Disk use is the allocated size of the manager cache/root plus environment prefix, with hardlinks deduplicated inside each measurement. Raw commands, trial metrics, closure counts, and checksums are in scripts/performance/measurements/pixi-env-install-cold.json. Warm results reran each manager’s install/sync command against its already-created environment; they measure a no-op check, not a warm environment creation.

The historical Pixi host-startup observations are in scripts/performance/measurements/pixi-runtime-startup.json. The installed Pixi environment from that trial occupied 1.4 GiB by du (2,107,751,371 apparent bytes) and used a separate 312 MiB cache; these do not represent an image. That trial used the earlier mixed-owner manifest, and its host pixi run startup measurements were not repeated. The current Docker startup comparison is recorded below. Trial ranges have no OS cache eviction.

The following commands are historical. The Pixi manifest/lock are from the measured revision f4626b7; the current manifest has different direct versions and must not be substituted when reproducing these old trials.

mkdir -p /tmp/pixi-historical
git show f4626b7:scripts/performance/pixi/pixi.toml > /tmp/pixi-historical/pixi.toml
git show f4626b7:scripts/performance/pixi/pixi.lock > /tmp/pixi-historical/pixi.lock

Use fresh roots/prefixes for cold trials and the same roots for warm no-op trials:

PIXI_CACHE_DIR=/tmp/pixi-cold pixi install --locked \
  --manifest-path /tmp/pixi-historical/pixi.toml --environment runtime
MAMBA_ROOT_PREFIX=/tmp/mamba-cold micromamba create -y \
  -n runtime -c conda-forge -c bioconda \
  python=3.12.15 nextflow=25.10.2 openjdk=17.0.18 bwa-mem2=2.2.1 \
  samtools=1.24 pysam=0.24.1 viennarna=2.7.0
PIXI_CACHE_DIR=/tmp/pixi-cold pixi install --locked \
  --manifest-path /tmp/pixi-historical/pixi.toml --environment runtime
MAMBA_ROOT_PREFIX=/tmp/mamba-cold micromamba install -y -n runtime \
  -c conda-forge -c bioconda \
  python=3.12.15 nextflow=25.10.2 openjdk=17.0.18 bwa-mem2=2.2.1 \
  samtools=1.24 pysam=0.24.1 viennarna=2.7.0

Record timing with scripts/performance/review.py measure as described below; for cold installation, set the manager-specific roots to new paths for every repetition. The install commands above document direct requirements, not an identical transitive closure or a matched solve/install lifecycle. A fair locked micromamba comparison would require an explicit exported lock/spec.

Pixi container comparison (Linux x86_64)

The disposable image uses a generated context because .dockerignore excludes the prototype. From the repository root, build it with:

ctx=/tmp/sirnaforge-pixi-build-context
mkdir -p "$ctx/scripts/performance/pixi"
cp pyproject.toml README.md LICENSE "$ctx/"
cp -a src "$ctx/"
cp scripts/performance/pixi/{pixi.toml,pixi.lock,Dockerfile,conda-shim.sh,micromamba-activate.sh} \
  "$ctx/scripts/performance/pixi/"
docker build --no-cache -f scripts/performance/pixi/Dockerfile \
  -t sirnaforge-pixi-review:latest "$ctx"

The runtime installs procps for Nextflow task metrics and sets writable HOME and Nextflow paths under /tmp/nextflow for numeric UIDs. Run as UID 12345 with a writable current directory:

docker run --rm --user 12345:12345 -w /tmp/nextflow \
  sirnaforge-pixi-review:latest --help

The matched direct versions were Python 3.12.15, Nextflow 26.10.3, OpenJDK 24.0.2, AWS CLI 2.38.1, PyArrow 26.0.0, pysam 0.24.1, ViennaRNA 2.7.2, BWA-MEM2 2.2.1, BWA-MEM3 0.15.0, and samtools 1.24. CLI help, native imports, all listed tools, and a Nextflow local Conda process using conda-forge::python=3.12 passed under UID 12345. The Pixi image measured 1,735,350,992 bytes; the micromamba baseline measured 2,252,135,962 bytes (23.0% smaller). Three cached builds took 0.55/0.49/0.46 seconds for Pixi and 1.60/0.71/0.73 seconds for micromamba. Fresh-container CLI launch medians were 2.44 seconds and 1.73 seconds; Nextflow medians were 1.44 and 1.51 seconds. These are one-host Docker observations without OS cache eviction, not isolated package-manager benchmarks. Trial details and image IDs are in scripts/performance/measurements/pixi-runtime-startup.json.

One clean build and three cached builds were measured per image. The dependency closures differ. A separate minimal Conda update trial used Python 3.12.15 and pytest 8.0.0, then updated pytest to 8.4.2 under a >=8,<9 constraint. Across three fresh trial roots, Pixi update pytest took 0.28/0.29/0.30 seconds (median 0.29); micromamba update pytest took 5.94/5.88/5.88 seconds (median 5.88). Pixi updated its lock and environment after broadening the manifest constraint; micromamba applied an update spec to an installed environment. This is a narrow workflow comparison, not a whole-application update-safety claim. Other supported-platform checks remain outstanding. The results support Linux container feasibility, not Pixi adoption.

Reproduce inventory and bounded command measurements

Run from the repository root with Python 3.11+ (or 3.10 with tomli):

.venv/bin/python scripts/performance/review.py --timeout 5 \
  --output /tmp/performance-inventory.json inventory
.venv/bin/python scripts/performance/review.py --timeout 30 \
  --output /tmp/pixi-info.json measure --cache-state 'existing caches; metadata only' \
  --repetitions 3 -- pixi info --manifest-path scripts/performance/pixi/pixi.toml --json
.venv/bin/python scripts/performance/test_review.py

measure executes an argument vector without a shell. Failed or timed-out trials are recorded and produce exit status 1; the median excludes those trials and complete remains false. Timeouts kill the subprocess group. Linux GNU time adds child CPU time and peak RSS; other platforms retain wall time only. Cache-state labels describe operator preparation, not verified OS cache eviction. The machine can be shared: these measurements do not imply exclusive CPU access.

F1: isolated Pixi prototype

scripts/performance/pixi/pixi.toml declares a Linux runtime environment and an optional editable application environment. It fixes the principal tool versions, uses Python/Java ranges, and includes a generated Linux lockfile for transitive/build reproducibility. Its versions are an investigation target, not an assertion that they match this host. Only Linux is declared so an untested platform is not presented as supported.

When channel access is available, solve without installation first:

.venv/bin/python scripts/performance/review.py --timeout 180 \
  --output /tmp/pixi-lock.json measure --cache-state 'isolated new cache; lock only' \
  --repetitions 1 -- env PIXI_CACHE_DIR=/tmp/sirnaforge-pixi-cold-cache \
  pixi lock --manifest-path scripts/performance/pixi/pixi.toml

Only after reviewing the lock, install with pixi install --locked using the same manifest path, then run the install-app task to install the editable package without dependency re-resolution. Record separate cold-cache, locked fresh-install, warm-install, update, disk/image-size, Docker-build and first/warm application-startup results. Use separate throwaway prototype copies and caches for each cold trial; do not relabel a reused environment as cold. Hold resolved Python/Nextflow/Java/native tool versions fixed in the uv/micromamba baseline. Use the generic measure command for each exact installation or startup argv and record at least three successful trials plus variability. The cold install comparison has three trials per manager, but dependency closures differ. Container build and representative startup results are recorded below. Whole-application update safety remains untested. These observations come from one Linux host and are not a general Pixi speedup claim.

Dependency ownership in the revised Pixi prototype:

  • pyproject.toml and uv.lock remain the current Python dependency authority; environment-dev.yml duplicates much of the stack. The Pixi prototype now assigns direct runtime dependencies to Conda except fm-index and pyarrow, which are assigned to PyPI. fm-index has no candidate on the declared Conda channels; PyArrow follows production PyPI/uv ownership and avoids a solver conflict with the pinned AWS CLI closure.

  • Nextflow, pysam, and ViennaRNA are Conda-owned in the revised lock. Pixi’s editable install task uses pip install --no-deps --no-build-isolation, so it does not reinstall project dependencies over Conda files. The Conda Nextflow launcher and framework remain paired, with NXF_DIST pointing to the bundled framework. The former PyPI overwrite observations are retained as historical evidence only.

  • The earlier locked tests environment installed without package-overwrite warnings and passed CLI/native import checks, but it used the earlier lock. The current application lock was rebuilt in the disposable Docker image; its package imports and Nextflow 26.10.3 launch are recorded in the container comparison below. The updated lock subsequently passed the dedicated Pixi CI host-validation lane.

  • The prototype test feature installs pytest dependencies. The focused host test test_gencode_structure_versions_and_gzip passes in Pixi Python 3.12.15 (pytest 9.1.1, pytest-asyncio 1.4.1) when run outside the execution sandbox. Inside the sandbox, the executor thread’s asyncio wakeup-socket write raises EPERM; asyncio suppresses that socket error, leaving the loop blocked in selectors.select after the worker future completes. This is a sandbox restriction rather than a Pixi/provider hang. The same sandbox condition can affect other asyncio.to_thread work that completes after the event loop has begun waiting. The full serial Pixi host selection (dev or ci or release) and not runs_in_container and not requires_network passed outside the sandbox: 2,195 passed and 75 were deselected. That run exposed a separate provenance bug: the current BWA executable version was reported as the build version for an unstamped index. The index provenance now leaves that version unknown unless its stamp records a usable build-time version; the current runtime executable is recorded separately. After the fix, the final full-host run passed 2,195 tests with 75 deselected. A fresh offline Nextflow 25.10.2 local-process smoke also passed from that earlier Pixi test environment and wrote its expected output; sirnaforge --help passed from the editable install. The Pixi test environment was then mounted read-only in the project image and exercised as UID 12345: Python, CLI, Nextflow 25.10.2, and a Nextflow Conda process environment all ran successfully in that earlier configuration. Current image validation is recorded below. This exposed and fixed an existing production image defect: Nextflow expects conda info --json to report conda_prefix and sources that prefix’s bin/activate, while micromamba reports a different JSON schema and the image had no activation script. The image now provides a narrow compatibility shim, activates through micromamba’s shell hook, and points HOME and the micromamba package cache at world-writable Nextflow cache storage for numeric UIDs without passwd entries. The rebuilt image passed the focused Nextflow activation test plus six other requires_nextflow container tests; a fresh micromamba process environment also passed under UID 12345. Reproduce with pixi run --manifest-path scripts/performance/pixi/pixi.toml --environment tests python -m pytest -m '(dev or ci or release) and not runs_in_container and not requires_network' -n 0. Green GitHub CI and Docker runs cover their configured environments, not the Pixi container. The current Pixi image CLI/native-tool/Nextflow-provider smokes are recorded above, and host test-suite CI for the refreshed lock has passed. Broader platform and whole-stack update evidence remains necessary before adoption.

  • Pixi managing the parent environment is separate from Nextflow creating process environments. Preserve the current micromamba process-environment mechanism until a supported replacement is demonstrated.

  • The existing Pixi CI lane installs the checked-in tests environment with --locked, checks runtime tools, and runs the host validation selection, including real BWA-MEM2 and BWA-MEM3 index/alignment smokes. The earlier lock passed in run 40292606798: 2,196 passed and 76 deselected. That run does not validate the current lock, which now also checks BWA-MEM3, samtools, and RNAfold versions.

  • The real BWA-MEM2 index-build and exact-guide alignment smoke also passed locally against the Pixi environment’s BWA-MEM2 2.2.1 executable. The local sandbox could not fetch packages from conda.anaconda.org; the application environment was recreated outside the sandbox.

  • The refreshed lock and expanded tool checks passed Pixi CI. Docker feasibility, the minimal update trial, and matched direct-version startup measurements are recorded above. Whole-stack updates and other platforms were not validated.

Decision: defer Pixi adoption. Keep uv/pip as the host Python owner and micromamba/Conda as the existing Nextflow process-environment provider. Do not replace either tool or the Docker setup with the prototype. Rollback is to remove the isolated scripts/performance/pixi/ prototype and its lockfile; no production environment, cache, or user command needs migration because no Pixi-managed environment was adopted. The earlier host suite passed, and the refreshed lock passed Pixi CI. The current application image passed CLI, native dependency, tool, and Nextflow provider smokes as UID 12345. The single-owner split and comparison image are validated on Linux x86_64. The evaluation closes with Pixi adoption deferred: the minimal package-update trial does not establish whole-stack update safety, and other platforms remain unvalidated. These limits block adoption, while the measured Linux prototype and its rollback path are complete.

#121 is closed with the defer recommendation. Reopen the manager review if supported platforms expand or an adoption proposal needs broader update tests.

Official references checked for this investigation: Pixi manifest and Conda/PyPI integration.

F2: BWA-MEM3 parity and performance harness

Supply installed binaries explicitly if they are outside PATH:

.venv/bin/python scripts/performance/review.py --timeout 120 \
  --output /tmp/bwa-plain.json bwa --work-dir /tmp/bwa-review \
  --mem2 /path/to/bwa-mem2 --mem3 /path/to/bwa-mem3 --threads 1 --repetitions 3
.venv/bin/python scripts/performance/review.py --timeout 120 \
  --output /tmp/bwa-compat.json bwa --work-dir /tmp/bwa-review \
  --mem2 /path/to/bwa-mem2 --mem3 /path/to/bwa-mem3 --mem3-mode compat

Each execution creates a new retained session directory, builds separate indices, records index-member hashes/sizes and binary version/checksum, and runs the actual current transcriptome flags -a -k 12 -T 15 -w 100 with matching thread limits. No index files are shared between backends. Results contain raw repetitions, median/range, and strict SAM multiset differences, retaining flags, coordinates, MAPQ, CIGAR, sequences and all alignment tags except program provenance PG. Reference @SQ headers are checked separately; record/tag order is ignored. Duplicate records are retained as multiset counts. Exit status 1 indicates missing tools, execution failure, nondeterminism, or parity differences. Exit 0 establishes only the reported SAM comparison, never permission to adopt.

The deterministic seed-124 fixtures include 19–23 nt queries, reverse matches, multiple exact loci, one/two mismatches, an ambiguous no-hit query, and potential clipping/insertion/deletion cases. The latter names describe construction, not asserted alignment truth. An independent exhaustive exact-match oracle checks full-length ungapped matches on both strands, so identical backend omissions can be detected. The oracle uses a multi-pattern automaton over a streaming reference scan; it does not need to load a full transcriptome into memory or run one reference search per query. --mem2-index can resume a comparison with a previously built MEM2 index after checking the exact FASTA checksum and required index members; report that reuse because it does not measure a cold MEM2 index build. The oracle does not establish mismatch/gap sensitivity or all biological eligibility criteria. Oracle results are reported separately from SAM parity.

Official upstream mode documentation distinguishes plain, compatibility and fast modes; plain may add MQ/HN tags, and compatibility targets BWA-MEM2 2.2.1. Consequently strict plain-mode tag differences need review rather than being treated as missing hits. The harness supports both plain and --compat=bwa-mem2; it does not enable fast mode. Installation documentation describes Bioconda distributions. The Bioconda bwa-mem3 recipe currently lists release 0.15.0-0, its mixed MIT/Apache-2.0/Zlib licensing, and Linux aarch64 and macOS arm64 in addition to its default Linux x86-64 builds. This verifies package metadata, not a successful local install. An attempt to resolve Bioconda in the isolated comparison environment failed because network DNS was unavailable; the separate checked-in Pixi runtime lock now pins MEM3 0.15.0 and its dedicated host CI lane validates a real index and repeated-hit alignment. The local results tested official MEM2 2.2.1 and source release MEM3 0.15.0; hashes/build commands are in aligner-builds.json. MEM3 required ALLOW_UNSUPPORTED_COMPILER=1 with GCC 13, so timings are not representative upstream performance.

The controlled synthetic comparison produced 32 equal SAM records. The pinned chr21 workload contains 320 deterministic exact antisense queries (19–23 nt). Its alignment medians were approximately 1.127 s for MEM2 and 0.094 s for MEM3, with one thread and OMP_NUM_THREADS=1. Both independent exact-match checks passed. These workloads include startup overhead, reuse OS caches and use an unsupported compiler for MEM3. They do not establish general speedup or gate equivalence. Raw trials are in bwa-mem3-v0.15.0-controlled.json and bwa-mem3-v0.15.0-chr21.json.

The user accepted plain mode on 2026-10-24 and explicitly removed further exact BWA-MEM2 parity proof as a requirement. Compatibility-mode measurements remain historical evidence; they do not define the acceptance criterion. The optional --aligner bwa-mem3 route now builds and records a MEM3-specific index, invokes plain bwa-mem3 mem, parses its SAM output, and records the selected executable version and index identity. BWA-MEM2 remains the default. A local MEM3 0.15.0 smoke built an index from a two-transcript FASTA and sent plain-mode SAM records through the existing hit parser, producing six parsed hits with transcript IDs, coordinates, strands, CIGAR, NM, and seed mismatch fields. Focused backend, parser, and cache tests passed. This checks the software path and output completeness for that fixture; it does not establish biological eligibility, gate behavior across representative workloads, or a general speedup. Exact SAM/tag equality is not a blocker.

Release-116 cDNA panel results

To exercise representative references beyond the chr21 fixture, the same 3,395 unique full-length guides (20–21 nt; derived from 4,113 OligoGym observations) were aligned with one thread against Ensembl release-116 rat and macaque cDNA. MEM2 2.2.1 and MEM3 0.15.0 plain mode each built a fresh index in three independent trials per species; each index then had three alignment runs. Inputs were hashed; the guide FASTA SHA-256 is e80d5cae150fd38526f4eb41cc1225c7d91fc43fed54484a97d24d608cbd0a2b, rat reference 14ad668039a84a3ffaf787944dd09194488392848574b20c484d50df56b07477, and macaque reference c702162e3053fb7bf4b0851f30b8b538d9885acfc737863bf2cc6e09d78db48d. Full provenance, binary and index hashes, and per-trial measurements are retained in bwa-mem3-v0.15.0-release116-panel-repeats.json.

The source observations and exact release-116 reference acquisition manifests are retained under tests/data/benchmarks/oligogym_four_species_release116/. The canonical query FASTA can be regenerated without committing a generated copy; this recipe yields 3,395 unique 20–21 nt guides and records its own checksum (e80d5cae150fd38526f4eb41cc1225c7d91fc43fed54484a97d24d608cbd0a2b):

mkdir -p /tmp/sirnaforge-mem3-review/refs
pixi run --manifest-path scripts/performance/pixi/pixi.toml --environment tests \
  python scripts/performance/prepare_oligogym_panel.py \
  --output /tmp/sirnaforge-mem3-review/guides.fa
for species in rat macaque; do
  pixi run --manifest-path scripts/performance/pixi/pixi.toml --environment tests \
    python scripts/fetch_native_reference_release.py --release 116 \
    --species "$species" --output /tmp/sirnaforge-mem3-review/refs
done

The rat and macaque reference manifests include Ensembl URLs and checksums; their uncompressed FASTAs must match the hashes above before benchmarking. For three independent index-build trials per species, run the existing comparison harness in separate work directories and retain its compact JSON outputs:

for species in rat macaque; do
  for trial in 1 2 3; do
    pixi run --manifest-path scripts/performance/pixi/pixi.toml --environment tests \
      python scripts/performance/review.py --timeout 1800 \
      --output "/tmp/sirnaforge-mem3-review/${species}-${trial}.json" bwa \
      --mem2 bwa-mem2 --mem3 bwa-mem3 \
      --reference "/tmp/sirnaforge-mem3-review/refs/${species}.fa" \
      --queries /tmp/sirnaforge-mem3-review/guides.fa \
      --work-dir "/tmp/sirnaforge-mem3-review/${species}-${trial}" \
      --threads 1 --repetitions 3 --allow-sam-differences
  done
done

Each run rebuilds both indices, records member sizes/hashes and three alignment trials per backend, including wall/CPU time, peak RSS, and query throughput (guide count divided by median alignment wall time, including index loading). The option keeps completed runs and records any SAM differences in JSON; tool, index, reference-header, or query-membership failures still return nonzero. Keep the worktree clean: references, indices, SAM and measurement outputs belong in /tmp.

Reference

Exact placements (oracle)

SAM records

Median index build, MEM2 / MEM3

Index size, MEM2 / MEM3

Median alignment, MEM2 / MEM3

Peak index RSS, MEM2 / MEM3

Rat

2,451 expected and observed

17,025 each; SAM parity equal

60.55 / 29.32 s

927 / 595 MB

2.084 / 0.277 s

3,819 / 1,683 MiB

Macaque

4,701 expected; 4,697 observed each

17,086 each; SAM parity equal

49.71 / 25.78 s

780 / 501 MB

1.976 / 0.259 s

3,210 / 1,418 MiB

The three trials produced equal SAM multisets, matching reference headers, and complete query membership. Alignment peak RSS was 909 / 667 MiB (MEM2 / MEM3) for rat and 768 / 579 MiB for macaque. Median guide throughput was 1,629 / 12,270 guides/s for rat and 1,718 / 13,104 guides/s for macaque. The OS page cache was not evicted between trials; these results are specific to one Linux x86_64 WSL2 host and do not establish a general speedup. The four macaque exact placements missed by both aligners and no unexpected exact placements were reported. This shared omission needs interpretation in the workload’s biological context; equality between backends does not establish completeness. For both species, the actual Python SAM parser produced identical parsed hits across backends (16,323 rat; 16,573 macaque). A real local-profile Nextflow run with MEM3 then completed the transcriptome tasks and evidence reconciliation: 3,395/3,395 guides processed for each species, 16,323 rat sites and 16,573 macaque sites, with both evidence statuses complete, no truncation, and no unplanned evidence. The run disabled miRNA seed screening; that separate database channel could not be validated offline.

The full Ensembl release-116 human cDNA contains 1.28 Gbp (FASTA SHA-256 bd85494fb64766200ec18bae873f3196b451c6eecbcfbedadd72684f19692ff8). MEM2 completed the full-reference alignment, but the exact-match oracle found 64,405 placements versus 62,247 reported (2,158 missing, all in two repetitive guides). MEM3 0.15.0 refused to build its index: its suffix-array builder estimated a 28.5 GiB requirement, above this host’s 24.8 GiB available-memory limit. This is a concrete human-scale indexing constraint for this version and host; do not infer that MEM3 is suitable for full human cDNA based on the smaller species.

Taken together, these results establish a working optional MEM3 host and Nextflow path on these rat and macaque inputs, with matching SAM and parser outputs, and expose an important large-reference limitation. They do not establish exact-guide biological validation, gate-verdict equivalence, a general speedup, or human-scale feasibility. MEM2 remains the default. The temporary full-reference FASTAs, indices, SAM files, reports, and raw result JSON were kept outside the repository and removed after this summary was recorded.

Release-116 downstream gate comparison

Both backends were also run through the actual predesigned-guide screening and Nextflow off-target workflow using the same 3,395 human-derived OligoGym guide queries, the checksum-verified rat and macaque release-116 references, and previously built backend-specific indices. This exercises downstream parsing, evidence reconciliation, and configured gate evaluation; the run excludes index-build time. End-to-end post-index wall time, including workflow launch, was 28.21 s for MEM2 and 24.12 s for MEM3 on this single local WSL2 host; this small cached run is startup-bound and is not a general speed comparison. The retained compact record is bwa-mem3-v0.15.0-release116-downstream-gates.json.

The parsed rat and macaque tables were byte-identical across backends (16,323 and 16,573 sites, respectively). All 3,395 candidate rows also matched across all fields. Both workflows reported complete rat/macaque transcriptome and miRNA channels, processed every guide, and had no unplanned evidence. The miRNA input was a pinned synthetic fixture used only to exercise software routing and reconciliation; it is not biological evidence.

The query species was human, but the tested transcriptome references were rat and macaque. The human transcriptome channel was therefore absent, and all 3,395 candidates correctly remained provisional_incomplete_evidence; the transcriptome and miRNA gate verdicts listed in the JSON record were unknown for every candidate under both backends. This is evidence that both backends preserve conservative incomplete-evidence behavior and produce matching downstream outputs. It does not establish biological eligibility, qualified output equivalence, or MEM3 suitability for full human cDNA. The earlier full human cDNA index limitation remains.

To exercise non-unknown query-species gates, a separate software-only run used the same 3,395 human-derived guides with --query-species rat and the complete, checksum-verified rat reference. This deliberately artificial query metadata lets the pipeline calculate real observed rat hit counts; it does not make the human-derived guides biologically appropriate for rat. A 22-nt synthetic miRNA FASTA (rno-software-only-seed-fixture) was pinned locally to exercise the second evidence channel. Its contents and checksum, the exact CLI and Nextflow options, index commands, tool versions, and result hashes are retained in the compact JSON record above.

Both backends completed the rat transcriptome and synthetic miRNA channels for all 3,395 guides, with 16,323 transcriptome sites and 505 raw miRNA seed sites. The parsed transcriptome and miRNA tables were byte-identical. Every candidate row also matched across all fields: each backend reported 2,733 passes and 662 fails for the zero-mismatch transcriptome gate; 3,381 passes and 14 fails for the one-mismatch gate; all 3,395 passed the two-mismatch gate and both configured miRNA gates. Each backend produced 2,719 eligible and 676 not_eligible software states. The thresholds came from the experimental, uncalibrated 0.7.1 policy. These are workflow outputs under deliberately artificial query-species metadata; neither the state label nor the default threshold outcomes establish biological suitability or validate the cutoffs. With cached indices, the application reported 22.64 s for MEM2 and 19.06 s for MEM3 on this one host. The fresh index builds took 53.99 s / 30.70 s and used 927,482,762 / 595,316,974 index-member bytes (MEM2 / MEM3); these are single trials and supplement, rather than replace, the repeated benchmark above.

The pinned Docker package now also passes a real Nextflow MEM3 smoke on a small synthetic transcriptome: it builds a MEM3-specific index, emits and parses the exact guide alignment, publishes complete one-guide evidence, and records the selected MEM3 release in transcriptome/versions.yml. This ran in the Docker workflow on commit 73463ef (Actions run https://github.com/Austin-s-h/sirnaforge/actions/runs/40271766698); Python CI also passed (run https://github.com/Austin-s-h/sirnaforge/actions/runs/40271766723). The test caps the two synthetic-reference tasks at 2 GB for GitHub’s 8 GB container; production resource defaults are unchanged. This does not replace the larger rat/macaque panel evidence above or establish full human cDNA feasibility.

The performance review is complete with adoption deferred. The optional MEM3 route passes the declared Linux x86_64 host and Docker/Nextflow integration checks. The repeated multi-species release-116 panel and the downstream same-output gate comparison are recorded above. Full human cDNA remains a documented resource limitation for MEM3 0.15.0 on this host, so MEM2 remains the default. The project CI and Pixi review currently validate Linux x86_64; Bioconda metadata for other architectures is not a successful integration test and does not expand the project’s declared platform set.

Decision: defer adoption. BWA-MEM2 remains the default. The pinned Docker/Nextflow package smoke, backend-specific index, plain SAM parser, and version output are verified; the host package CI lane also exercises a real repeated-hit MEM3 index/alignment. The deferred evidence above is required before reconsidering a default change.

Coordination with report performance (#111)

Share checksummed query/reference inputs and environment metadata. Report timing should consume saved screening/evidence artifacts and exclude environment setup and alignment. Evaluate manager changes with BWA-MEM2 held fixed; evaluate aligner changes within a fixed environment. Measure a combined configuration only after the independent effects are understood.