zayrus / mutants

dicover mutants dna based in array of strings

Home Page:https://analyzedna.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mutants DNA analyzer

Made with

Getting Started

  • Run git clone https://github.com/zayrus/mutants.git
  • Run cd mutants & npm i
  • Rename .example_env to .env
  • Run mongod
  • Run npm start

API Routes

  • /mutants
  • /stats
  • /documentation

Tests

Run npm test

Example data

Mutant

  • Method: POST
  • Endpoint: /mutants
  • Body: {dna: ["ATGCGA","CAGTGC","TTATTT","AGACGG","GCGTCA","TCACTG"]}

Curl

curl -X POST
https://mutants-bjnfgbemjb.now.sh/mutants
-H 'Content-Type: application/json'
-d ' {"dna": ["ATGCGA","CAGTGC","TTATGT","AGAAGG","CCCCTA","TCACTG"]}'

Human

  • Method: POST
  • Endpoint: /mutants
  • Body: {dna: ["ATGCGA","CAGTGC","TTATGT","AGAAGG","CCCCTA","TCACTG"]}

Curl

curl -X POST
https://mutants-bjnfgbemjb.now.sh/mutants
-H 'Content-Type: application/json'
-d '{"dna": ["ATGCGA","CAGTGC","TTATTT","AGACGG","GCGTCA","TCACTG"]}'

About

dicover mutants dna based in array of strings

https://analyzedna.herokuapp.com


Languages

Language:JavaScript 100.0%