counhto
An easy to use tool to count hashtag oligos (HTOs) from 10x cellranger count output processed with Antibody Captures for sample multiplexing and assign tags to cells using the cellranger Jibes algorithm (this part is a minimal edit of the original algorithm as implemented in cellranger > 6.0)
Install
The most convenient and easy way to install the package is
pip install countho
alternatively you could also clone the repository and install it manually like
git clone git@github.com:dmalzl/counhto.git
cd countho
pip install .
Usage
Using it is as simple as setting up a csv file with the following structure
| bamfile | barcodefile | htofile | outputdir |
|---|---|---|---|
| cellranger/outs/possorted_bam.bam | cellranger/outs/filtered_feature_bc_matrix/barcodes.tsv.gz | cellranger/outs/feature_ref.csv | /path/to/outputdir/ |
| cellranger/outs/possorted_bam.bam | cellranger/outs/filtered_feature_bc_matrix/barcodes.tsv.gz | cellranger/outs/feature_ref.csv | /path/to/outputdir/ |
and invoking countho as follows
countho --csv sample_csv.csv [-p n]
The -p argument specifies the number of cpus to use for processing however this only has an effect if more than one samples are supplied.
counhto then counts UMIs per HTO and automatically performes tag assignment using cellrangers Jibes algoritm (see cell multiplexing documentation for more info). The output for each sample will then be written to the specified output directories where the barcodes.tsv file contains the tag assignment information. The directory has following structure
/path/to/outputdir/
|__
|__barcodes.tsv # filtered barcodes with tag assignment information
|__features.tsv # names of the HTOs as specified in the feature_ref.csv file
|__matrix.mtx # MatrixMarket formated count matrix of shape n_barcodes x n_HTOs
Metadata
Release files for counhto 1.1.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 |
|---|---|---|---|---|
| counhto-1.1.0.tar.gz | 22.3 kB | Without provenance | Details for counhto-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| counhto-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for counhto-1.1.0-py3-none-any.whl |
Total release size: 47.2 kB
Release files / counhto-1.1.0.tar.gz
| Download URL | counhto-1.1.0.tar.gz |
|---|---|
| Size | 22.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2acdd4a70edfa2a648f3ee385ca0040b0d1970ad1fc79229ac565fbd1cbcd0df
|
|
BLAKE2b-256 checksum How to use checksums |
7b1d25d606daddd0f5a2627dc94529cd64701705b8c7a474c8e42d3bfcb3a7fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / counhto-1.1.0-py3-none-any.whl
| Download URL | counhto-1.1.0-py3-none-any.whl |
|---|---|
| Size | 24.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef8a167d0975d10d8a8d1f50c2db7cfa4a82de3b9efb79161b82bf485dd78857
|
|
BLAKE2b-256 checksum How to use checksums |
cab39027ccd1a4657d8297fe6cb48d2f3871f434419d9dffab5e52c39f83362e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for counhto 1.1.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.