Catalog PyPI
PACKAGE EXPLORERView in registry

ACSNI

PyPI

automatic context-specific network inference

Versions collected1
Direct dependencies5From release 1.0.6
Last observed20 Oct, 18:28 UTC

README

Version 1.0.6 documentation

ACSNI

Automatic context-specific network inference

Determining tissue- and disease-specific circuit of biological pathways remains a fundamental goal of molecular biology. Many components of these biological pathways still remain unknown, hindering the full and accurate characterisation of biological processes of interest. ACSNI leverages artificial intelligence for the reconstruction of a biological pathway, aids the discovery of pathway components and classification of the crosstalk between pathways in specific tissues.

workflow

This tool is built in python3.8 with tensorflow backend and keras functional API.

Installation and running the tool

The best way to get ACSNI along with all the dependencies is to install the release from python package installer (pip)

pip install ACSNI This will add four command line scripts:

ScriptContextUsage
ACSNI-runGene set analysisACSNI-run -h
ACSNI-deriveSingle gene analysisACSNI-derive -h
ACSNI-getLink pathway traitACSNI-get -h
ACSNI-splitSplit expression dataACSNI-split -h

Utility functions can be imported using conventional python system like from ACSNI.dbs import ACSNIResults

Input ACSNI-run

Expression Matrix - The expression file (.csv), specified by -i, where columns are samples and rows are genes. The expression values should be normalised (eg. TPM, CPM, RSEM). Make sure the column name of the 1st column is "gene".

geneSample1Sample2Sample3
Foxp1123.2274.1852.6
PD1324.2494.1452.6
CD8523.6624.1252.6

This input should not be transformed in any way (e.g. log, z-scale)

Gene set matrix - The prior matrix (.csv) file, specified by -t, where rows are genes and column is a binary pathway membership. Where "1" means that a gene is in the pathway and "0" means that the gene is not know a priori. The standard prior looks like below. Make sure the column name of the 1st column is "gene".

genePathway
Foxp10
PD10
CD81

You can also supply gene IDs instead of gene symbols.

The tool can handle multiple pathway columns in the -t file as below.

genePathway1Pathway2Pathway3
Foxp1000
PD1010
CD8101

Note: Each pathway above is analysed independently, and the outputs have no in-built relationship. The tool is designed to get a granular view of a single pathway at a time.

Output ACSNI-run

Database (.ptl)

ContentInformation
coPathway Code
wSubprocess space
nInteraction scores
pScore classification
dInteraction direction
run_infoRun parameters
methodsExtractor functions

Predicted Network (.csv)

ContentMeaning
nameGene
subSubprocess
directionDirection of interactions with subprocess

Null (.csv) {Shuffled expression matrix}

Input ACSNI-derive

Expression Matrix - See ``-i``` description above.

Note - We recommend removing any un-desirable genes (eg. MT, RPL) from the expression matrix prior to running ACSNI-derive as they usually interfere during initial prior matrix generation steps. For TCR/BCR genes, counts of alpha, beta and gamma chains can be combined into a single count.

Biotype file (Optional) - The biotype file (.csv) specified by -f, given if the generation of gene set should be based on a particular biotype specified by -b.

genebiotype
Foxp1protein_coding
PD1protein_coding
MALAT1lncRNA
SNHG12lncRNA
RNU1-114PsnRNA

Correlation file (Optional) - The correlation file (.csv) specified by -u, given if the user wishes to replace "some" specific genes with other genes to be used as a prior for the first iteration of ACSNI-run (internally).

genecor
Foxp10.9
PD10.89
MALAT10.85
SNHG120.80
RNU1-114P0.72

Output ACSNI-derive

Database (.ptl)

ContentInformation
coPathway Code
nInteraction scores
dInteraction direction
acCorrelation and T test results
fdUnfiltered prediction data
run_infoRun parameters
methodsExtractor functions

Predicted (.csv)

ContentMeaning
nameGene
predictClassification of genes

Null (.csv) {Shuffled expression matrix}

Input ACSNI-get

ACSNI database - Output of ACSNI-run (.ptl) specified by -r.

Target phenotype - Biological phenotype file (.csv) to link ACSNI subprocesses, specified by -v. The sample IDs should match the IDs in the -i analysed by ACSNI-run.

Variable type - The type of phenotype i.e "numeric" or "character", specified by -c.

Outputs the strength of the associations across the subprocesses (.csv).

Input ACSNI-split

Expression Matrix - See ``-i``` description above.

Number of splits - The number of independent cohorts to generate from `-i```.

Outputs the data splits in the current working directory.

Extras

R functions to reproduce the downstream analyses reported in the paper are inside the folder "R".

Example runs are inside the folder "sh".

Tutorial

An extensive tutorial on how to use ACSNI commands can be found inside the Tutorial folder.

To clone the source repository

git clone https://github.com/caanene1/ACSNI

Citation

ACSNI: An unsupervised machine-learning tool for prediction of tissue-specific pathway components using gene expression profiles Chinedu Anthony Anene, Faraz Khan, Findlay Bewicke-Copley, Eleni Maniati and Jun Wang

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.618 May 20215

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
caanene1/acsni

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:28 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:18088065d66a69b81b8be41c308699ddbb464ea409de74056654c7a563dd51ed