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.0.tar.gz (60.3 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.0-py3-none-any.whl (75.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: graphpop_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 60.3 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.0.tar.gz
Algorithm Hash digest
SHA256 4d813d177e3a0f539819e2e20a89c18a55b02d7779a2726141998e8bc317345c
MD5 523f434d65efa71fc6458825be38bad4
BLAKE2b-256 89c860010d6d7a1d4f04ccf57c00788a27bfff80b6e33c2303d5131ce85453f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: graphpop_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 75.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12bf9beb3ba2b59e4c89ba8d751d4224a47bac7e1b034b3174b65b79da3f4630
MD5 e5dec7cad21ef5f990eab3dcf2936237
BLAKE2b-256 3bd782781cdadf54f750e06554e9a5d8e0aba0edbd136e86fecce47360c734e0

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