jacobwindsor / pubchem-ranker

Ranks compounds by number of BioAssays or BioSystems in PubChem
MIT License
2 stars 1 forks source link

Rewrite to JavaScript #12

Closed jacobwindsor closed 7 years ago

jacobwindsor commented 7 years ago

This tool could very easily be rewritten to JavaScript. There are a few minor advantages to this but the only real major one is that I, and many other web developers, are much more proficient in JavaScript. I haven't looked at Python since writing this code over a year ago.

Need to know if it's worth it though so...

Some questions

1) Will this tool be actively developed? I myself currently have little time to spend really developing it. 2) If so, what languages are those that will develop it proficient in? The answer to this is most likely going to be Python, PHP, or JavaScript since this is a web application.

jacobwindsor commented 7 years ago

@DeniseSl22 I have decided to do this.

I've created a DAR-tool API which is written in node.js, using express as the server, and a MongoDB database.

The API is a RESTful service that can be used to programatically add a compound datset to the database and retrieve the counts for it. I will build a UI that uses this API to get all the data. This architecture is a lot better for several reasons which I can explain another time.

The API is not quite done, yet although it's close. It has all of the functionality that the PubChem ranker had (ranks by pubchem bioassays and pathways) plus some extras. The code is also a lot better and I'm much more comfortable with JavaScript so can add new databses/features much MUCH more quickly.