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:
- Install LLVM and OpenMP support:
brew install llvm
- 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"
- Reload your shell configuration:
source ~/.zshrc # or source ~/.bash_profile
- 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
- Install system dependencies:
brew install llvm patchelf
-
Set up the environment as described above
-
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:
- Make sure LLVM is properly installed:
brew install llvm - Verify environment variables are set correctly
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ogtk-0.1.7.tar.gz.
File metadata
- Download URL: ogtk-0.1.7.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
002817045a16baeb067dc846613017b5b78920d1bf4360f95598b8d87d1c8d16
|
|
| MD5 |
d5716dec408dcc9e6c03db53d48a55cf
|
|
| BLAKE2b-256 |
8bb312e152bc435b31f72e92171a27d667e3517a6876a3bd6c545e65caf77cb2
|
Provenance
The following attestation bundles were made for ogtk-0.1.7.tar.gz:
Publisher:
python-publish.yml on tzeitim/ogtk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ogtk-0.1.7.tar.gz -
Subject digest:
002817045a16baeb067dc846613017b5b78920d1bf4360f95598b8d87d1c8d16 - Sigstore transparency entry: 198186753
- Sigstore integration time:
-
Permalink:
tzeitim/ogtk@01e28633a77e8862961945cbd7d8d2cd302d3589 -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/tzeitim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@01e28633a77e8862961945cbd7d8d2cd302d3589 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ogtk-0.1.7-py2.py3-none-any.whl.
File metadata
- Download URL: ogtk-0.1.7-py2.py3-none-any.whl
- Upload date:
- Size: 200.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c12b339def8fd21d89961b5decac9c734235b1e938f25e4268e9cfce100817ab
|
|
| MD5 |
5b3b086001342e7b2ae6b2ae62fadb36
|
|
| BLAKE2b-256 |
2c2e88144eef5fa372b1ace073b5ba58392b505d4e3444119d54f1eee482f57c
|
Provenance
The following attestation bundles were made for ogtk-0.1.7-py2.py3-none-any.whl:
Publisher:
python-publish.yml on tzeitim/ogtk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ogtk-0.1.7-py2.py3-none-any.whl -
Subject digest:
c12b339def8fd21d89961b5decac9c734235b1e938f25e4268e9cfce100817ab - Sigstore transparency entry: 198186756
- Sigstore integration time:
-
Permalink:
tzeitim/ogtk@01e28633a77e8862961945cbd7d8d2cd302d3589 -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/tzeitim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@01e28633a77e8862961945cbd7d8d2cd302d3589 -
Trigger Event:
push
-
Statement type: