Skip to content

A Python tool to convert RUI objects to CCF Spatial Ontology (CCF-SPO)

License

Notifications You must be signed in to change notification settings

hubmapconsortium/spatial2ccf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spatial2CCF

A Python tool to convert HuBMAP RUI objects to CCF Spatial Ontology.

The CCF Spatial Data Ontology (CCF-SPO) describes the 2D and 3D shapes of entities and their physical locations and orientations. At the moment, the spatial entity represents only the 3D model of the anatomical entities. The spatial entity will have the spatial object reference that holds the 3D object information and the spatial placement that holds the object coordinate and transformation information (i.e., scaling, rotation and translation).

The HuBMAP CCF Registration User Interface (RUI) provides an interactive tissue registration system using 3D human organ models. It captures some metadata about the donor, tissue location and tissue slices.

Installing the tool

You can install the application using pip after you clone the repository.

$ cd spatial2ccf
$ pip install .

Using the tool

  1. Download the RUI records from the HuBMAP project repository. You may need to request access to the HuBMAP development team to get the RUI records.

  2. Run the tool

    $ spatial2ccf raw_data.jsonld --ontology-iri http://purl.org/ccf/data/spatial_entities.owl -o spatial_entities.owl
    
  3. Open the resulting output file using Protégé

Screen Shot 2021-08-05 at 2 01 28 PM

About

A Python tool to convert RUI objects to CCF Spatial Ontology (CCF-SPO)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages