Skip to content

Commit 12be87d

Browse files
authored
Merge pull request #472 from SynBioDex/sep_053
recommend use of existing SO terms for feature orientation
2 parents bb27583 + 926c498 commit 12be87d

File tree

3 files changed

+23
-6
lines changed

3 files changed

+23
-6
lines changed

apdx-validation.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ \subsubsection*{Rules for the \class{Feature} class}
397397
\printWarning{Each \sbolmult{role:F}{role} property of a \sbol{Feature} MUST refer to a resource that clarifies the intended function of the \sbol{Feature}.\\
398398
Reference: \sec{sec:Feature}}
399399

400-
\printValid{If a \sbol{Feature} has an \sbolmult{orientation:F}{orientation} property, its \sbol{URI} MUST be drawn from \ref{tbl:orientation_types}.\\ Reference: \sec{sec:Feature}}
400+
\printValid{If a \sbol{Feature} has an \sbolmult{orientation:F}{orientation} property, its \sbol{URI} MUST be drawn from \ref{tbl:orientation_types} or \ref{tbl:orientation_types_alternative}.\\ Reference: \sec{sec:Feature}}
401401

402402
%\todo[inline]{Should we add that orientation SHOULD be used precisely for features of type DNA in components of type DNA?}
403403

@@ -507,7 +507,7 @@ \subsubsection*{Rules for the \class{SequenceFeature} class}
507507
\subsubsection*{Rules for the \class{Location} class}
508508
\setcounter{sbolCtr}{11301}
509509

510-
\printValid{If a \sbol{Location} has an \sbolmult{orientation:L}{orientation} property, its \sbol{URI} MUST be drawn from \ref{tbl:orientation_types}.\\ Reference: \sec{sec:Location}}
510+
\printValid{If a \sbol{Location} has an \sbolmult{orientation:L}{orientation} property, its \sbol{URI} MUST be drawn from \ref{tbl:orientation_types} or \ref{tbl:orientation_types_alternative}.\\ Reference: \sec{sec:Location}}
511511

512512
\printValid{For every \sbol{Location} that is not an \sbol{EntireSequence} and that is the value of a \sbolmult{hasLocation:SC}{hasLocation} property of a \sbol{Feature}, the value of its \sbolmult{hasSequence:L}{hasSequence} property MUST also either be a value of the \sbolmult{hasSequence:L}{hasSequence} property of the parent \sbol{Component} or else be the value of some \sbolmult{hasSequence:L}{hasSequence} property of an \sbol{EntireSequence} that is also a child of the same \sbol{Component}.\\ Reference: \sec{sec:Location}}
513513

feature.tex

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,23 @@ \subsubsection{Feature}
2525

2626
\subparagraph{The \sbolheading{orientation} property}
2727
\label{sec:orientation:F}
28-
The \sbolmult{orientation:F}{orientation} property is OPTIONAL and has a data type of \sbol{URI}. This can be used to indicate how any associated double-stranded \sbol{Feature} is oriented on the \sbol{elements} of a \sbol{Sequence} from their parent \sbol{Component}. \ref{tbl:orientation_types} provides a list of REQUIRED \sbolmult{orientation:F}{orientation} \sbol{URI}s. If a \sbol{Feature} object has an \sbolmult{orientation:F}{orientation}, then it MUST come from \ref{tbl:orientation_types}.
28+
The \sbolmult{orientation:F}{orientation} property is OPTIONAL and has a data type of \sbol{URI}. This can be used to indicate how any associated double-stranded \sbol{Feature} is oriented on the \sbol{elements} of a \sbol{Sequence} from their parent \sbol{Component}.
29+
If a \sbol{Feature} object has an \sbolmult{orientation:F}{orientation}, then it is RECOMMENDED that it come from \ref{tbl:orientation_types}; for reasons of backwards compatability it MAY instead come from \ref{tbl:orientation_types_alternative}.
2930

31+
\begin{table}[ht]
32+
\begin{edtable}{tabular}{lp{3.75in}}
33+
\toprule
34+
\textbf{Orientation URI} & \textbf{Description} \\
35+
\midrule
36+
\url{https://identifiers.org/SO:0001030} & The region specified by this \sbol{Feature} or \sbol{Location} is on the \sbol{elements} of a \sbol{Sequence}. \\
37+
\url{https://identifiers.org/SO:0001031} & The region specified by this \sbol{Feature} or \sbol{Location} is on the reverse-complement mapping of the \sbol{elements} of a \sbol{Sequence}. The exact nature of this mapping depends on the \sbol{encoding} of the \sbol{Sequence}. \\
38+
\bottomrule
39+
\end{edtable}
40+
\caption{RECOMMENDED \sbol{URI}s for the \sbolmult{orientation:F}{orientation} property}
41+
\label{tbl:orientation_types}
42+
\end{table}
43+
44+
3045

3146
\begin{table}[ht]
3247
\begin{edtable}{tabular}{lp{3.75in}}
@@ -37,8 +52,8 @@ \subsubsection{Feature}
3752
\url{http://sbols.org/v3\#reverseComplement} & The region specified by this \sbol{Feature} or \sbol{Location} is on the reverse-complement mapping of the \sbol{elements} of a \sbol{Sequence}. The exact nature of this mapping depends on the \sbol{encoding} of the \sbol{Sequence}. \\
3853
\bottomrule
3954
\end{edtable}
40-
\caption{REQUIRED \sbol{URI}s for the \sbolmult{orientation:F}{orientation} property}
41-
\label{tbl:orientation_types}
55+
\caption{Permitted alternative \sbol{URI}s for the \sbolmult{orientation:F}{orientation} property. The URIS listed in \ref{tbl:orientation_types} are preferred and SHOULD be used instead where possible.}
56+
\label{tbl:orientation_types_alternative}
4257
\end{table}
4358

4459
\paragraph{SubComponent}

location.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ \subsubsection{Location}
1414

1515
\subparagraph{The \sbolheading{orientation} property}
1616
\label{sec:orientation:L}
17-
The \sbolmult{orientation:L}{orientation} property is OPTIONAL and has a data type of \sbol{URI}. All subclasses of \sbol{Location} share this property, which can be used to indicate how any associated double-stranded \sbol{Feature} is oriented on the \sbol{elements} of a \sbol{Sequence} from their parent \sbol{Component}. \ref{tbl:orientation_types} provides a list of REQUIRED \sbolmult{orientation:L}{orientation} \sbol{URI}s. If a \sbol{Location} object has an \sbolmult{orientation:L}{orientation}, then it MUST come from \ref{tbl:orientation_types}.
17+
The \sbolmult{orientation:L}{orientation} property is OPTIONAL and has a data type of \sbol{URI}. All subclasses of \sbol{Location} share this property, which can be used to indicate how any associated double-stranded \sbol{Feature} is oriented on the \sbol{elements} of a \sbol{Sequence} from their parent \sbol{Component}.
18+
If a \sbol{Location} object has an \sbolmult{orientation:F}{orientation}, then it is RECOMMENDED that it come from \ref{tbl:orientation_types}; for reasons of backwards compatability it MAY instead come from \ref{tbl:orientation_types_alternative}.
19+
1820

1921
As is typical practice in biology, any change in orientation is applied after indices are interpreted.
2022
Thus, for example, in a DNA \sbol{Sequence} with \sbol{elements} {\tt AAAAACCCCCTTTTTGGGGGTTTTTGGGGG},

0 commit comments

Comments
 (0)