Public | Automated Build

Last pushed: 5 days ago
Short Description
NodeJS express API for handling biological sequences
Full Description


NodeJS express API for handling biological sequences


Server configuration

  • Dependencies

    • Samtools (optional)
  • Assuming we define /seqservice as basepath, and we keep 10030 port in config.json


# Reverse proxy seqservice
RewriteEngine On
RewriteRule ^/seqservice/(.*)$ http://localhost:10030/seqservice/$1 [P]

ProxyPass        /seqservice/ http://localhost:10030/seqservice/
ProxyPassReverse /seqservice/ http://localhost:10030/seqservice/


upstream api {
    server localhost:10030;

server {

    location /seqservice/ {
        proxy_pass http://seqservice;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";

    location /seqservice {
        proxy_http_version 1.1;
        proxy_set_header   X-Real-IP        $remote_addr;
        proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
        proxy_set_header   X-NginX-Proxy    true;
        proxy_set_header   Host             $http_host;
        proxy_set_header   Upgrade          $http_upgrade;
        proxy_redirect     off;
        proxy_pass         http://seqservice;


Application start

From the directory of the application

npm install
npm run cpcss
npm run webpack
node index.js


Docker installation

From this repository:

sudo docker build -t seqservice .
sudo docker run -p 10030:10030 -d seqservice

Open your browser at http://localhost:10030/seqservice/


  • Keep track of submissions
  • Allow single-hit accompanying analyses (e.g. ProtLoc or GO)
  • Generate alignment from results at user's choice
    • Start PSIBLAST from user choice of sequences
  • Include more HMMER options
  • Save other analysis in DB
  • Download results in different formats (CSV, etc.)
  • Allow syncing with CouchDB
  • More coherent system of keeping params in configuration
  • Plug a task queue or submit to a cluster
  • Download databases if needed
Docker Pull Command
Source Repository

Comments (0)