Skip to main content

General tools for genomics and lineage tracing

Project description

Olivares Genomic toolkit

Installation

Basic Installation

Linux/Windows

pip install ogtk

macOS

macOS requires additional system dependencies before installation:

  1. Install LLVM and OpenMP support:
brew install llvm
  1. Set up the environment (add this to your ~/.zshrc or ~/.bash_profile):
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
export CC=/opt/homebrew/opt/llvm/bin/clang
export CXX=/opt/homebrew/opt/llvm/bin/clang++
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
  1. Reload your shell configuration:
source ~/.zshrc  # or source ~/.bash_profile
  1. Install the package:
pip install ogtk
#or for all-inclusive functionality
pip install 'ogtk[sc,rs'] 

With Rust Support

Linux

pip install ogtk[rs]

macOS

  1. Install system dependencies:
brew install llvm patchelf
  1. Set up the environment as described above

  2. Install the package:

pip install ogtk[rs]

astral uv

After having installed astral-uv

curl -LsSf https://astral.sh/uv/install.sh | sh

Initialize project and add packages.

uv init uvogtk
cd uvogtk
add ogtk
add ipython
uv venv --python 3.10
uv sync

Troubleshooting

If you encounter build errors related to OpenMP on macOS:

  1. Make sure LLVM is properly installed: brew install llvm
  2. Verify environment variables are set correctly
  3. Try reinstalling with: pip install --no-cache-dir ogtk

For other platforms, if you see OpenMP-related errors:

  • Ubuntu/Debian: sudo apt-get install libomp-dev
  • Fedora: sudo dnf install libomp-devel

Functionality

Three main modules are supported.

ltr

Comprehends lineage tracing analysis for bulk and single-cell data a various modalities. It is capable of pre-processing of multi-site lineage reporters such as GESTALT in addition to single-sites, namely shRNA.

UM

This represents the main workframe for treating with single-molecule data.

Utils

Various recipes for anlayising single-cell RNA-seq data (metacells and single-cells) and implements wrappers for other genomic toolkits such as bbtools.


Migration to pola-rs is work in progress but largely supported.

Notes: If there are problems with missing zlib-devel not found install pysam via conda/mamba since zlib-devel cannot be installed using pip.

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

ogtk-0.1.4.tar.gz (176.1 kB view details)

Uploaded Source

Built Distribution

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

ogtk-0.1.4-py2.py3-none-any.whl (196.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ogtk-0.1.4.tar.gz.

File metadata

  • Download URL: ogtk-0.1.4.tar.gz
  • Upload date:
  • Size: 176.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for ogtk-0.1.4.tar.gz
Algorithm Hash digest
SHA256 892e63f8b1397b586140cfe5fee1daf94284b2dab59a2450c8ffe635fd7fafa6
MD5 1a54194354e39f0698a71af4a15cd9c4
BLAKE2b-256 65db4ad478aef7ebefbfeb52c7faa499914e55387af5a650d2c0a078c60701ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for ogtk-0.1.4.tar.gz:

Publisher: python-publish.yml on tzeitim/ogtk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ogtk-0.1.4-py2.py3-none-any.whl.

File metadata

  • Download URL: ogtk-0.1.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 196.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for ogtk-0.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dac6d0871765fc56333ff3ecc0a1ce8f131d8fb1f7a4742d7d3039af2f307607
MD5 a8bb7115f884644d6a82ebc17bba45e8
BLAKE2b-256 caa9faca81756e05ea958fa07bac61c7f2f2a8bc11578710c8090042d8a7963c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ogtk-0.1.4-py2.py3-none-any.whl:

Publisher: python-publish.yml on tzeitim/ogtk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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