Giter VIP home page Giter VIP logo

ptp-web-server's Introduction

sd_web

Species delimitation web server

Provide web interface for PTP, GMYC, CROP and UCLUST

Deploy: Change settings.py to the deployment enviroment

See this page how to install and configure X server: http://pythonhosted.org/ete2/tutorial/tutorial_webplugin.html#servers https://groups.google.com/forum/#!searchin/etetoolkit/x$20server$20/etetoolkit/XSIeQyX9W64/0mPc4n1SrDMJ

Add this to /etc/apache2/httpd.conf: FastCGIExternalServer /webdata/sd_web/sd_server/sd_server.fcgi -host 193.197.73.70:2222

Add this to /etc/apache2/sites-enabled/000-default: <VirtualHost :80> ServerName species.h-its.org DocumentRoot /webdata/sd_web/sd_server #alias /static /webdata/sd_web/sd_server/static #alias /download /webdata/sd_web/sd_server/download RewriteEngine On RewriteRule ^/(static.)$ /$1 [QSA,L,PT] #RewriteRule ^/(download.)$ /$1 [QSA,L,PT] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^/(.)$ /sd_server.fcgi/$1 [QSA,L]

export DISPLAY=localhost:0.0 python manage.py runfcgi method=threaded host=193.197.73.70 port=2222

sudo service apache2 restart

INSTALL R GMYC: install.packages("ape",repos="http://cran.r-project.org/") install.packages("paran",repos="http://cran.r-project.org/") install.packages("splits",repos="http://R-Forge.R-project.org")

$Rscript gmyc.script.R tree method

input: an input tree in newick or nexus format (its name should end with ".tre" or ".nex". method: type of method, s for single and m for multiple threshold.

(you can make it executable if Rscript is installed as /usr/bin/Rscript, like other linux scripts)

It outputs following files.

xxxx_list: a tab-delimited text file of delimitation. it is an output of the spec.list function. xxxx_summary: a text file of summary of analysis from summary.gmyc. xxxx_plot.pdf: plots in pdf format. xxxx_plot.png: plots in png format.

I think you should install r-base-dev as well as r-base to use Rscript command.

ptp-web-server's People

Contributors

zhangjiajie avatar

Watchers

James Cloos avatar Nils Wötzel 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.