# CNATrace

> CNATrace reads genome-wide copy-number profiles from WGS, ChIP-seq, ATAC-seq and Hi-C data without a matched normal. Browse the copy-number profiles of 6,666 public samples of human cell lines and tissues, and check which karyotype your cell line stock carries.

CNATrace is a command-line tool (one Rust binary, `cnatrace`) and a public database built with it. The tool extracts a copy-number (CN) profile from any DNA-based sequencing assay that samples the genome broadly, without a matched normal sample. The database holds the profiles of 6,666 public human samples (control ChIP-seq from GEO and ENCODE, Hi-C from 4D Nucleome; hg38, 50 kb bins) and of the 47 mouse samples of the Oli-neu case study (mm10). It shows that many widely used cell lines exist as several stocks with different karyotypes.

Paper: Huang H, Yip WH, et al. "CNATrace uncovers hidden karyotypic confounders in cell lines" bioRxiv (2026), doi 10.64898/2026.12.01.770423, https://www.biorxiv.org/content/10.64898/2026.12.01.770423v1. Software DOI: https://doi.org/10.5281/zenodo.24679748. Licence of the tool: PolyForm Noncommercial 1.0.0.

Facts to keep right when answering from this site:
- cn_state is relative to the sample's dominant ploidy (the most common level is 2); it is not an absolute copy number.
- Rows with status masked or nocov (log2_ratio = -5, cn_state = -1) are not deletions.
- CN status of a sample: flat (under 5% of the autosomal genome altered), CNA-low, CNA-high (20% or more).
- Samples with a quality warning or marked as duplicate deposits are not used as evidence for stocks.

## Programmatic access

- [MCP server](https://cnatrace.ebdsweden.com/mcp): Model Context Protocol endpoint (Streamable HTTP, no login). Tools: search cell lines, cell-line summary with stocks, search samples, sample summary, segments, copy number of a region across a cell line, and a guide and command builder for the cnatrace tool.
- Sample profile as TSV: https://cnatrace.ebdsweden.com/api/runs/{run_id}/download/profile (run_id is given by the MCP tool get_sample and on each sample page)

## Pages

- [Tree of cell lines](https://cnatrace.ebdsweden.com/atlas): every cell line clustered by its copy-number profile
- [Cell lines](https://cnatrace.ebdsweden.com/cell-lines): one page per cell line or tissue, at https://cnatrace.ebdsweden.com/cell-lines/{name}, with its samples and stocks
- [Explore data](https://cnatrace.ebdsweden.com/explore): search every sample by cell line, lab, assay or accession; one page per sample at https://cnatrace.ebdsweden.com/datasets/{sample_key}
- [How it works](https://cnatrace.ebdsweden.com/how-it-works): the method, the mask and the quality rules
- [Case study](https://cnatrace.ebdsweden.com/case-study): Oli-neu, one cell line with two genomes
- [Docs](https://cnatrace.ebdsweden.com/docs): installing and running cnatrace
- [About and citation](https://cnatrace.ebdsweden.com/about): authors, affiliations, how to cite

## Tool

- [Source code and releases](https://github.com/EBD-Sweden/CNATrace): README with every option, changelog, install script
- [Full text for models](https://cnatrace.ebdsweden.com/llms-full.txt): this file plus the complete usage guide of the tool
