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
# For failed test file
poetry run gwas-assoc validate ./tests/test_fail.xlsx   
# For successful test file
poetry run gwas-assoc validate ./tests/test_success.xlsx   


# Or after activating the shell
poetry shell
# For failed test file
gwas-assoc validate ./tests/test_fail.xlsx   
# For successful test file
gwas-assoc validate ./tests/test_success.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.2b1.tar.gz (12.4 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.2b1-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file gwas_assoc_tools-0.1.2b1.tar.gz.

File metadata

  • Download URL: gwas_assoc_tools-0.1.2b1.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.10.16 Linux/5.14.0-503.22.1.el9_5.x86_64

File hashes

Hashes for gwas_assoc_tools-0.1.2b1.tar.gz
Algorithm Hash digest
SHA256 03ac19781eb8e197ebb3a0edfe6ca114e660a3f35b1e9a15b8922978fa5095b2
MD5 0b7e811675aae1ccef1a30fb6b9ec47d
BLAKE2b-256 b8f8ca77e6f5ab9fa39232b91e846f6bdc5e5f70acef23dfb4c0ed815fbc1082

See more details on using hashes here.

File details

Details for the file gwas_assoc_tools-0.1.2b1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for gwas_assoc_tools-0.1.2b1-py3-none-any.whl
Algorithm Hash digest
SHA256 8cc72c48efb340a6913c24f91013b79d8217290ab1ef833a092a3f663ce77e32
MD5 ac9cd11b2179c9d1302da023b62ef9be
BLAKE2b-256 86903c35d23525b75cb38fbdfa9cb3e8e4008d096e0ee4a6fd931073100330a7

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