Only tested on different free Linux distributions, not payable OS.
Singularity has to be installed on the machine.
singularity (tested with 3.1.1)
More details are provided in the manual.pdf file.
git clone https://github.com/popgenomics/DILS_web
cd DILS_web
sudo singularity build DILS.sif DILS.def
sudo singularity exec --bind DILS/:/mnt DILS.sif host=[ip adress of your server] port=[port number where shiny is reachable] nCPU=[maximum number of CPUs to use simultaneously]
eg with a big machine with 100 CPUs:
sudo singularity exec --bind DILS/:/mnt DILS.sif webinterface/app.R host=127.0.0.9 port=8912 nCPU=100
Please keep in mind that the max number of CPUs is the maximum number of CPUs DILS will use at certain times, but that DILS will not use 100% of the indicated number of CPUs throughout its whole run. This maximum usage will be punctual.
shiny app is now available in your web browser at http://[ip adress of your server]:[port number],
eg:
http://127.0.0.9:8912/
But chose the IP adress and port number you want
In your terminal, from the DILS_web directory:
singularity exec --bind DILS/:/mnt DILS.sif webinterface/app.R host=127.0.0.9 port=8912 nCPU=100
May require sudo to be run
Then in your web brower:
http://127.0.0.9:8912/
All example files are in the example sub_directory.
DILS only works with fasta files. The example file is a tar.xz file only to store it on GitHub, but not to be read in DILS. In this case here, you must first decompress the archive like this:
tar -Jxvf mytilus.tar.xz
Will generates the input file:
mytilus.fas
Upload the fasta file by clicking on:
- ABC
- Upload data
- Browse (Input file upload)
Then you can set up the analysis and execute it.
Upload the archive produced by DILS in a tar.gz format (doesn't need to be extracted) by clicking on:
- Results visualization
- Upload results
- Browse (Results to upload)
Then you can explore the observed data and the results of the inferences.
For problems of installation, use or interpretation, do not hesitate to post a message on the following group:
https://groups.google.com/forum/#!forum/dils---demographic-inferences-with-linked-selection