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).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file margo-0.0.4.tar.gz.
File metadata
- Download URL: margo-0.0.4.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
Python-urllib/3.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02a125c6f31fbbf20db88bd9e755f3cabb7d4fc4acb104d013c3b15285e7c99a
|
|
| MD5 |
0bd659b857a62b7e2d8b898d66c03bf1
|
|
| BLAKE2b-256 |
c5bfed2350ac3797c552ecfac0a2542c1cbf669d234d7cf601d4e27eecc7f872
|