Python bindings for rsx: high-performance RAD-seq sex determination toolkit
Project description
pyrsx
Python bindings for rsx: a high-performance streaming toolkit for RAD-seq sex determination.
Installation
pip install pyrsx
Usage
import pyrsx
# Process FASTQ files into marker depth table
pyrsx.process("reads/", "markers.tsv", threads=4, min_depth=5)
# Compute distribution with Fisher's exact test + FDR
pyrsx.distrib("markers.tsv", "popmap.tsv", "distrib.tsv",
test="fisher", correction="fdr")
# Extract significant markers with Bayesian output
pyrsx.signif("markers.tsv", "popmap.tsv", "signif.tsv",
test="fisher", correction="fdr", bayes=True)
# Streaming PCA
pyrsx.pca("markers.tsv", "pca_results/", n_components=10)
# Merge tables (bounded memory, handles 75M+ sequences)
pyrsx.merge(["table1.tsv", "table2.tsv"], "merged.tsv")
Features
- All rsx commands accessible from Python
- 2-5x faster than C++ RADSex
- Bounded-memory streaming for arbitrarily large datasets
- Multiple statistical tests: chi-squared, Fisher's exact, G-test
- Multiple corrections: Bonferroni, Benjamini-Hochberg FDR
- Bayesian sex-linkage classification (Bayes Factor + posterior)
- Streaming PCA via Tucker mode-2 decomposition
- K-mer based marker deduplication
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrsx-0.1.0.tar.gz.
File metadata
- Download URL: pyrsx-0.1.0.tar.gz
- Upload date:
- Size: 69.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
679872c0e64658d906c18264010541def10c063663954ace08e66b87b8df9c48
|
|
| MD5 |
631582e0678d2a2bf129e5b3437cd1ee
|
|
| BLAKE2b-256 |
6dbc648109dabdaa9baad82cc54d208ea5220dab98d552724db92a31f8b4b85f
|
Provenance
The following attestation bundles were made for pyrsx-0.1.0.tar.gz:
Publisher:
pypi.yml on HaoZeke/rsx-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrsx-0.1.0.tar.gz -
Subject digest:
679872c0e64658d906c18264010541def10c063663954ace08e66b87b8df9c48 - Sigstore transparency entry: 1245843128
- Sigstore integration time:
-
Permalink:
HaoZeke/rsx-rs@9f5a811967771e5a4df02afb49f5fcaf19a0229d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/HaoZeke
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@9f5a811967771e5a4df02afb49f5fcaf19a0229d -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyrsx-0.1.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: pyrsx-0.1.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 800.8 kB
- Tags: PyPy, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
563de83698eed067864be0c2c9bb384ae9c3f3eab19b68d8cceffb0e901ecd14
|
|
| MD5 |
cacffb9f0cd7c0f96f220ed63ef524dc
|
|
| BLAKE2b-256 |
07a23a5bbf0dab19e332de3ef39803968766e78e76185e7e8220567cf226514a
|
Provenance
The following attestation bundles were made for pyrsx-0.1.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl:
Publisher:
pypi.yml on HaoZeke/rsx-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrsx-0.1.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl -
Subject digest:
563de83698eed067864be0c2c9bb384ae9c3f3eab19b68d8cceffb0e901ecd14 - Sigstore transparency entry: 1245843132
- Sigstore integration time:
-
Permalink:
HaoZeke/rsx-rs@9f5a811967771e5a4df02afb49f5fcaf19a0229d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/HaoZeke
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@9f5a811967771e5a4df02afb49f5fcaf19a0229d -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyrsx-0.1.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: pyrsx-0.1.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 807.4 kB
- Tags: PyPy, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69f1ba0f02ffb964fc63b06ecedcc6cb3e064597e17281570328b7d75faf11e4
|
|
| MD5 |
2ae7e71932df6eff5122c86f6cc88dfc
|
|
| BLAKE2b-256 |
05399c65cea46b66836ae723ad0f7a05702620ad8cc56fabf6564dacf349921f
|
Provenance
The following attestation bundles were made for pyrsx-0.1.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl:
Publisher:
pypi.yml on HaoZeke/rsx-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrsx-0.1.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl -
Subject digest:
69f1ba0f02ffb964fc63b06ecedcc6cb3e064597e17281570328b7d75faf11e4 - Sigstore transparency entry: 1245843138
- Sigstore integration time:
-
Permalink:
HaoZeke/rsx-rs@9f5a811967771e5a4df02afb49f5fcaf19a0229d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/HaoZeke
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@9f5a811967771e5a4df02afb49f5fcaf19a0229d -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyrsx-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: pyrsx-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 807.1 kB
- Tags: CPython 3.9+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ecee51d5c602b42bb409f9ccb295db5553a5baf4b2568d46642ee1166e159b4
|
|
| MD5 |
304d08a3865356bf58033548f7dc928f
|
|
| BLAKE2b-256 |
3267d2be88acdf32f885c1dc1cf4cf5e83e914d5738989715adf829582dc083d
|
Provenance
The following attestation bundles were made for pyrsx-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl:
Publisher:
pypi.yml on HaoZeke/rsx-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrsx-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl -
Subject digest:
4ecee51d5c602b42bb409f9ccb295db5553a5baf4b2568d46642ee1166e159b4 - Sigstore transparency entry: 1245843139
- Sigstore integration time:
-
Permalink:
HaoZeke/rsx-rs@9f5a811967771e5a4df02afb49f5fcaf19a0229d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/HaoZeke
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@9f5a811967771e5a4df02afb49f5fcaf19a0229d -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyrsx-0.1.0-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: pyrsx-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 661.4 kB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56b23672d01797cf66d14bba5a6719f99dda2a9444ebff9d2569930b3a8f3396
|
|
| MD5 |
4f8c681385d35124cda8877dd6334602
|
|
| BLAKE2b-256 |
02e089f0bed09f7b91b0c01fdf0c99f65ba435b52c2a664f175f4846ac34d3fc
|
Provenance
The following attestation bundles were made for pyrsx-0.1.0-cp39-abi3-macosx_11_0_arm64.whl:
Publisher:
pypi.yml on HaoZeke/rsx-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrsx-0.1.0-cp39-abi3-macosx_11_0_arm64.whl -
Subject digest:
56b23672d01797cf66d14bba5a6719f99dda2a9444ebff9d2569930b3a8f3396 - Sigstore transparency entry: 1245843135
- Sigstore integration time:
-
Permalink:
HaoZeke/rsx-rs@9f5a811967771e5a4df02afb49f5fcaf19a0229d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/HaoZeke
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@9f5a811967771e5a4df02afb49f5fcaf19a0229d -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyrsx-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: pyrsx-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 770.5 kB
- Tags: CPython 3.9+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d54326067815ba1d58930fa4c4c0e9be239bb476a5d539b2f9cbf616ea11c9b
|
|
| MD5 |
44b9f9afacadd3f4d5c630da73473cca
|
|
| BLAKE2b-256 |
6950395980f55cc7b22590f1bbc49fe5437ea01c0ddb6f2b826685957707695e
|
Provenance
The following attestation bundles were made for pyrsx-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl:
Publisher:
pypi.yml on HaoZeke/rsx-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrsx-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl -
Subject digest:
1d54326067815ba1d58930fa4c4c0e9be239bb476a5d539b2f9cbf616ea11c9b - Sigstore transparency entry: 1245843131
- Sigstore integration time:
-
Permalink:
HaoZeke/rsx-rs@9f5a811967771e5a4df02afb49f5fcaf19a0229d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/HaoZeke
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@9f5a811967771e5a4df02afb49f5fcaf19a0229d -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyrsx-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyrsx-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 849.3 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
887ea660e258c0ff473489471bbccff6b68a4df6558133fd5cc23de9bd790545
|
|
| MD5 |
6bace516ef113273f72e92418330ab85
|
|
| BLAKE2b-256 |
82b12deb6e5a7ffb8cd3f5c245b05fd29fbac7a2c1d743de0b8236b3ac36b4cc
|
Provenance
The following attestation bundles were made for pyrsx-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
pypi.yml on HaoZeke/rsx-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrsx-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
887ea660e258c0ff473489471bbccff6b68a4df6558133fd5cc23de9bd790545 - Sigstore transparency entry: 1245843143
- Sigstore integration time:
-
Permalink:
HaoZeke/rsx-rs@9f5a811967771e5a4df02afb49f5fcaf19a0229d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/HaoZeke
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@9f5a811967771e5a4df02afb49f5fcaf19a0229d -
Trigger Event:
push
-
Statement type: