Crate rsx_core

crate rsx_core

Core library for RADSex: sex-determination analysis from RAD-Sequencing data.

This crate provides the computational core for analyzing RAD-seq data to identify sex-linked markers. It exposes both a Rust API and a C-compatible FFI layer (via cbindgen) for integration with C++, R, and other languages.

Key types

  • markers_table::MarkersTableStream: streaming / bounded-memory reader over marker depth tables (the central data structure for all commands).

  • commands: implementations of process, distrib, signif, pca, merge, etc.

  • stats: Bayesian and frequentist tests (Bayes factor, posterior, chi2, Fisher, G-test).

All commands are designed to run with O(n_individuals) or bounded temporary memory even on 50 GB+ tables.

Modules