GithubHelp home page GithubHelp logo

kvnkuang / rmimp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omarwagih/rmimp

1.0 0.0 1.0 372.78 MB

Predicting the impact of mutations on kinase–substrate phosphorylation

Home Page: http://mimp.baderlab.org/

R 100.00%

rmimp's Introduction

rmimp logo
Predicting the impact of mutations on kinase-substrate phosphorylation in R

Installation

To install MIMP, first make sure your R version is at least R 3.0. You can check by typing the following into your R console:

R.Version()$major

Next, install and load devtools package:

install.packages("devtools")
library("devtools")

Then download and install the rmimp package from github (this may take a few minutes, please be patient):

install_github("kvnkuang/rmimp")

Load the rmimp package into R, and you're ready to go!

library("rmimp")

Running MIMP on sample data:

To start using MIMP, try loading paths to the sample data, which come with the package:

# Get the path to example mutation data 
mut.file = system.file("extdata", "sample_muts.tab", package = "rmimp")

# Get the path to example FASTA sequence file 
seq.file = system.file("extdata", "sample_seqs.fa", package = "rmimp")

# Get the path to example FASTA sequence file 
psite.file = system.file("extdata", "sample_phosphosites.tab", package = "rmimp")

The mutation file contains the following lines:

TP53 R282W
TP53 R248P
TP53 W146S
CTNNB1 S33C
CTNNB1 S37F

The phophosite file contains the following lines:

TP53	284
TP53	215
CTNNB1	33

To start the analysis, simply run the mimp function on these files:

# Run rewiring analysis
results = mimp(mut.file, seq.file, psite.file, display.results=TRUE)

The output is stored in the results variable and should show up in your browser. To suppress browser display, set display.results=FALSE

If you'd like to redisplay the results in your browser at a later time, run the following:

results2html(results)

Running MIMP without phosphosite data:

If you don't pass phosphosite data to the function call, MIMP will use positions of all S, T and Y residues in your FASTA file as potential phosphosites.

# Run rewiring analysis
results2 = mimp(mut.file, seq.file, display.results=TRUE)

Running MIMP without phosphosite or sequence data:

If you pass only a mutation file to the function call, MIMP will use positions of experimentally identified phosphosites from PhosphoSitePlus, and their corresponding sequences. PhosphoSitePlus uses UniProt accessions as identifiers, so for this please make sure the IDs used in your mutation file are uniprot accessions:

Here's an example using a file with five mutations:

P04637 R282W
P04637 R248P
P04637 W146S
P35222 S33C
P35222 S37F
# Get the path to example mutation data 
mut.file.up = system.file("extdata", "sample_muts_uniprot.tab", package = "rmimp")

# run mimp
results3 = mimp(mut.file.up, display.results = TRUE)

Documentation

For a full list of all options, take a look at the documentation by typing the following in your R console:

?mimp

Contact

If you have any feedback, suggestions or questions, please drop me a line at (wagih(at)ebi.ac.uk) or open an issue on github.

rmimp's People

Contributors

kvnkuang avatar omarwagih avatar

Stargazers

 avatar

Forkers

reimandlab

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.