camembertpy
Cython wrapper for https://github.com/jts/bri with pysam integration.
Installation
From pip repository
pip install camembert-bri
From source
conda approach (recommended)
conda env create -f environment.yml
conda activate camembert
python setup.py install
pip approach
# optional virtualenv:
virtualenv camembert
source camembert/bin/activate
# Installation
pip install -r requirements.txt
python setup.py install
Examples
API
build read index
from camembert import Bri
b = Bri(bam_file)
b.create()
retrieve reads
from camembert import Bri
b = Bri(bam_file)
b.load()
for read in b.get(read_name):
print(read.to_string()) # read is of type pysam.AligmentSegment
CLI
A command line interface is included and mimics the original bri CLI command. For usage, refer to
camembert --help
camembert <subcommand> --help
build read index
camembert index bam_file.bam
retrieve reads
camembert get bam_file.bam read_name
Metadata
Release files for camembert-bri 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| camembert-bri-0.0.2.tar.gz | 58.3 kB | Without provenance | Details for camembert-bri-0.0.2.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| camembert_bri-0.0.2-cp38-cp38-manylinux2010_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.12+ x86-64 | Details for camembert_bri-0.0.2-cp38-cp38-manylinux2010_x86_64.whl |
| camembert_bri-0.0.2-cp37-cp37m-manylinux2010_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.12+ x86-64 | Details for camembert_bri-0.0.2-cp37-cp37m-manylinux2010_x86_64.whl |
| camembert_bri-0.0.2-cp36-cp36m-manylinux2010_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.12+ x86-64 | Details for camembert_bri-0.0.2-cp36-cp36m-manylinux2010_x86_64.whl |
| camembert_bri-0.0.2-cp27-cp27m-manylinux2010_x86_64.whl | CPython 2.7 | CPython 2.7 pymalloc | Linux glibc 2.12+ x86-64 | Details for camembert_bri-0.0.2-cp27-cp27m-manylinux2010_x86_64.whl |
Total release size: 34.4 MB
Release files / camembert-bri-0.0.2.tar.gz
| Download URL | camembert-bri-0.0.2.tar.gz |
|---|---|
| Size | 58.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e2e213c30fa5d4cbb49e05f5a5b62cb60e91700c4a241240be29e7be4dc5d4a
|
|
BLAKE2b-256 checksum How to use checksums |
2d699454289f9b700cd557fe3a7eb2507e537c753da8f9e4e4c5f06fed40c525
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.5.6
|
Release files / camembert_bri-0.0.2-cp38-cp38-manylinux2010_x86_64.whl
| Download URL | camembert_bri-0.0.2-cp38-cp38-manylinux2010_x86_64.whl |
|---|---|
| Size | 9.5 MB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
cdd56956a1f489d70dcd9366e3418da5f1a8129bcb1b1ff0443d17cd216b02e6
|
|
BLAKE2b-256 checksum How to use checksums |
4480fa632a7e595469b98f585d90b905f09f8f876bfeadd18ff8bc98b7a1aa8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1
|
Release files / camembert_bri-0.0.2-cp37-cp37m-manylinux2010_x86_64.whl
| Download URL | camembert_bri-0.0.2-cp37-cp37m-manylinux2010_x86_64.whl |
|---|---|
| Size | 8.5 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
9fc75d070e265a09b0ac456ba3bc843e535a29e1bcfec65f8d36778f79edc6b2
|
|
BLAKE2b-256 checksum How to use checksums |
fec93b009c45978512a6004fb25d840dedf8920e246d37b0dc4eb98faf43f08a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1
|
Release files / camembert_bri-0.0.2-cp36-cp36m-manylinux2010_x86_64.whl
| Download URL | camembert_bri-0.0.2-cp36-cp36m-manylinux2010_x86_64.whl |
|---|---|
| Size | 8.5 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
963fe84cfa01ef859deee1949ccb6000c4d14c4d9b2a05177ba0379d34ca9efc
|
|
BLAKE2b-256 checksum How to use checksums |
b9658b5649138088ee2f5577d7a52b468fafa6138c5585913004b466bac46136
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1
|
Release files / camembert_bri-0.0.2-cp27-cp27m-manylinux2010_x86_64.whl
| Download URL | camembert_bri-0.0.2-cp27-cp27m-manylinux2010_x86_64.whl |
|---|---|
| Size | 7.8 MB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
ed1c6b7c3a868f787d5d5608c732d2f87ada734a97cb61e6b692a79d0668a36e
|
|
BLAKE2b-256 checksum How to use checksums |
d967c4196e4314f1158119bf1b9c8fc03a979b65c28ab93038d2d2d60b87fd9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1
|
Security for camembert-bri 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.