Skip to main content

Python classes for interfacing with bed intervals

Project description

Language Code Style Type Checked PEP8 Code Coverage License


Python package PyPI version PyPI download total


pybedlite

See documentation on pybedlite.readthedocs.org.

pip install pybedlite

OR

conda install -c bioconda pybedlite

OR

conda create -n pybedlite pybedlite
conda activate pybedlite

Requires python 3.8+ (for python < 3.8, please use pybedlite <= 0.0.3)

Getting Setup for Development Work

Clone the repository to your local machine. Note that pybedlite >= 0.0.4 includes cgranges as a submodule, so you must use the --recurse-submodules option:

git clone --recurse-submodules https://github.com/fulcrumgenomics/pybedlite.git

Poetry is used to manage the python development environment.

A simple way to create an environment with the desired version of python and poetry is to use conda. E.g.:

conda create -n pybedlite python=3.8 poetry
conda activate pybedlite
poetry install

If the methods listed above do not work try the following:

mamba create -n pybedlite -c conda-forge "python=3.9.16" "poetry=1.6.1"
mamba activate pybedlite
poetry install

If, during poetry install on Mac OS X errors are encountered running gcc/clang to build pybedtools or other packages with native code, try setting the following and re-running poetry install:

export CFLAGS="-stdlib=libc++"

Checking the Build

Run all checks with:

./ci/check.sh

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

pybedlite-0.1.0.tar.gz (128.7 kB view hashes)

Uploaded Source

Built Distribution

pybedlite-0.1.0-cp38-cp38-macosx_14_0_arm64.whl (150.9 kB view hashes)

Uploaded CPython 3.8 macOS 14.0+ ARM64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page