Giter Site home page Giter Site logo

phylentropy's Introduction

phylEntropy

A Django web application to make simple data analysis and vizualisation.

Installation

First, clone this repo:

git clone https://github.com/dcazenav/PhylEntropy.git

Phylentropy requires python 3.10.

To install it:

  • You may first install and activate a new conda environment:
conda create --name phylentropyenv python=3.10
source activate phylentropyenv
  • Install all Phylentropy dependencies:
pip3 install -r requirements.txt
  • Create Django databases
python3 manage.py makemigrations
python3 manage.py migrate
  • Create admin user
python manage.py createsuperuser
  • Run the django server on local network
python manage.py runserver 0.0.0.0:<port>

Note that you can replace <port> by an available port number (e.g. 8000) as follows:

python manage.py runserver 0.0.0.0:8000

Manage downloaded files (optional)

cron and crontab installation tutorial :

https://www.digitalocean.com/community/tutorials/how-to-use-cron-to-automate-tasks-ubuntu-1804-fr

To add the command you want to automate :

crontab -e

To list the commands you have automated :

crontab -l

The command to delete the generated files :

*/10 * * * * find /path/to/files -name "*.png" -type f -delete

How to use phylEntropy

You will first need to download the git repository on your computer (https://github.com/dcazenav/PhylEntropy). I’m using Ubuntu, but you can use this tutorial on another operating system (OS).

Then you will find all the installing instructions in the READ.ME, follow them to launch the WEB application.

Then load a ".csv" file

Several options are available, but you cannot use them without an input file. It must be a ".csv" file with a semicolon or comma as field separator (no tabs).

Depending on the option chosen, you will have to refer to the formalism of the example file.

Once your input file is in good shape, you can load/drag it into the area provided for this purpose.

After validating by clicking on “Load File”, check that your file has been taken into account. If your file has been taken into account, you should be faced with your file in the form of a table

Use options:

Now that your file is uploaded, you can use one of the options.

The launch procedure is the same for all options except for those in the “Statistics” section.

You will find the launch instructions directly on the web application.

phylentropy's People

Contributors

dcazenav avatar davy971 avatar dcouvin avatar

Forkers

karubiotools

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.