Margo (Marker Generator)
Margo is a tool that generates yaml cell type marker which maps cell types to gene expression from csv gene expression files.
Checkout a full documentation here.
Installation
pip install margo
Usage
margo <input_csv> <output_yaml> -t/--tissue <specified_tissues> -m/--min_marker_per_celltype <min_marker_per_celltype>
The input file <input_csv> should be a csv file which contains single cell gene expression data. It must includes the feature names (gene markers) as the column names in the first row.
The output yaml file <output_yaml> is a marker which maps cell types to gene markers.
Here’s an example:
cell_type:
Angiogenic T cell:
- CD3
- CD31
Basal epithelial cell:
- Vimentin
- Cytokeratin 14
- Cytokeratin 5
CD1C-CD141- dendritic cell:
- CD45
- CD68
Cancer cell:
- CD44
- Cytokeratin 8/18
- Her2
- CD45
- CD20
Cancer stem cell:
- CD44
- c-Myc
Epithelial cell:
- Cytokeratin 19
- Cytokeratin 8/18
- SMA
Hematopoietic stem cell:
- CD44
- CD45
Leukocyte:
- CD3
- CD45
- CD20
Luminal epithelial cell:
- Cytokeratin 19
- Cytokeratin 8/18
Myoepithelial cell:
- CD44
- SMA
- Cytokeratin 14
Reference
Marker data was extracted from database CellMarker: a manually curated resource of cell markers in human and mouse. Nucleic Acids Research. 2018. (Website: http://biocc.hrbmu.edu.cn/CellMarker).
Metadata
Release files for margo 0.0.4
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 |
|---|---|---|---|---|
| margo-0.0.4.tar.gz | 6.0 kB | Without provenance | Details for margo-0.0.4.tar.gz |
Release files / margo-0.0.4.tar.gz
| Download URL | margo-0.0.4.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02a125c6f31fbbf20db88bd9e755f3cabb7d4fc4acb104d013c3b15285e7c99a
|
|
BLAKE2b-256 checksum How to use checksums |
c5bfed2350ac3797c552ecfac0a2542c1cbf669d234d7cf601d4e27eecc7f872
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.8
|
Security for margo 0.0.4
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.