Skip to content

global-foodomics/GFOPontology

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GFOPontology

Update ontology

GFOP

In case of an update to the GFOP ontology, replace the data/GFOP.owl file (download from webprotege as RDF/XML) and run the gfop_to_json.py script. This will create a json tree of the ontology.

microbeMASST

Download MASST results as .tsv file for all data file matches. Run the microbe_masst_results.py script to extract a file with all the matches to specific IDs in the metadata table. The build_tree.py script is then adding these results onto the tree ontology.

Example: Yersiniabactin

Classyfire

Download the classyfire ontology in json format. Run the classyfire_to_json_ontology.py script to generate the correct format for the tree.

Build ontology tree

Run the build_tree.py script to create a single html file that contains the javascript tree, data, and html page. This will:

  1. Input: Ontology (json), extra data (tsv), html page with dependencies
  2. Output: Merged tree data (json), self-contained html page (single file)
  3. Merges extra data (e.g., MASST results) from a tsv-file (tab-separated) into an ontology tree (optional)
  4. Uses base html file to internalize the tree data and all dependencies
  5. Find the resulting tree data file and html file in the dist folder. Default: dist/oneindex.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published