Skip to main content

Breeding simulator based on JAX

Project description

ChromaX

ChromaX is a breeding simulator for large-scale experiments. It is based on JAX and can run smoothly on multiple devices. We designed this library for researchers and breeders with the scope of guiding the design choices of breeding programs.

Installation

You can install ChromaX via pip:

pip install chromax

Quickstart

from chromax import Simulator
from chromax.sample_data import genetic_map, genome

simulator = Simulator(genetic_map=genetic_map)
f1 = simulator.load_population(genome)
f2, parent_ids = simulator.random_crosses(f1, n_crosses=10, n_offspring=20)

Citing ChromaX

@article{10.1093/bioinformatics/btad691,
    author = {Younis, Omar G and Turchetta, Matteo and Ariza Suarez, Daniel and Yates, Steven and Studer, Bruno and Athanasiadis, Ioannis N and Krause, Andreas and Buhmann, Joachim M and Corinzia, Luca},
    title = "{ChromaX: a fast and scalable breeding program simulator}",
    journal = {Bioinformatics},
    volume = {39},
    number = {12},
    pages = {btad691},
    year = {2023},
    month = {11},
    abstract = "{ChromaX is a Python library that enables the simulation of genetic recombination, genomic estimated breeding value calculations, and selection processes. By utilizing GPU processing, it can perform these simulations up to two orders of magnitude faster than existing tools with standard hardware. This offers breeders and scientists new opportunities to simulate genetic gain and optimize breeding schemes.The documentation is available at https://chromax.readthedocs.io. The code is available at https://github.com/kora-labs/chromax.}",
    issn = {1367-4811},
    doi = {10.1093/bioinformatics/btad691},
    url = {https://doi.org/10.1093/bioinformatics/btad691},
    eprint = {https://academic.oup.com/bioinformatics/article-pdf/39/12/btad691/54143193/btad691.pdf},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chromax-0.0.4a0.tar.gz (1.2 MB view details)

Uploaded Source

File details

Details for the file chromax-0.0.4a0.tar.gz.

File metadata

  • Download URL: chromax-0.0.4a0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for chromax-0.0.4a0.tar.gz
Algorithm Hash digest
SHA256 629e9908e1174bfadd387dec042ff22de4c9846baf67f565a2c7fbb351453b7a
MD5 fc0a0513f6e68048c1d5843a30c4a399
BLAKE2b-256 abe7519dff976e92433af4fedf4de6f5f21f5e03517d08adaeebbf1725185de8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page