Git Product home page Git Product logo

phylomodels.jl's Introduction

PhyloModels.jl

DOI Latest Release License

test-lts test-stable test-nightly codecov.io

PhyloModels.jl is a package for performing genetic sequence simulation from specified phylogenetic trees (using PhyloTrees.jl for phylogenetic tree specification, and SubstitutionModels.jl for nucleic acid substitution model specification), and for loglikelihood calculation of phylogenetic trees using Felsenstein's tree pruning algorithm¹.

¹ Felsenstein, J. (1981). Evolutionary trees from DNA sequences: a maximum likelihood approach. Journal of molecular evolution, 17(6), 368-376.

Installation

The current release can be installed from the Julia REPL with:

pkg> add PhyloModels

The development version (master branch) can be installed with:

pkg> add PhyloModels#master

phylomodels.jl's People

Contributors

github-actions[bot] avatar jangevaare avatar juliatagbot avatar staticfloat avatar tkelman avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tkelman

phylomodels.jl's Issues

Info about upcoming removal of packages in the General registry

As described in https://discourse.julialang.org/t/ann-plans-for-removing-packages-that-do-not-yet-support-1-0-from-the-general-registry/ we are planning on removing packages that do not support 1.0 from the General registry. This package has been detected to not support 1.0 and is thus slated to be removed. The removal of packages from the registry will happen approximately a month after this issue is open.

To transition to the new Pkg system using Project.toml, see https://github.com/JuliaRegistries/Registrator.jl#transitioning-from-require-to-projecttoml.
To then tag a new version of the package, see https://github.com/JuliaRegistries/Registrator.jl#via-the-github-app.

If you believe this package has erroneously been detected as not supporting 1.0 or have any other questions, don't hesitate to discuss it here or in the thread linked at the top of this post.

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

store Q decomposition to get exp(Q*t) repeatedly?

Hi Justin, thanks for these tools! We would like to use your types and functions to add analysis methods for discrete traits in PhyloNetworks. In your implementation of general rate matrices, when there is no analytical formulation of the transition probabilities, your P function performs a matrix exponential each time it's called:

function P(gtr::GTR, t::Float64)
  if t < 0.
    error("Time must be positive")
  end
  return expm(Q(gtr)*t)
end

The Q matrix has the same eigenvalues/vectors for all branches and for all tree topologies. So did you think about storing the eigen-decomposition of Q in some way, to use it repeatedly on different branches and when the tree topology changes, rather than re-calculating the decomposition each time for each branch? or did I miss something?

I'll tag @crsl4, @mkborregaard and @pbastide, who are interested in cross-compatibility between Julia packages for biology and evolution.

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.