Skip to main content

GWAS Association Tools

Project description

GWAS Association Tools

A command-line tool for genomic-wide association studies (GWAS) data validation and analysis.

Features

  • Validate:
    • Input: File path of GWAS Submission template that contains top associations
    • Output: Validation report of top associations

Installation

Install from PyPI:

pip install gwas-assoc-tools

Usage

# Basic validation command
gwas-assoc validate <template excel file path>

# For help
gwas-assoc --help
gwas-assoc validate --help

Development

Setup

# Install Poetry (if not already installed)
curl -sSL https://install.python-poetry.org | python3 -

# Install dependencies
poetry install

# Activate virtual environment
poetry shell

Building and Installation

# Build the package (creates .whl and .tar.gz in dist/)
poetry build

# Install your new package in development mode
poetry install

Testing

TODO

Running with Real Files

# Run the CLI command through Poetry
poetry run gwas-assoc validate ./tests/snp_validator.xlsx

# Or after activating the shell
poetry shell
gwas-assoc validate ./tests/snp_validator.xlsx

Dependency Management

# Add a new dependency
poetry add new-package

# Add a development dependency
poetry add --group dev pytest-mock

# Check for dependency updates
poetry update --dry-run

# Update dependencies
poetry update

Code Quality

# Run formatting
poetry run black .
poetry run isort .

# Run linting
poetry run ruff check .

# Run type checking
poetry run mypy src

# Run all formatting checks
poetry run pre-commit run --all-files

License

License

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

gwas_assoc_tools-0.1.1b0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

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

gwas_assoc_tools-0.1.1b0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file gwas_assoc_tools-0.1.1b0.tar.gz.

File metadata

  • Download URL: gwas_assoc_tools-0.1.1b0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.16 Linux/5.14.0-503.22.1.el9_5.x86_64

File hashes

Hashes for gwas_assoc_tools-0.1.1b0.tar.gz
Algorithm Hash digest
SHA256 e36fab18a0d86280a09a783613208ddfb18912a9a237c1052973ae022f4999a9
MD5 04fda65d04e4704107e88efab944ed63
BLAKE2b-256 d13a3cea936e7e970e2461869df1d0da0e44329590eb5fbf332dd1c060018db9

See more details on using hashes here.

File details

Details for the file gwas_assoc_tools-0.1.1b0-py3-none-any.whl.

File metadata

  • Download URL: gwas_assoc_tools-0.1.1b0-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.16 Linux/5.14.0-503.22.1.el9_5.x86_64

File hashes

Hashes for gwas_assoc_tools-0.1.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 50ac7f373c221bc3ef483e96a5205ddcddcbc41aa0d0109d230e44d41d727f67
MD5 2e01e750e8127b21e5f38f6a224883fe
BLAKE2b-256 92435976750e51690889f7241f514d9bee6ed536e78e81ac3da006c54ba2d28e

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