Examples

parse command

The parse command is a way to import a mapping file. In this example, the file basic.tsv will be parsed. The CLI command is as follows:

sssom parse basic.tsv

This results in the contents of the file displayed on the terminal. If the result is needed to be exported into another tsv, an --output parameter could be passed and the command will look like this:

sssom parse basic.tsv --output parsed_basic.tsv

convert command

The convert command converts files from one format to another. In this example, we convert a tsv file into an owl format.

sssom convert basic.tsv --output basic.owl --output-format owl

diff command

Mapping files can be compared and differences highlighted using the diff command.

sssom diff basic.tsv basic2.tsv -o diff_output.tsv