HUB
Sign inSign up
tomojs-gm logo

labshare/tomojs-gm

By labshare

•Updated over 7 years ago

LabShare TomoJS GraphicsMagic image.

Image
0

5.1K

labshare/tomojs-gm repository overview

Greenkeeper badge semantic-release Codacy Badge Build Status Codacy Badge

⁠tomoJS

⁠Setup

⁠Host-installed with Docker
  1. Install Node.JS and Docker
  2. npm i -g lsc
  3. Clone the tomoJS repository.
  4. npm i
  5. Use npm run docker-build to install Docker images for GraphicsMagick⁠, ffmpeg⁠, and X264⁠, IMOD⁠, bftools⁠ and EMAN2⁠.
  6. Create a config.json in tomoJS's root directory and add configuration values for the Facility package. The Facility configuration requires valid authentication information to connect to the database.
⁠Singularity (http://singularity.lbl.gov/⁠)
  1. Install Node.js and Singularity⁠
  2. Clone the tomoJS repository.
  3. npm i
  4. Run npm run singularity-build to install required dependencies and Singularity images.
  5. Run sudo singularity build tomojs.simg Singularity to build the Singularity image.
  6. (Optional) Run sudo chown <user> tomojs.simg to change ownership of Singularity image from the root user.
  7. (Optional) Ensure the pipeline data source is accessible. For example, a remote share containing raw image files could be mounted to /data/hedwig.
  8. Create a local config.json file with the following attributes:
{
  "facility": {
    "spfacility": {
      "Site": "https://myrtb.nih.gov",
      "User": "<service-account-login-name>",
      "Password": "<service-account-password>"
    },
    "FacilityDB": "spfacility",
    "FacilityPath": "/RML-EM"
  },
  "tomojs": {
    "facilityPath": "/RML-EM"
  }
}
  1. Access CLI with singularity run -B config.json:/tomojs/config.json tomojs.simg. For example, singularity run -B /data/hedwig:/data/hedwig -B config.json:/tomojs/config.json tomojs.simg sync samples where /data/hedwig is a data volume containing raw imaging data.

⁠CLI

  • Run lsc proc and lsc sync to view the available commands and parameters
Tag summary
Recent tags
Content type
Image
Digest
sha256:05b10fbee…
Size
100.8 MB
Last updated
over 4 years ago
docker pull labshare/tomojs-gm:latest