Skip to main content

manifold-genetics

CI Coverage Status PyPI Documentation

An end-to-end pipeline from PLINK genotypes to publication figures: PCA → admixture → manifold embedding → visualisation → metrics.

UKBB PHATE embedding coloured by self-described ancestry All of Us PHATE embedding coloured by ancestry

Installation

Requires Python 3.10–3.12, on Linux or macOS.

pip install manifold-genetics

Admixture is an optional extra:

pip install 'manifold-genetics[admixture]'

Installation from source

pip install git+https://github.com/MattScicluna/manifold_genetics

Usage

manifold-genetics acquire synthetic     # a simulated cohort and its config, in seconds
manifold-genetics run config.yaml

acquire hgdp fetches the public HGDP+1KGP cohort instead; acquire custom writes a config for PLINK files you already have. For raw biobank genotypes, preprocess filters and intersects SNPs and subsample chooses the fit samples, each writing a directory run accepts.

Documentation and tutorials

  • Documentation
  • Quickstart — a full run on public data, and the input and output formats
  • Tutorial — a complete run on a simulated cohort, under a minute, nothing to download
  • Install — optional extras, external tools, and developing on the repository
  • Preprocessing — filtering raw biobank genotypes and projecting them onto a reference panel

Help

Open an issue.

License

BSD 3-Clause License (see LICENSE).

Citation

If you use this package in your research, please cite:

[Your citation here]

Metadata

Release files for manifold-genetics 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for manifold-genetics 0.3.0
File Size Uploaded
manifold_genetics-0.3.0.tar.gz 333.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for manifold-genetics 0.3.0
File Interpreter ABI Platform
manifold_genetics-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 519.1 kB

Release files / manifold_genetics-0.3.0.tar.gz

Download URL manifold_genetics-0.3.0.tar.gz
Size 333.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8c94f1e92c4b4c343e404eb4924b26cf04700dff0a2a866e0bbd57fabd17b92d
BLAKE2b-256 checksum
How to use checksums
4c8b4bb3bd78e773b135520b125a77cfbb35ae5923a33163a79c808e2db2adad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / manifold_genetics-0.3.0-py3-none-any.whl

Download URL manifold_genetics-0.3.0-py3-none-any.whl
Size 185.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bbf23744cc49e81cd1aad2bcd91320d8745be027b190fa2b8fe2fbc439964ec9
BLAKE2b-256 checksum
How to use checksums
86e829a099aeea1552a23a63ada291cb744ac5d1e274df04851e4d674f993b3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page