Giter Site home page Giter Site logo

sysbio-curie / profile Goto Github PK

View Code? Open in Web Editor NEW
10.0 8.0 1.0 87.06 MB

Repository of "Personalization of Logical Models With Multi-Omics Data Allows Clinical Stratification of Patients" paper

License: BSD 3-Clause "New" or "Revised" License

Shell 0.02% HTML 99.74% Perl 0.04% Python 0.16% R 0.03%
simulation paper patient-specific-profiles maboss patients personalization

profile's Introduction

Personalization of patient-specific logical models (PROFILE)

This is a repository of data, code and analyses related to the paper "Personalization of Logical Models With Multi-Omics Data Allows Clinical Stratification of Patients". The paper can accessed here: https://www.frontiersin.org/articles/10.3389/fphys.2018.01965.

This repository can be cited with its own DOI: DOI

A step-by step tutorial has been added. Please have a look at Tutorial_PROFILE.pdf and its instructions for a simple pipeline with similar steps but different models and data.

Getting Started

This set of files and scripts is supposed to be self-sufficient. Please download data and scripts and follow instructions

Requirements

  • Python version 3.0 or greater
  • Python's package pandas
  • Perl
  • R
  • MaBoSS requires: flex, bison, gcc and g++

Patient-specific personalization pipeline

In the present pipeline, two different datasets may be used (METABRIC or TCGA) and processed for further simulations with two different logical models, either a generic one (Fumia model, see paper) or a breast-specific one (Zanudo model, see paper).

The following instructions will use METABRIC data and Fumia model.

Generation of patient-specific profiles with R

Patient-profiles generation and all its underlying computations (funcional effect inference, normalization and binarization) have been packed in a .Rmd file. Please run Fumia_META_profiles.Rmd (in Scripts/Profiles folder) with R to generate profiles (in Results/Profiles folder) and a corresponding .html report (in Scripts/Profiles folder)

rmarkdown::render("Fumia_META_profiles.Rmd", "html_document")

Simulation of patient-specific models with MaBoSS

Patient-specific profiles are used to personalise patient-specific models through different methods based on node activity status, initial conditions or transition rates. Simulations are performed by MaBoSS software.

However, model personalisation requires to modify MaBoSS model files. The whole simulation process is packed in python script. Please note that depending on your operating system, you should choose different versions of that script (either MaBoSS_specific_Mac or MaBoSS_specific_Linux)

A minimal example of simulations can be found in the following shell script. This is an example of simulations using mutations and CNA information of METABRIC cohort as node activity status. Only values for model output nodes (dead-end nodes regulated by inhibitors/activators but not regulating any other node) are saved.

model=Fumia2013 
sim_case = META_mutations_CNA_asMutants
python3 Scripts/Simulations/MaBoSS_specific_Mac.py $model 2 "Results/Simulations/results_"$sim_case".txt"
    -s $sim_case -m "Results/Profiles/Fumia_META_mutCNA.csv"

This example is available in example1.sh, either in MacOS or Linux distribution versions.

Another example, computing the scores for all nodes of the model, is available in example2.sh, either in MacOS or Linux distribution versions. The loop structure is required to avoid an exponential increase of computation time.

Authors

Scripts were mostly designed by Jonas Béal (jonas dot beal at curie dot fr). See a complete list of authors in the corresponding paper.

profile's People

Contributors

arnaumontagud avatar jonasbeal avatar lcalzone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

gmagannadevelop

profile's Issues

Error in spread (., Hugo_symbol, value)

I have downloaded the data for the Cohen TCGA colon cancer tutorial, from both the cBioPortal and from the github repository. I am able to successfully run the code up until importing CNA and RNA data. The issue appears to arise from trying to use the "entrez_to_hugo" function. For both these, I get the issue "Error in spread(., Hugo_Symbol, value): Keys are shared for 29600/7104 rows".

Instead, I get the following venn diagram, which again I think is an issue with calling the "entrez_to_hugo" function.
image

Any suggestion of action would be much appreciated!

Thank you in advance for your help!

Q: What is TH in the simulations output?

Hi,
Not an issue, just a question:
In the python simulation script MaBoSS_specific.py, a column TH is created in the output file. Can anyone explain what TH is and how it is used?
Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.