cellme
Convert a human cell line identifier into a truth-track VCF of its known mutations.
Introduction
cellme builds a truth/known VCF for a cell line by resolving a name such as MOLT-4 to a Cancer Cell Line Encyclopedia sample, fetching that sample's somatic mutations from the cBioPortal REST API, and writing them as a sorted VCF.
The mutation source is the ccle_broad_2019 study.
CCLE reports its coordinates against hg19 (GRCh37); by default cellme lifts them to hg38 (GRCh38), and --build hg19 keeps the native coordinates.
Installation
Install the release from PyPI with pip:
pip install cellme
Usage
Write an hg38 truth track for the cell line MOLT-4 to a file:
cellme "MOLT-4" --build hg38 --reference /ref/hg38.fa --output MOLT-4.hg38.vcf.gz
[!IMPORTANT] Always pass
--referencewith a FASTA for the build you target, as shown above. It ensures the correct anchor bases are set for insertions and deletions. Without it, indel anchor bases fall back to a placeholderNand those records are markedANCHOR=placeholder.
The build keys are hg38 and hg19 (the Ensembl names GRCh38 and GRCh37 are accepted as aliases).
The query is matched case-insensitively on the leading cell line token, so MOLT-4, MOLT4, and the full MOLT4_HAEMATOPOIETIC_AND_LYMPHOID_TISSUE sample ID all resolve to the same sample.
VCF INFO Fields
Every record is annotated with compact, self-describing INFO fields.
| Key | Type | Description |
|---|---|---|
GENE |
String | HUGO gene symbol. |
PROTEIN_CHANGE |
String | Protein-level change in CCLE short form (HGVS p.-like), e.g. R306*. |
VARIANT_CLASS |
String | Variant classification (MAF-style), e.g. Missense_Mutation. |
VARIANT_TYPE |
String | Sequence alteration type reported by CCLE: SNP, DNP, INS, or DEL. |
CELL_LINE |
String | Cell line resolved from the query. |
SAMPLE_ID |
String | CCLE sample identifier for the cell line. |
ENTREZ |
Integer | NCBI Entrez gene identifier. |
REFSEQ |
String | RefSeq mRNA accession for the annotated transcript. |
PROTEIN_POS |
String | Affected protein position or range, 1-based. |
SOURCE |
String | Source database and study, e.g. cBioPortal CCLE ccle_broad_2019. |
ORIGINAL_BUILD |
String | Genome build of the source coordinates before any liftover. |
ORIGINAL_LOCUS |
String | Original locus before liftover in UCSC position format, e.g. chr17:7577022. |
LIFTED |
Flag | Coordinate was lifted from ORIGINAL_BUILD to the output reference build. |
ANCHOR |
String | Provenance of the indel anchor base: reference or placeholder. |
The ID column is set to a stable gene:proteinChange token where one is available, for example TP53:R306*, and falls back to gene:chrom:pos otherwise.
Development and Testing
See the contributing guide for more information.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cellme-1.4.0.tar.gz.
File metadata
- Download URL: cellme-1.4.0.tar.gz
- Upload date:
- Size: 99.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c6496d18afbbedddf0775c12a4ab36d0052c17fb57d50d2c08bf48c73e8d771
|
|
| MD5 |
1708cdb26f9ab47f9786e9c0fa7c6623
|
|
| BLAKE2b-256 |
d67e72072b5cbd4c347fcbaef0790503b212ec3e4ae02f4856c5ecd2a9ef45c3
|
Provenance
The following attestation bundles were made for cellme-1.4.0.tar.gz:
Publisher:
publish_cellme.yml on clintval/cellme
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cellme-1.4.0.tar.gz -
Subject digest:
2c6496d18afbbedddf0775c12a4ab36d0052c17fb57d50d2c08bf48c73e8d771 - Sigstore transparency entry: 2733469678
- Sigstore integration time:
-
Permalink:
clintval/cellme@0387befab65582763ca6a4d2e04bd5f681f5f11b -
Branch / Tag:
refs/tags/1.4.0 - Owner: https://github.com/clintval
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_cellme.yml@0387befab65582763ca6a4d2e04bd5f681f5f11b -
Trigger Event:
push
-
Statement type:
File details
Details for the file cellme-1.4.0-py3-none-any.whl.
File metadata
- Download URL: cellme-1.4.0-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b319acc5a37d50876ff535910b2c639f8197cc310c406c8ca879889bec46a510
|
|
| MD5 |
0b8c20bc5b45275d14544e723ee0d9b3
|
|
| BLAKE2b-256 |
6113aa39bc4c20e283608f7029d0c6855e20ad59be791f4d867a4a2f5885a482
|
Provenance
The following attestation bundles were made for cellme-1.4.0-py3-none-any.whl:
Publisher:
publish_cellme.yml on clintval/cellme
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cellme-1.4.0-py3-none-any.whl -
Subject digest:
b319acc5a37d50876ff535910b2c639f8197cc310c406c8ca879889bec46a510 - Sigstore transparency entry: 2733470087
- Sigstore integration time:
-
Permalink:
clintval/cellme@0387befab65582763ca6a4d2e04bd5f681f5f11b -
Branch / Tag:
refs/tags/1.4.0 - Owner: https://github.com/clintval
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_cellme.yml@0387befab65582763ca6a4d2e04bd5f681f5f11b -
Trigger Event:
push
-
Statement type: