Pas-Kapli / mptp

mPTP - a tool for single-locus species delimitation
GNU Affero General Public License v3.0
25 stars 5 forks source link

Create a web-service #43

Open xflouris opened 8 years ago

xflouris commented 8 years ago

Tomas and Sarah will create together a GUI web-service on 6. November.

We will use Twitter's bootstrap library for that. The GUI will be a middle-ware for obtaining the command-line parameters that will be passed to delimit. We will deploy the service on a private VPS, and prepare it for a later deployment on the HITS cluster.

xflouris commented 8 years ago

We re-schedule the web-service design and implementation for either 20.11.2015 or 27.11.2015 depending on how the higher priority issues are resolved.

As stated before, we will use Twitter's bootstrap for the GUI. For communicating with the server and running mptp I propose that we use FastCGI since it works with most web-servers (Apache, IIS, lighttpd) and is fast, stable and secure.

All documentation for FastCGI is here.

stamatak commented 8 years ago

Hi Tomas,

Regarding FastCGI, have you talked with Nils?

He has some dedicated solution for scheduling compute jobs on the web-services cluster.

Alexis

On 12.11.2015 15:03, Tomas Flouri wrote:

We re-schedule the web-service design and implementation for either 20.11.2015 or 27.11.2015 depending on how the higher priority issues are resolved.

As stated before, we will use Twitter's bootstrap http://getbootstrap.com for the GUI. For communicating with the server and running |mptp| I propose that we use FastCGI http://www.fastcgi.com since it works with most web-servers (Apache http://www.apache.org, IIS https://www.iis.net, lighttpd http://www.lighttpd.net/) and is fast, stable and secure.

All documentation for FastCGI is here http://www.fastcgi.com/devkit/doc/fastcgi-prog-guide/ap_guide.htm.

— Reply to this email directly or view it on GitHub https://github.com/Pas-Kapli/delimitation/issues/43#issuecomment-156109779.

Alexandros (Alexis) Stamatakis

Research Group Leader, Heidelberg Institute for Theoretical Studies Full Professor, Dept. of Informatics, Karlsruhe Institute of Technology Adjunct Professor, Dept. of Ecology and Evolutionary Biology, University of Arizona at Tucson

www.exelixis-lab.org

xflouris commented 8 years ago

Hi Alexi, yes, I've talked with him a couple of times. The solution they have (it was incomplete at that time anyway) is for communicating with the cluster. Reading results from the (shared) filesystem is still on our side, and this is what I suggest to be done with FastCGI. Also for testing the webservice before deplyoing it to the cluster since our program is C based.

But I'll contact Nils and ask him if there would be any problems in case we persist on using fastcgi for the cluster as well, before starting anything.

stamatak commented 8 years ago

okay, sounds like a plan, thank you :-)

alexis

On 12.11.2015 15:20, Tomas Flouri wrote:

Hi Alexi, yes, I've talked with him a couple of times. The solution they have (it was incomplete at that time anyway) is for communicating with the cluster. Reading results from the (shared) filesystem is still on our side, and this is what I suggest to be done with FastCGI. Also for testing the webservice before deplyoing it to the cluster since our program is C based.

But I'll contact Nils and ask him if there would be any problems in case we persist on using fastcgi for the cluster as well, before starting anything.

— Reply to this email directly or view it on GitHub https://github.com/Pas-Kapli/delimitation/issues/43#issuecomment-156113967.

Alexandros (Alexis) Stamatakis

Research Group Leader, Heidelberg Institute for Theoretical Studies Full Professor, Dept. of Informatics, Karlsruhe Institute of Technology Adjunct Professor, Dept. of Ecology and Evolutionary Biology, University of Arizona at Tucson

www.exelixis-lab.org

xflouris commented 8 years ago

Use d3 for visualization, and particularly this or this scatter-plots for log-likelihood visualization when performing multiple bayesian runs.

stamatak commented 8 years ago

sounds good :-)

alexis

On 13.11.2015 01:49, Tomas Flouri wrote:

Use d3 http://d3js.org for visualization, and particularly this http://nvd3.org/examples/scatter.html or this http://d3plus.org/examples/basic/9029781/ scatter-plots for log-likelihood visualization when performing multiple bayesian runs.

— Reply to this email directly or view it on GitHub https://github.com/Pas-Kapli/delimitation/issues/43#issuecomment-156282828.

Alexandros (Alexis) Stamatakis

Research Group Leader, Heidelberg Institute for Theoretical Studies Full Professor, Dept. of Informatics, Karlsruhe Institute of Technology Adjunct Professor, Dept. of Ecology and Evolutionary Biology, University of Arizona at Tucson

www.exelixis-lab.org