Skip to content

acoleman2000/bco-tool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.5%
  • Common Workflow Language 3.5%