Tools for imputation, segmentation, analysis, and plotting of Copy Number Segments (CNS).
Project description
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.shand./scripts/data_aggregate.sh.
Option 2: PIP package only
pip install CNSistent
Data
The input dataset is also availble on Zenodo:
The processed data is available on Zenodo:
Deep learning code is available on Zenodo:
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
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.
Project details
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 cnsistent-1.0.0.tar.gz.
File metadata
- Download URL: cnsistent-1.0.0.tar.gz
- Upload date:
- Size: 73.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af531accbcf4795d8bee3e7cadd445d5be786da4e1c4dffb3eb78b2550e37e8f
|
|
| MD5 |
3830e01b2b4187076b3905087028eace
|
|
| BLAKE2b-256 |
7aa07bcf02ce36edfa348dfafc0c1f929c5f0208a431001e477c83c7b101d944
|
Provenance
The following attestation bundles were made for cnsistent-1.0.0.tar.gz:
Publisher:
publish-pypi.yml on ICCB-Cologne/CNSistent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cnsistent-1.0.0.tar.gz -
Subject digest:
af531accbcf4795d8bee3e7cadd445d5be786da4e1c4dffb3eb78b2550e37e8f - Sigstore transparency entry: 1525314109
- Sigstore integration time:
-
Permalink:
ICCB-Cologne/CNSistent@3cdad7a4b5e6a540e658ebe96a6b0514288f4bcd -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/ICCB-Cologne
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@3cdad7a4b5e6a540e658ebe96a6b0514288f4bcd -
Trigger Event:
release
-
Statement type:
File details
Details for the file cnsistent-1.0.0-py3-none-any.whl.
File metadata
- Download URL: cnsistent-1.0.0-py3-none-any.whl
- Upload date:
- Size: 80.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ade772ba9544e0eda6ec5aac863e65ec045616a5dea3dffd8e5ff0b6be1ce64
|
|
| MD5 |
3fa97a971a8dd46c6f439be848afe5c3
|
|
| BLAKE2b-256 |
b006536bcd6010d4b1fbfb9596dc479470123c083d132b1b9921bd703237ba3b
|
Provenance
The following attestation bundles were made for cnsistent-1.0.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on ICCB-Cologne/CNSistent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cnsistent-1.0.0-py3-none-any.whl -
Subject digest:
8ade772ba9544e0eda6ec5aac863e65ec045616a5dea3dffd8e5ff0b6be1ce64 - Sigstore transparency entry: 1525314139
- Sigstore integration time:
-
Permalink:
ICCB-Cologne/CNSistent@3cdad7a4b5e6a540e658ebe96a6b0514288f4bcd -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/ICCB-Cologne
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@3cdad7a4b5e6a540e658ebe96a6b0514288f4bcd -
Trigger Event:
release
-
Statement type: