Giter Site home page Giter Site logo

mlbackend's Introduction

sise.micro-rna-m-rna-targets-interactions.backend

sise.micro-rna-m-rna-targets-interactions.backend
โœ… Visit our website here.

Created By:
Uri Zlotkin
Shahar Kramer

Sections

Web_site_for_miRNA-mRNA_interactions_data

The backend is developed with Python Flask, and the data is stored and handled with Postgres SQL.

Getting_Started

In order to set up the development environment and run the project, we create a file called requirements.txt. All the packages we use in the project are in that file.
flask==2.2.2
flask_cors==3.0.10
pandas==1.5.2
numpy==1.23.5
flask-sqlalchemy
psycopg2
flask_executor
flask-compress
waitress

Endpoints

132.73.84.177/api - welcome message for the api

132.73.84.177/api/organisms/details - return list of organisms in json.

132.73.84.177/api/organisms/datasets/int:data_set_id/interactions - return list of interactions of dataset:int:data_set_id in json

132.73.84.177/api/interactions - return list of interactions base on search filters: (datasetsIds, seedFamilies, miRnaIds, miRnaSeqs, sites, geneIds, regions)

Data_Access_Layer

PostgreSQL is used as a database, and flask_sqlalchemy is used to communicate with it. Each table is translated into a Python object by mapping it to a python object. Our objects: (Organism, DataSet, Interaction, mirnaIdOption, SeedFamilyOption, GeneIdOption, RegionOption, SiteOption).

Configuration

There is a config.ini file and a Configurator class. Database connection information is stored in the config.ini file, which is not uploaded to git. The Configurator class reads the necessary data from the config.in file.

mlbackend's People

Watchers

Eyal avatar

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.