SynBioDex / SBOL-utilities

Command-line utilities and scripts for manipulating SBOL data
MIT License
12 stars 21 forks source link

Implemented working prototype of 3.X sub_component <---> 2.X component conversion #282

Open Yehuda-Binik opened 1 week ago

Yehuda-Binik commented 1 week ago

I implemented a first working version of sub_component <---> component conversion

A Unit test for a round trip starting from SBOL2 still needs to be written.

In addition, the prototype does not handle hasLocation and orientation properties.

For the time being, I am conveerting all sub_components into 2.X components. However, this is not always the case, since "SBOL 2.x Component, Module, and FunctionalComponent objects map to SBOL 3.x SubComponent objects" as per the documentation.

I don't necessarily feel comfortable merging yet, but I would appreciate feedback on what I have at the moment.