pykallisto
A Python API for RNA-seq alignment, quantification normalization via Kallisto. PyKallisto can take a list of raw fastq files in a compressed or uncompressed format, and generate a cell x gene expression matrix and/or
a cell x transcript equivalent class count matrix, quantify data from many common technologies such as 10x, indrops and dropseq, process feature barcoding data, and obtain QC reports for single-cell rna-seq data. Under the hood, PyKallisto is entirely reliant on kallisto, bustools, and kallisto | bustools from the Patcher Lab.
All thanks for the technologies and beautiful command line tools goes to them. All I did was wrap them in a Python API for easy handling of data in larger pipelines, to allow for pure Python single-cell analysis in a single line of code.
Usage
pykallisto has two classes, Kallisto and KallistoBus. The former wraps kallisto, and the latter wraps the kb | tools from the Patcher Lab.
For both tools, the arguments list are the same as the extended argument list in the command line version. That is, instead of -o/--output-dir for the output directory, we pass output_dir=/path/to/dir in the Python classes.
pykallisto.Kallisto
Example:
from pykallisto import Kallisto
data = Kallisto(files=['fastq1.fasta', 'fastq2.fasta', 'fastq3.fasta'])
# Generate the index file for pseudoalignment
data.index(index='index', output_dir='index_directory/')
# Quantify transcripts in parallel on 4 threads
data.quant(output_dir='results/', threads=4)
Metadata
Release files for pykallisto 0.0.5
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 |
|---|---|---|---|---|
| pykallisto-0.0.5.tar.gz | 11.2 kB | Without provenance | Details for pykallisto-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pykallisto-0.0.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pykallisto-0.0.5-py2.py3-none-any.whl |
Total release size: 17.7 kB
Release files / pykallisto-0.0.5.tar.gz
| Download URL | pykallisto-0.0.5.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48d6612c7dae8c64d26102cf9439439b1bd2303c9aed97c80ee6b2e99a1e0510
|
|
BLAKE2b-256 checksum How to use checksums |
ab0b54093c607f78a34b64af37ce0e55eabf31e418edf94a0342e1710c7ea473
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / pykallisto-0.0.5-py2.py3-none-any.whl
| Download URL | pykallisto-0.0.5-py2.py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d63669b0fd5762ec56254900f2d41d428b9321f294d3c5434c8f7fc872002381
|
|
BLAKE2b-256 checksum How to use checksums |
79a07cf8eb55ff53f4e2ae7f98fcfffd2629a8bea1bda596a6309c0013a6f5e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for pykallisto 0.0.5
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.