/cedar-artifact-library

Tools for working with CEDAR model artifacts

Primary LanguageJavaOtherNOASSERTION

CEDAR Artifact Library

Contains various tools to work with CEDAR model artifacts (templates, elements, fields, template instances).

To build the code in this repository you must have the following items installed:

First build the CEDAR parent project and the CEDAR Model Library.

Get a copy of the latest code:

git clone https://github.com/metadatacenter/cedar-artifact-library.git

Change into the cedar-artifact-library directory:

cd cedar-artifact-library 

Then build it with Maven:

mvn clean install

To generate an Excel spreadsheet from a CEDAR template:

mvn exec:java -Dexec.args="<Input_template_filename.json> <Output_Excel_filename.xlsx> https://terminology.metadatacenter.org/bioportal/integrated-search/ <CEDAR API key>"

This will read a JSON-Schema-based template and convert it into an Excel file.