Code Monkey home page Code Monkey logo

hybsearch

A tool to find nonmonophyly in a phylogenetic tree.

To Install

To Run

Two steps:

  1. Either double-click the "hybsearch" file in the folder, or, with a terminal, cd into the hybsearch folder and run ./hybsearch.
  2. Run docker run -p 8080:8080 -it hybsearch/hybsearch

If you don't have docker, TODO.

If you're on Windows, TODO.

To Develop

You'll need Docker, still.

For the Electron app

Any changes you make to the JS can be run by simply pressing ⌘R. There is no build process.

For the Docker container / data pipeline

Whenever you change the data pipeline, you will need to rebuild the Docker image.

We recommend using a local Docker tag to test with; anywhere you would write hybsearch/hybsearch, you should just write hybsearch instead.

To rebuild the container:

docker build -t hybsearch .

To run your rebuilt container:

docker run -p 8080:8080 -it hybsearch

Miscallaneous Bits

Dependencies

Our current versions of our dependencies:

  • Docker: 17.20.x

Or

  • Node: 8.x
  • Beagle: 2.1.2
  • OpenMPI: 2.1.1
  • Clustal-Omega: 1.2.0
  • MrBayes: 3.2.6
  • Electron: 1.6.10
  • seq-gen: 1.3.3
  • seqmagick: 0.6.1

If you have Docker installed, all you need to do is (in the project root)

$ docker run --port 8080:8080 -it hybsearch/hybsearch
$ ./hybsearch

which will start the server that the electron app uses.

To convert files:

./vendor/seqmagick/cli.py convert --input-format fasta --output-format nexus --alphabet dna <input> <output>

How to update Electron:

  • npm install -g electron-download
  • electron-download --version=<version>
  • Copy the zip from ~/.electron and extract it into hybsearch/vendor
  • Edit the hybsearch file to point to the new path
  • Remove the old folder

Some HammingDistance Notes:

>>> hamming-distance speciesA speciesB
$minimumDistance
>>> estimate-generations $minimumDistance
{divergenceTime, generationCount}
>>> seq-gen $file --generations $generationCount
$sequences > sequences.fasta
>>> hamdis sequences.fasta
???

hybsearch's Projects

clinfo icon clinfo

Print all known information about all available OpenCL platforms and devices in the system

clustalo icon clustalo

A clone of http://www.clustal.org/omega

hybsearch icon hybsearch

Find nonmonophyly in phylogenetic trees by looking for ILS and unexpected hybridization

hybsearch-old icon hybsearch-old

[DECOMMISSIONED] This repository contains all of the original history prior to v4.0.0-beta.3 (and is meant as a reference for situations where access to the original history with vendored dependencies is needed)

images icon images

A central repository containing the basic Docker Images for Hybsearch

jml icon jml

Testing hybridization using species trees

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.