Git Product home page Git Product logo

ardock's Introduction

#ARDock server implementation

git clone https://github.com/glaunay/ardock.git
npm install

Check the config file $scripts/package.json$ for correct path and r/w permissions

##Tests ####1. Basic pdb parsing Test with the default input PDB file (./scripts/test/4MOW.pdb)

$node index.js --conf scripts/package.json --pdb --test  

Specify a valid pdb file

$node index.js --conf scripts/package.json --pdb -f scripts/test/1BRS.pdb

####2. Computing engine The slurm and local implementations require netcat (nc command) to be installed

#####2.1 Local machine (multi-threaded) implementation

$node index.js --conf scripts/package.json --pdb -p 3 --local --test --slurm

Use the --test flag to mimic a docking computation on the pdb file scripts/test/4MOW_D.pdb

#####2.2 Cluster of machines implementation (SLURM only) Perform a 10 probes surface sampling of the 1BRS.pdb A,B dimer

$node index.js --conf ./scripts/package.json --pdb -f ./scripts/test/1BRS.pdb -c A,B --slurm -p 10

####3. Running the HTTP server

#####3.1 Start the HTTP server on test mode $node index.js --conf ./scripts/package.json --test --http

See result at http://ardock.ibcp.fr/test Node server listens on port 3000

#####3.2 HTTP Server with supports for Interactive web-client and REST interfaces

node index.js --conf ./scripts/package.json --http --slurm --rest -p 3

######3.2.1 REST API specifications Using the REST interface to trigger the download of a structure and process it. Results will be displayed as an annotated protein structure file

eg: http://ardock.ibcp.fr/rest?pdbCode=1BRS&chains=A,B

  • pdbCode is valid PDB identifier (mandatory)
  • chains is a list of chain identifiers separated by coma (optional, by default all valid chains are processed)

######3.2.2 Web-client specifications

IO Duplex connection communication protocol

Usage

Build the client code

$browserify -t browserify-css app.js -o js/bundleTest.js

ardock's People

Contributors

glaunay avatar melaniegarnier avatar cebers avatar

Watchers

James Cloos avatar  avatar  avatar

ardock's Issues

Interface glitch

Tutorial protein reduced to chainA.
Computation performed, the sequence display trailing XXXXXX
The tutorial key is truncated

node 10.15 update warnings

npm WARN deprecated [email protected]: deprecated in favor of builtin child_process.execFile
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

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.