Skip to main content

Graph database-native population genomics CLI with O(V*K) complexity

Project description

GraphPop CLI

Command-line interface for GraphPop — a graph database-native population genomics engine that reduces summary statistic complexity from O(V×N) to O(V×K), independent of sample count.

Quick Start

pip install graphpop-cli
graphpop setup --password mypass    # Downloads Neo4j + procedures plugin
graphpop start                      # Start the database

Prerequisites: Python 3.10+, Java 21+ (for Neo4j runtime).

Features

  • 60 commands across 11 functional domains
  • 12 population genetics procedures: diversity, Fst, SFS, iHS, XP-EHH, nSL, ROH, Garud's H, LD, genome scan, pop summary, joint SFS
  • Annotation conditioning: --consequence, --pathway, --gene flags on any procedure
  • Persistent analytical records: --persist writes results to graph nodes
  • Publication-ready plots: 11 visualization types following Nature Methods guidelines

Usage

# Population diversity
graphpop diversity chr1 1 50000000 EUR -o diversity.tsv

# Annotation-conditioned analysis
graphpop diversity chr1 1 43270923 GJ-tmp --consequence missense_variant

# Selection scan
graphpop ihs chr22 EUR --persist -o ihs.tsv

# Multi-statistic convergence
graphpop converge --stats ihs,xpehh,h12 --thresholds 2,2,0.3 --pop EUR

Documentation

License

MIT

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

graphpop_cli-0.1.1.tar.gz (64.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

graphpop_cli-0.1.1-py3-none-any.whl (79.7 kB view details)

Uploaded Python 3

File details

Details for the file graphpop_cli-0.1.1.tar.gz.

File metadata

  • Download URL: graphpop_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 64.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for graphpop_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5b58f8730e0d94ca39996328b0d52da2b387b2478ba1a7ce926061604a16a6f4
MD5 cdf8a53bec7b0a2167fd528176b07073
BLAKE2b-256 67a028604d6682bf6694589ae2c7ee3a61f9ff1a045384fee21be19eb5cf83f6

See more details on using hashes here.

File details

Details for the file graphpop_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: graphpop_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 79.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for graphpop_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5984d0d345f9a07d1805f539de0403bf59cbaed3c3b6c6d355af7a580df7629f
MD5 11a2779b96820e1ef5c84aa5a2814cb2
BLAKE2b-256 bbd225866607cb7f0ca5d4c0b4452a9f74a57b53b0cb1160193c95002ea3b3fe

See more details on using hashes here.

Supported by

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