-
Notifications
You must be signed in to change notification settings - Fork 9
Description
According to the validation rule 10807, the location object's sequence properties should point subComponent.instanceOf.Sequence rather than via the parent component that contains SubComponent. Can we please double check if this rule is correct?
sbol3-10807 �- If a SubComponent object has at least one hasLocation and zero sourceLocation properties, and the Component linked by its instanceOf has precisely one hasSequence property whose Sequence has a value for its elements property, then the sum of the lengths of the Location objects referred to by the hasLocation properties MUST equal the length of the elements value of the Sequence.
Considering the following example. I assume Range1.hasSequence points to parent_Sequence1 rather than child_Sequence1.
:parent a sbol:Component ;
sbol:hasFeature <parent/SubComponent1> ;
sbol:hasSequence :parent_Sequence1 .
<parent/SubComponent1>
a sbol:SubComponent ;
sbol:hasLocation <parent/SubComponent1/Range1> ;
sbol:instanceOf :child .
:parent_Sequence1 a sbol:Sequence ;
sbol:elements "atgcgtaaaggagaagaacttttca" .
<parent/SubComponent1/Range1>
a sbol:Range ;
sbol:hasSequence :parent_Sequence1 .
:child a sbol:Component ;
sbol:hasSequence :child_Sequence1 .
:child_Sequence1 a sbol:Sequence ;
sbol:elements "atg" .