Coder Social home page Coder Social logo

sturgman / rerconverge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nclark-lab/rerconverge

0.0 1.0 0.0 156.91 MB

Analysis of convergence between organismal traits and DNA/protein sequences

License: GNU General Public License v3.0

R 92.23% C++ 7.77%

rerconverge's Introduction

RERconverge

RERconverge is a set of software written in R that estimates the correlation between relative evolutionary rates of genes and the evolution of a convergent binary or continuous trait across a phylogeny.

Getting Started

Please refer to the Install page for detailed instructions to install RERconverge from scratch. For more information on running RERconverge, please see the full documentation and R vignettes for a nice step-by-step tutorial.

Quick Start

library(devtools)
install_github("nclark-lab/RERconverge")

To run an analysis you will need:

  1. a trees file: a tab-delimited files with gene names and Newick format trees for each gene. Tree topologies must be the same for all genes, and at least one tree must contain all species in the dataset. We provide trees files for several clades here.

  2. information about phenotypes for species included in the dataset.

For a binary trait analysis, this can either be in the form of:

  • a vector (in R) of species to include in the foreground.
  • a tree object (made in R from a Newick tree) where branches are non-zero only for foreground lineages.
  • a tree topology and phenotype information to use for interactive foreground selection

For a continuous trait analysis, this should be:

  • a named vector (in R) of quantitative phenotype values, where the names represent the species to which the phenotypes correspond.

Output

Running RERconverge will produce the following outputs:

  1. an object containing, for each gene, the correlation between its relative evolutionary rate and the trait of interest, along with the estimated p-value and FDR
  2. an object containing, for each gene, its relative evolutionary rate for each branch of the phylogeny, which can be used in the included visualization scripts (e.g., to illustrate the difference in relative evolutionary rate between foreground and background branches)

Authors

See also the list of contributors who participated in this project.

Citation

RERconverge can be cited as follows:

Description of software:

Kowalczyk A, Meyer WK, Partha R, Mao W, Clark NL, Chikina M. RERconverge: an R package for associating evolutionary rates with convergent traits. Pre-print at bioRxiv: https://doi.org/10.1101/451138

Detailed description of latest methods:

Partha R, Kowalczyk A, Clark N, Chikina M. Robust methods for detecting convergent shifts in evolutionary rates. In press, Mol Biol Evol. Pre-print at bioRxiv: https://doi.org/10.1101/457309

The following are the first demonstrations of analyses using the methods in RERconverge:

In coding sequences:

Chikina M, Robinson JD, Clark NL. Hundreds of Genes Experienced Convergent Shifts in Selective Pressure in Marine Mammals. Mol Biol Evol. 2016;33: 2182–92. doi:10.1093/molbev/msw112

For conserved non-coding sequences:

Partha R, Chauhan B, Ferreira Z, Robinson J, Lathrop K, Nischal K, et al. Subterranean mammals show convergent regression in ocular genes and enhancers, along with adaptation to tunneling. eLife 2017;6:e25884. https://doi.org/10.7554/eLife.25884

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details

Acknowledgments

  • Methods for computing weights rely on ideas from the following paper:
Law CW, Chen Y, Shi W, Smyth GK. voom: Precision weights unlock linear model analysis tools for RNA-seq read
counts. Genome Biol. 2014;15: R29. doi:10.1186/gb-2014-15-2-r29

  • Projection operations are drawn from the following paper:
Sato T, Yamanishi Y, Kanehisa M, Toh H. The inference of protein-protein interactions by co-evolutionary 
analysis is improved by excluding the information about the phylogenetic relationships. Bioinformatics. 
Bioinformatics Center, Institute for Chemical Research, Kyoto University, Gokasho, Uji, Kyoto 611-0011, 
Japan. [email protected]; 2005;21: 3482–3489. doi:10.1093/bioinformatics/bti564

rerconverge's People

Contributors

kowaae22 avatar sorrywm avatar raghavendranpartha avatar mchikina avatar wgmao avatar nclark-lab avatar

Watchers

James Cloos avatar

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.