Coder Social home page Coder Social logo

bcotool's Introduction

BCO-TOOL

This is a Command Line Tool that allows for the manipulation of BioCompute Objects. Serveral functionalites are provided (detailed more below in supported modes).

To install:

Run the Git Clone command in the location you would like the repostory:

  1. cd path/to/my/github/repositories

  2. git clone https://github.com/HadleyKing/bco-tool.git

Add the main bco-tool program to your path

  1. cd bco-tool

  2. pip install -r requirements.txt

  3. cp bco-tool/bco_runner.py /usr/local/bin/bco

Supported modes

  • convert - takes a BCO and converts it to the current BCO standard: ieee-2791-schema. Can optionally provide a mapping file to specify mapping fields (template generated through map function), otherwise default mappingis performed.

  • validate - takes a BCO and validates it against a schema. Can provide a schema, otherwise ieee-2791-schema is used.

  • map - takes a BCO and generates a template mapping file to use for convert method.

  • license - takes a BCO and gives a license.

  • functions - Lists all functions in app.

  • run_cwl - taks a BCO describing a CWL Workflow and runs it

  • --help/-h - gives detailed help message

  • --version/-v - gives information about version

Optional arguments

  • --schema/-s - provides schema for the validate, convert, or map functions, to check BCO against. Default schema is ieee-2971-schema.
  • --bco/b - URL or path to JSON file of BCO to manipulate.
  • --mappingFile/-m - path to mapping file to use for convert function.

bcotool's People

Contributors

hadleyking avatar acoleman2000 avatar rajamazumder avatar

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.