Table of Contents
TDF2OBO is a transformation tool taking as input a Trait Definition File as proposed by MIAPPE [1] and converting it to an ontology formatted in obo [2].
To install TDF2OBO locally using Poetry [3]:
-
Clone the repository:
git clone https://github.com/IPK-BIT/tdf2obo.git cd tdf2obo
-
Install dependencies:
poetry install
You can now use tdf2obo
as described below.
To convert a Trait Definition File (TDF) to OBO format, run the following command:
tdf2obo --file <input_tdf_file> --output <output_obo_file>
Parameters:
--file
(required): Path to the input Trait Definition File (TDF). Supports:.tsv
,.csv
--output
(optional): Path where the generated OBO file will be saved. Default:-
(console)
Example:
tdf2obo --file examples/tdf.tsv --output trait-definition.obo