Skip to main content

CNSistent Logo

PyPI version PyPI downloads Documentation Status Tests

CNSistent is a Python tool for processing and analyzing copy number data. It is designed to work with data from a variety of sources. The tool is designed to be easy to use, and to provide a comprehensive set of analyses and visualizations.

READ THE DOCS HERE

CNSistent can be used as a Python package, or downloaded together with the respective data (PCAWG, TRACERx, TCGA, genomic locations):

Installation

Option 1: Full package with the data

git clone git@github.com:ICCB-Cologne/CNSistent.git
cd CNSistent
pip install -e .
wget -O out.tar.gz https://zenodo.org/records/14547456/files/out.tar.gz 
mkdir -p out
tar -xzf out.tar.gz -C ./out 
rm out.tar.gz

Note: the input data are part of the repository. The processed data can be downloaded and decompressed directly as shown above. Alternative is to generate the by running the ./scripts/data_process.sh and ./scripts/data_aggregate.sh.

Option 2: PIP package only

pip install CNSistent

Data

The input dataset is also availble on Zenodo: DOI

The processed data is available on Zenodo: DOI

Deep learning code is available on Zenodo: DOI

Acessions

The contents of the data folder were obtained by processing the following sources, accessed in December 2023.

TCGA data obtained from ASCATv3 at: https://github.com/VanLoo-lab/ascat/tree/master/ReleasedData
Cite: https://www.pnas.org/doi/full/10.1073/pnas.1009843107
The results published here are in part based upon data generated by the TCGA Research Network: https://www.cancer.gov/tcga.

PCAWG data obtained from: https://dcc.icgc.org/releases/PCAWG/consensus_cnv Cite: https://www.nature.com/articles/s41587-019-0055-9

TRACERx data obtained from: https://zenodo.org/records/7649257
Cite: https://www.nature.com/articles/s41586-023-05729-x

COSMIC cancer set obtained from: https://cancer.sanger.ac.uk/census
Cite: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6450507

Human genome gene set obtained using PyENSEMBL (2023). Cite: https://academic.oup.com/nar/article/51/D1/D933/6786199

Cytoband, Gap data obtained from: https://genome.ucsc.edu Cite: https://www.nature.com/articles/35057062

Common fragile sites obtained from the HumCFS database: https://webs.iiitd.edu.in/raghava/humcfs/ Cite: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6394038 The HumCFS GRCh38/hg38 sites are cleaned and lifted over to hg19 (UCSC chain) by scripts/build_fragile_sites.py; see cns/utils/fragile_sites.py for the processing details.

Licenses

Cite Adam Streck, Roland F Schwarz, CNSistent integration and feature extraction from somatic copy number profiles, GigaScience, Volume 14, 2025, giaf104. The code is available under the MIT License. The data and text files in the data and docs folders are available under the CC BY-NC 4.0 license.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cnsistent-1.1.0.tar.gz (79.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cnsistent-1.1.0-py3-none-any.whl (86.5 kB view details)

Uploaded Python 3

File details

Details for the file cnsistent-1.1.0.tar.gz.

File metadata

  • Download URL: cnsistent-1.1.0.tar.gz
  • Upload date:
  • Size: 79.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for cnsistent-1.1.0.tar.gz
Algorithm Hash digest
SHA256 64fcd965e65cf6e969e0dc973c05f80c57a872ff3b1d9459eea425aad3658e5d
MD5 1a0b5ba30539fa8d1b442dd36cd37250
BLAKE2b-256 3cda4b654cd21576a48d035b59d31915ab0475cf94386a82769e90678d0d0694

See more details on using hashes here.

File details

Details for the file cnsistent-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: cnsistent-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 86.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for cnsistent-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ed6e33faaead8aa8aa3c2593082c55b523287ef127750d414f65cbf9a210c53
MD5 044b512cc5cffd1aa295bfb959434fd5
BLAKE2b-256 2e74e64c86f7f4eb0f618905d20d1df24aa28aea8fc0f20783c14cdca208d2f1

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.1

2 files

This release

1.1.0 This release

2 files

1.0.0

2 files

0.9.0

2 files

0.8.0

2 files

0.7.3

2 files

0.7.1

2 files

0.7.0

2 files

0.6.4

2 files

0.6.3

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page