Tuesday, 9 September 2014

BioJS 101 tutorials

Headstart

So first thing is to write a very simple script with javascript.

This can then be run by node so long as you are in the correct folder.



Package basics

Important point:
For BioJS 2 components, we have following naming conventions:
biojs-[io/rest/vis/algo/…]-[name]
  • Use io for components which are responsible for parsing data into a specific format (aka parser)
  • Use vis for components which are visualizing data sets
  • Use rest for REST apis to databases
  • Use algo for server/client side algorithms processing the data (e.g. alignments, neural networks, markov models, graph algorithms)

require is a special function provided by node.js

package.json
   this seems to contain the key information about the package.

No comments:

Post a Comment