Dictionary TSV format

Dictionaries are used to normalize entities. This is the format of dictionary files used at tagtog.

The dictionary file to upload must be a .tsv file (tab-separated values) (or a compressed .zip or .tar.gz containing a single .tsv). To upload dictionary files visit Settings > Dictionaries.

The dictionary format should follow this pattern:

  entity_1_id    recname1    recname2    ...
  entity_2_id    recname1    recname2    @@@    altname1    altname2    ...
  ...

The syntax is simple:

Each entity is defined in a new line. All columns are separated by tabs.

The first column is the entity's unique id. It can be an internal id (e.g. your database) or recognized (using known sources as Wikipedia).

After the id, a list of names follows. These are considered different names (synonyms) of the entity.

You can define recommended names and, optionally, alternative names. At least one recommended name must be given. Alternative names are those placed after the special delimiter @@@ (also separated within tabs). Use them when you know that some names appear less frequently than the standard ones. With this information, the system can handle synonyms better.

If you want to check out a sample, you can download this dictionary: Arabidopsis gene names (source: SwissProt).