Differential Correlation Network Analysis
Project description
DCoNA: tool for fast Differential Correlation Network Analysis
TODO: what is DCoNA and why should you use it? TODO: put a short feature description.
Table of Contents
Installation
Installation as a command line tool
TODO: installation from pip3
Installation from source code
Start with cloning the repo. It is really crucial to clone it with all the submodules as follows:
git clone --recurse-submodules git@github.com:zhiyanov/DCoNA.git
Linux (Ubuntu)
TODO: change the example below First, install the necessary dependencies:
sudo apt-get install -y g++ make cmake python3-dev python3-pip python3-numpy
sudo pip3 install cython pot
OS X
All instructions are the same, except that you need to install dependencies differently, through a combination of pip3
and brew
.
Downloading TCGA-PRAD dataset
TODO: put the link here.
Usage
Data structure
To run the tool you need the following data
config.json
data filenames and tool usage parameters:
{
"data_path": "~/input_directory/data.csv",
"description_path": "~/input_directory/description.csv",
"interaction_path": "~/input_directory/interaction.csv",
"output_dir_path": "~/output_directory",
"reference_group": "Normal",
"experimental_group": "Tumor",
"correlation": "spearman",
"alternative": "two-sided",
"score": "mean",
"repeats_number": 800,
"process_number": 64,
"fdr_threshold": 0.05
}
Both relative and absolute file paths can be used.
Data description:
-
data_path
:data.csv
contains an expression table. Rows of the table should be grouped by genes, miRNAs, isomiRNAs and other items. Columns of the table are grouped by patients taken from two different groups.Structure of
data.csv
:sample_1 ... sample_n gene_1 1.2345 ... 1.2345 ... ... ... ... gene_n 1.2345 ... 1.2345 -
description_path
:description.csv
divide patients into two non-intersecting groups (e.g.Normal
andTumor
patients). It is assumed that a patient does not belong to the both groups simultaneously.Structure of
description.csv
:Sample Group sample_1 condition_1 ... ... sample_n condition_2 Column names have to be exactly
Sample
andGroup
. -
interaction_path
:interaction.csv
(optionally) contains source/target pairs: correlations will be computed among this pairs (innetwork
mode). You should delete this line from the config file inexhaustive
mode.Structure of
interaction.csv
:Source Target source_gene_1 target_gene_2 ... ... source_gene_n target_gene_n Column names have to be exactly
Source
andTarget
. -
output_dir_path
is a path to an output directory.
Usage parameters:
-
reference_group
,experimental_group
are names of the patient groups. -
correlation
:spearman
orpearson
, defines the type of correlation that will be used in the tool. -
alternative
:two-sided
,less
orgreater
.TODO: describe the parameter meaning in
ztest
andzscore
regimes.
Working modes
Ztest
TODO: description
Usage:
# For network regime
python3 ~/network/ztest.py config.json
# For exhaustive regime
python3 ~/exhaustive/ztest.py config.json
Hypergeom
TODO: description
Usage:
# For network regime
python3 ~/network/hypergeom.py config.json
# For exhaustive regime
python3 ~/exhaustive/hypergeom.py config.json
Zscore
TODO: description
Usage:
# For network regime
python3 ~/network/zscore.py config.json
# For exhaustive regime
python3 ~/exhaustive/zscore.py config.json
Network and exhaustive regimes
DCoNA has two working regimes:
- Network (interactions) regime - performs calculations only on given gene pairs. Requires an
interaction.csv
file. - Exhaustive (all vs all) regime - generates all possible gene pairs from genes listed in
data.csv
and performs calculations. Aninteraction.csv
file is not needed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for dcona-0.0.10-pp38-pypy38_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a64610954ad39e26fd2d55fb14151423c9336d587524d995caa886312c400bb7 |
|
MD5 | 4773b193f5f9000c822aaf4911754826 |
|
BLAKE2b-256 | f59ef41ea84ba3fb0985d62227d403fde3d7b107c20a99bcee38c634b9722bf5 |
Hashes for dcona-0.0.10-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | faf1cae005bd95899c638f5b375053ac7ebc3565f59ed2efa7553fe023ed3570 |
|
MD5 | 7adb385e72d4b99a754378d13bfebd5b |
|
BLAKE2b-256 | 04bf7f8c2a91aba965d534b233c2df5886dc6f16930464ac79408aafcc0075b8 |
Hashes for dcona-0.0.10-pp38-pypy38_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 688cc8dd1a699aea289de402792821d00224c492933c92c971d7897e834aee33 |
|
MD5 | be4dd54f3d5d8ae1ebb937d56f43e3b2 |
|
BLAKE2b-256 | ebad0b06daf1c092601212a34b8a5d962e7bc01e1af4720cd45a3a60937aa073 |
Hashes for dcona-0.0.10-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b6a6437419b3d5232c3e36796757a5326123bbe9ca6efb8437c88294fe7e1b0 |
|
MD5 | f86625bffa967cd666d605593bd52ca3 |
|
BLAKE2b-256 | 701dfcd564741aab89f4c153e95d94ff1263ebe0611aec8198f0ef6312e20422 |
Hashes for dcona-0.0.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84dd1d96578cdde4b60bbb519ba34721568845984228b43bc5347f7970f3ea66 |
|
MD5 | a95d95f9cc5ca24554fb6bff1af95acf |
|
BLAKE2b-256 | 8ebbe7cb1088e4cae877447e698723b8ff0742055083f085589255f33e039416 |
Hashes for dcona-0.0.10-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09474f72453cfba75823cd956ded72f5128b6d7c7f34374ace4e481fa7a86d3f |
|
MD5 | dbcd9391fc30f002622f8e2944a79801 |
|
BLAKE2b-256 | 4044d9dd596d4682031bfa60933779d070980bac96b4e1b31c44eb1f418436d9 |
Hashes for dcona-0.0.10-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e836dbad711ad25a6f2f0db5a8808ed13f2fe2c046956945c5e88905568317cb |
|
MD5 | 4b95b695d0954a9ad3883407696f96ab |
|
BLAKE2b-256 | 9e48bb6afb69db0092cafeeb52846ea5d53b7b0d39e8a98f812e3c1b819feea5 |
Hashes for dcona-0.0.10-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c04e4a3a2cafc6cf1bc0cccaf257a580f7525637cada3f7562b549cefdc2c837 |
|
MD5 | a3a75090938872e75d61c5957ae4dc8c |
|
BLAKE2b-256 | e54b390b6c8be882e1659d916ff4b7cd222a6ef86d6cba41f72ce725421a075b |
Hashes for dcona-0.0.10-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 131dcdcff4b990f00612280a73c97120fb366a1aa060d141342c5f7c9018e079 |
|
MD5 | bb416b707d7e7bdc432a15a2d0cf55db |
|
BLAKE2b-256 | 914acf6acdbca173687252ede4351bfdd6e15004fdb9b58b625f9d691e36ef86 |
Hashes for dcona-0.0.10-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f1b4338e1e3839a7131f1db81140f61b55698e8299af67082404799b3f116d3 |
|
MD5 | 43d83430b52346bb2d409b3ef37d0e4d |
|
BLAKE2b-256 | aa41c7b9f864b894868b219c382e3d3bac5be62ee40b434caadc2e2f70529693 |
Hashes for dcona-0.0.10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | addb9f23eb9caa7da49272946c72c80f20363b701b8742f72f1256c7944d1cd6 |
|
MD5 | 71dd37c3ad153f889a79e35ee7d4344b |
|
BLAKE2b-256 | d4ba2d19ddf9a519e76cfc931f526ccb15f00d24718b8a055c42312a3e82e87e |
Hashes for dcona-0.0.10-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7c0cd6a34f3b326768890cf60ef001cd727f7acac6931a497ba94001de10669 |
|
MD5 | 6665c6c38609c1cc735215402073c08c |
|
BLAKE2b-256 | 3c8c95ede1cbd7a3cddb4d3ef4bc60ebf9f34afa38a57bb464e5c6c602ae3b71 |
Hashes for dcona-0.0.10-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5db286098cf14089dc69fdd85b8bb5521fb231c09a59b3888b6c34e38e50991d |
|
MD5 | 8a78b45e3e70936602a6ee1a934e4a25 |
|
BLAKE2b-256 | 8b9d019768322061138475504c2a176deaebed0130990f7467e53340828ea587 |
Hashes for dcona-0.0.10-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5db74c7605d1e5049b6963da01f3ac37ae3f7f01c562eefdce988c05de49aef2 |
|
MD5 | 428f56267bdfc7e2e5fab9d5c0b0c7ec |
|
BLAKE2b-256 | a38179301eb80f34c439dead234ab14755a34e1761d7ef4750aea2161fba99d4 |
Hashes for dcona-0.0.10-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f0c1b5e71d1651284b9057f45d20dccd03b1e84e5cc25ace6adb545463e0d33 |
|
MD5 | 7c07b611b3cfc30ce744b8d9e3332371 |
|
BLAKE2b-256 | 57f60f4eee984f2eed46f6d592045de99324d5bba02681cd23f43d893f8e8b94 |
Hashes for dcona-0.0.10-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91adec9830ace0daa0a7bc10b8a7659bef70308efc79f55feab991ff6afb81f4 |
|
MD5 | 4f74cc0650158b92dce8b99b79ff15be |
|
BLAKE2b-256 | 05783546197314be9f118de0b5efff182b8c0c24aab7b3e805ff6cff008670e9 |
Hashes for dcona-0.0.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 833b4fa28495bea06114fb16a1715220affd4e75b72336e9d1e6d2e9a931c9cf |
|
MD5 | 07de394cd501d173b6a576384c42e9b9 |
|
BLAKE2b-256 | b8d94957c7c7983427200ca7d7452f174fc8a5f3e47fa377a7ed5c0005acd77c |
Hashes for dcona-0.0.10-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e135dd75d7e89bc52f66c10f0b4f1b5d1c38fa1eab9c4dfd197b9b81a0d27947 |
|
MD5 | 8dcf56fdac2ecc1f72daf268b32de934 |
|
BLAKE2b-256 | 74fe7b6740c8edae5196fc5a2e58b3992ed19f772e3dd230c6c2cbbc54834e59 |
Hashes for dcona-0.0.10-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca374ab8c1aa0d202feb1d7fd2c5f11de4e99d48ce1584ec4d869671cf136ea5 |
|
MD5 | ab5a683aa652bb18ecd34367d83d1025 |
|
BLAKE2b-256 | de51e1bf8535879e02040ba8be8a3b23a511dc2047f73f00b0c753e8117437f3 |
Hashes for dcona-0.0.10-cp38-cp38-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d09a4590e31b5dfe512b9fb5feb84fe1aa369d7b4e65edddb412369014a448b4 |
|
MD5 | f56c355c946d8caf93540ee095eaf8b2 |
|
BLAKE2b-256 | b84783fe4a9b0d549d1929cec59101a9d7e89af92bdc5dbb4de348b605d24d07 |