Skip to main content

cellme

PyPI version CI Python Versions License: MIT MyPy Checked uv Ruff

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

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.

Metadata

Release files for cellme 1.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cellme 1.6.1
File Size Uploaded
cellme-1.6.1.tar.gz 107.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cellme 1.6.1
File Interpreter ABI Platform
cellme-1.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 132.4 kB

Release files / cellme-1.6.1.tar.gz

Download URL cellme-1.6.1.tar.gz
Size 107.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8c46f3da85a6330dd495a9c4b85e5e2918d0970e4816dbf9c2e3463540727a8c
BLAKE2b-256 checksum
How to use checksums
e7a9021dc6fedc51365d079f9d70b0cfbaa4818c4e2cc7e9be91d5ac536402ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.

Transparency log

Release files / cellme-1.6.1-py3-none-any.whl

Download URL cellme-1.6.1-py3-none-any.whl
Size 24.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6c82f69eebe971f0e91579d854ea3d0c983eaf3bc0dc9bbad6b978eed22db53
BLAKE2b-256 checksum
How to use checksums
8697d1fd3600b91acde46d79b061792d1020abaed76b5b257e81a41610ed7ac9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.6.1 This release

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page