Sorokina, Maria
Steinbeck, Christoph
2019-04-23
<p>Natural products (NPs), often also referred to as secondary metabolites, are small molecules synthesized by living organisms. Natural products are of interest due to their bioactivity and in this context as starting points for the development of drugs and other bioactive synthetic products. In 2008, Ertl and coworkers suggested a natural product (NP) likeness score, which, for a given molecule its similarity to the structure space covered by NPs compared to the structure space covered by synthetic molecules (SM). Such a score could be used to prioritize compounds from virtual libraries. Later, Jayaseelan and coauthors presented a pure open data, open source version of the NP-likeness scorer (Ertl et al., 2008; Jayaseelan et al., 2012). This archive contains the second part of the NP-likeness software suite NaPLeS (Natural Products Likeness Scorer). The suite consists of a web application that allows computing the NP-likeness score online (this archive), of an easy to install local scorer to compute NP-likeness for big datasets and a MySQL database containing a large number of NPs from diverse public databases with pre-computed NP-likeness scores and other metrics.</p>
<p>The unarchived source code for this project is available on <a href="https://github.com/mSorok/NPlsWeb">GitHub</a> and can be recompiled as a maven project. The NaPLeS web application is available at <a href="https://naples.naturalproducts.net/">naples.naturalproducts.net</a> This README describes the steps on how to set up and run a local instance of the NP-likeness scorer web application.</p>
<p> </p>
<p><strong>Project tree:</strong></p>
<pre><code class="language-bash">NPlsWeb
├── archive
├── docker-compose.yml
├── Dockerfile
├── molimg
├── mvnw
├── mvnw.cmd
├── mysql
├── NPlsWeb.iml
├── pom.xml
├── README
├── src
├── target
├── upload-dir
└── volume</code></pre>
<p> </p>
<p><strong>Prior to running</strong></p>
<ul>
<li>verify that the file NPlikenessDB.sql is in the <strong>mysql</strong> folder</li>
<li>verify that there are ".<em>ser</em>" files in the <strong>archive</strong> folder - in the docker-compose.yml replace "VIRTUAL_HOST: nplsscorer.cheminf.uni-jena.de" by "VIRTUAL_HOST: yourwebsite.de" or remove this part to run the web application locally (don't forget to cite us :) )</li>
<li>in the<em> docker-compose.yml </em>remove "LETSENCRYPT_HOST" and "LETSENCRYPT_EMAIL" unless you want to have your NPLSweb instance to be certified by Let's Encrypt.</li>
<li>in the <em>docker-compose.yml</em> replace the MYSQL_ROOT_PASSWORD if necessary <strong>nginx</strong> The project is built to run with nginx as server and reverse-proxy on a Docker "nginx-network". For more details see for example <a href="https://medium.com/@francoisromain/host-multiple-websites-with-https-inside-docker-containers-on-a-single-server-18467484ab95">here</a></li>
</ul>
<p> </p>
<p><strong>Project execution</strong></p>
<pre><code class="language-bash">sudo docker-compose build
sudo docker-compose up -d
sudo docker exec -it mysql_npls bash
mysql -uroot -proot1234 NPLikenessDB < /mysqldata/NPLikenessDB.sql
exit</code></pre>
<p>After this, the web application will run either on the URL you specified in the docker-compose.yml either on localhost:8090</p>
<p> </p>
<p><strong>Source code </strong></p>
<p>The unarchived source code for this project is available on <a href="https://github.com/mSorok/NPlsWeb">GitHub</a> and can be recompiled as a maven project. In the source code can be</p>
<ul>
<li>modified the MySQL instance the web application connects on (in the application.properties file)</li>
<li>modified the maximum number of molecules per submitted file via the web interface (currently max 200 molecules</li>
<li>to modify in the SDF and SMILES readers)</li>
<li>if the plots need to be recomputed (due to changes in the database): in the <em>NPlsWebController.java</em> change <em>private boolean </em><em>newPlot</em><em> = false to true</em> (when the plots recomputed, don't forgive to change the <em>newPlot</em> back to false).</li>
</ul>
https://doi.org/10.5281/zenodo.2652356
oai:zenodo.org:2652356
eng
Zenodo
https://doi.org/10.5281/zenodo.2649325
info:eu-repo/semantics/openAccess
Creative Commons Attribution 4.0 International
https://creativecommons.org/licenses/by/4.0/legalcode
Natural Products
Web Application
Spring Boot
NP-likeness
NaPLeS
MySQL
Java
Docker
NaPLeS: NP-likeness Scorer Web Application
info:eu-repo/semantics/other