At Bystro, we believe natural language is the right interface for genetic and proteomic analysis. We are building the world's first LLM-powered natural language analysis engine that takes your questions about complex genetic and proteomic datasets, and converts them into statistical answers with easy to understand summaries and visualizations.
This is our open-source repo of machine learning methods for high dimensional statistics, as well as some applications in genomics and proteomics.
This work is the basis for the Bystro natural language analysis platform for genetics & proteomics. See https://bystro.io
We are working hard on cutting edge algorithms, and haven't found much time for documentation. More detailed descriptions coming soon, but until then, a brief summary is found below:
from bystro.covariance import *
- Regularized covariance matrix estimation methods well suited for smaller sample size regimes where n << p
- Covariance matrix hypothesis tests, like the 2 sample covariance test (
from bystro.random_matrix_theory.rmt4ds_cov_test import two_sample_cov_test
)
from bystro.random_matrix_theory import *
Random Matrix Theory modules that are foundational for significance tests, such as our two_sample_cov_test
from bystro.stochastic_gradient_langevin import *
Implementation of Stochastic Gradient Langevin algorithm in https://www.ics.uci.edu/~welling/publications/papers/stoclangevin
from bystro.supervised_ppca import *
supervised_ppca
is a collection of generative methods:
- Probabilistic PCA (PPCA)
- Supervised PPCA (also know as Variational Principal Component Regression): Novel method for network analysis that is able to pick up dynamics of interest in low variance components. Also competitive with Elastic Net in a regression context, without shrinking covariates (instead shrinks them in latent space). See our recent publication: https://arxiv.org/abs/2409.02327
- Adversarial Probabilistic PCA: Fair ML method that removes the influence of M sensitive variables (confounding factors), from high dimensional data
Description coming soon
Description coming soon
Kotlar et al, Genome Biology, 2018
To install the Bystro Python package, run:
pip install bystro
The Bystro ancestry CLI score
tool (bystro-api ancestry score
) parses VCF files to generate dosage matrices. This requires bystro-vcf
, a Go program which can be installed with:
# Requires Go: install from https://golang.org/doc/install
go install github.com/bystrogenomics/[email protected]
Bystro is compatible with Linux and MacOS. Windows support is experimental. If you are installing on MacOS as a native binary (Arm), you will need to install the following additional dependencies:
brew install cmake
Please refer to INSTALL.md for more details.