A location property on a sequence data. Please notice that if the loci value its left value greater than right value then this object will swap the value automaticaly. (一个序列片段区域的位置,请注意,当Left的大小大于Right的时候,模块会自动纠正为Left小于Right的状态, 这个对象可以同时用来表示核酸序列或者蛋白质序列上面的位置)
Location
00 Remarks
字符串中的字符在计算机程序语言中是从零开始的 但是生物分子序列中的残基的起始是从1开始的
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Normalization | 1 | 使用这个方法更正数据,使位置数据始终是右大于左 |
| GetOverlapSize | 1 | 获取当前的位点片段和一个指定的位点片段之间的重叠区域的长度, 没有重叠的时候会返回-1值 |
| Equals | 1 | |
| op_Equality | 1 | Position equals |
| InsideOrOverlapWith | 2 | b在当前对象之中或者与当前对象重叠 |
| Inside | 1 | loci inside Me.(目标位点在当前的这个位点之中) |
| ToString | 1 | Location.left ==> Location.right |
| CreateObject | 1 | |
| OffSet | 1 | Location.left, Location.right offset a length value and then construct a new Location value. |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| left | 1 | Location: Gets or set the left start value of the segment on the target sequence. |
| right | 1 | Location: Gets or set the right ends value of the segment on the target sequence. |
| IsNormalized | 1 | 当前的这个位置数据是否为左边小于右边的正常状态 |
| FragmentSize | 1 | The segment length of this location object.(目标序列片段区域的片段长度) |
04 Members
使用这个方法更正数据,使位置数据始终是右大于左
获取当前的位点片段和一个指定的位点片段之间的重叠区域的长度, 没有重叠的时候会返回-1值
对于核酸位置数据,这个函数不考虑链的方向问题,只是单纯的计算线段的重叠长度的问题
| Name | Type | Description |
|---|---|---|
loci | Location | - |
Int32)| Name | Type | Description |
|---|---|---|
loci | Location | - |
offsets | Int32 | 当这个大于零的时候会进行模糊匹配 |
Position equals
b在当前对象之中或者与当前对象重叠
| Name | Type | Description |
|---|---|---|
b | Location | - |
Int32)b在当前对象之中或者与当前对象重叠
| Name | Type | Description |
|---|---|---|
b | Location | - |
Int32)loci inside Me.(目标位点在当前的这个位点之中)
| Name | Type | Description |
|---|---|---|
loci | Location | - |
|[Location.left](cref:P:SMRUCC.genomics.ComponentModel.Loci.Location.left) ==> [Location.right](cref:P:SMRUCC.genomics.ComponentModel.Loci.Location.right)|
String, String)| Name | Type | Description |
|---|---|---|
strData | String | - |
Delimiter | String | - |
Int32)Location.left, Location.right offset a length value and then construct a new Location value.
| Name | Type | Description |
|---|---|---|
value | Int32 | - |
Location: Gets or set the left start value of the segment on the target sequence.
(目标片段的左端起始区域,与链的方向无关)
Location: Gets or set the right ends value of the segment on the target sequence.
(目标片段的右端结束区域,与链的方向无关)
当前的这个位置数据是否为左边小于右边的正常状态
The segment length of this location object.(目标序列片段区域的片段长度)