1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
scbamtools
High performance Cython + Python tools to process BAM files with tags as they arise in single-cell sequencing
Status
This is alpha. Mostly, the plan is to move useful functionality developed within spacemake outside of spacemake, so that it can be re-used without pulling in all the dependencies for a heavy-weight spatial transcriptomics package. Currently, the umbilical has not been cut and the code is almost certainly not functional w/o spacemake around.
Useful things include:
- converting FASTQ files to uBAM files with barcode information (single cell and spatial workflows)
- trimming adapters (uses cutadapt functions under the hood)
- making histograms and statistics about cell barcodes, UMIs and possibly other BAM tags
- annotate aligned BAM records against a transcript annotation such as GENCODE
- build digital gene expression counts from annotated BAM files, directly as scanpy AnnData (h5ad)
Why is this better than ...
Depends what you need. We are building these tools to be as fast as possible while keeping as much of the functionality in python (with the occasional cython) for felxibility and maintainability. We don't care as much about (total) CPU use as we care about throughput/scalability. So, some principles:
- avoid temp files, streaming is better
- parallelize with mrfifo for low-overhead parallelism
- put some effort into efficient data structures where it pays off
- make simple things simple, while hard things should be possible
The code in here is the same that we use to process open-st spatial transcriptomics data, which is very deep: typical runs having billions of reads and hundreds of millions of spatial barcodes. While we make sure that the tools here don't break and have manageable resource usage, we do not intend to be the most CPU-efficient or allow you to process open-st on your laptop. YMMV.
Roadmap
- port everything from spacemake [ongoing]
- full suite of tools to replace dropseq-tools in spacemake [v1.0]
- optimizations
- tutorials and example uses outside of spacemake
Metadata
Release files for scbamtools 0.8.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| scbamtools-0.8.8.tar.gz | 599.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scbamtools-0.8.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details |
Total release size: 2.0 MB
Release files / scbamtools-0.8.8.tar.gz
| Download URL | scbamtools-0.8.8.tar.gz |
|---|---|
| Size | 599.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
916ebac0c60ef5a9b1b2fe475c2df422b342a5190e541d2294c6b1f81ef3d709
|
|
BLAKE2b-256 checksum How to use checksums |
acac814920459689b676193f71f87d40fd1ce45ff7338c05c6efde95a2c2f37a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.14
|
Release files / scbamtools-0.8.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | scbamtools-0.8.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
38c478f1d4ea589cb7a1ad74f8161e43394960b97f58d9f4090d5be4118e0ba5
|
|
BLAKE2b-256 checksum How to use checksums |
de4354c74b3821005050acbd40788206b62177e6b938bfb5c095cca50b4f64dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.14
|
Security for scbamtools 0.8.8
Upload timing
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
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.