fingerling
The output of salmon alevin is a binary sparse matrix. fingerling is a python module for reading that output into a pandas dataframe suitable for downstream analysis.
Code is derived from k3yavi/vpolo, updated to use maturin for Python/Rust integration.
Installation
Requirements:
fingerling requires Python 3.10 (or greater) as well as:
pandas
numpy
scipy
Additionally, since fingerling contains a submodule written in Rust, a working installation of Rust is required. See instructions for installing Rust here.
Install fingerling from this repository using:
pip install git+https://github.com/milescsmith/fingerling
If you wish to download the source and build it locally, you will also need maturin. Prior to installing the local files, you will need to run maturin build followed by pip install .target/wheels/fingerling-X.X.X-cp3XX-cp3XX-OS_VERSION_PLATFORM.whl, where X.X.X corresponds to the package version, cp3XX the python version, and OS_VERSION_PLATFORM your operating system and version. The actual name and location for the wheel should be given by maturin at the end of the build.
Basic Usage
Currently, fingerling is not setup to be used as a standalone executable, but instead used as part of an analysis pipeline in something like a Jupyter notebook. The read_quants_bin function returns a sample-by-feature dataframe with an index corresponding to the cell barcodes and column names corresponding to the feature names and is suitable for use in creating an AnnData object:
import scanpy as sc
from fingerling import read_quants_bin
cite_df = read_quants_bin("/PATH/TO/ALEVIN_OUTPUT")
adata = sc.Anndata(X=cite_df)
Metadata
Release files for fingerling 1.0.0
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 |
|---|---|---|---|---|
| fingerling-1.0.0.tar.gz | 43.3 kB | Without provenance | Details for fingerling-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fingerling-1.0.0-cp311-cp311-manylinux_2_34_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.34+ x86-64 | Details for fingerling-1.0.0-cp311-cp311-manylinux_2_34_x86_64.whl |
Total release size: 338.4 kB
Release files / fingerling-1.0.0.tar.gz
| Download URL | fingerling-1.0.0.tar.gz |
|---|---|
| Size | 43.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d78539ae059a9d0a87d7b6587f54c5d186a0d5dbd7d866fc5a9786807853796
|
|
BLAKE2b-256 checksum How to use checksums |
c12c4bbae050ed5e23661b100e337ab83ef442affa1932972a8c94b4b2f66bf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.7.0
|
Release files / fingerling-1.0.0-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | fingerling-1.0.0-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 295.2 kB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
16ccd5e13ed7a17e0f2c63f371437f34259ef2c19ef1c7eb4875e753e445c284
|
|
BLAKE2b-256 checksum How to use checksums |
40616b0c120a3da3f8902cb3d1ab3f13a62abc81f16effcc1ce00d8e998de4d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.7.0
|
Security for fingerling 1.0.0
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.