nuget server logo nuget api documents
↑

API Docs / SMRUCC.genomics.Core / Location

Location

Full name SMRUCC.genomics.ComponentModel.Loci.Location Assembly SMRUCC.genomics.Core Members 14

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的状态, 这个对象可以同时用来表示核酸序列或者蛋白质序列上面的位置)

00 Remarks

字符串中的字符在计算机程序语言中是从零开始的 但是生物分子序列中的残基的起始是从1开始的

01 Syntax

SMRUCC.genomics.ComponentModel.Loci.Location

02 Methods

NameOverloadsSummary
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

NameOverloadsSummary
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

method Normalization #
Normalization

使用这个方法更正数据,使位置数据始终是右大于左

method GetOverlapSize #
GetOverlapSize(Location)

获取当前的位点片段和一个指定的位点片段之间的重叠区域的长度, 没有重叠的时候会返回-1值

Remarks

对于核酸位置数据,这个函数不考虑链的方向问题,只是单纯的计算线段的重叠长度的问题

https://stackoverflow.com/questions/16691524/calculating-the-overlap-distance-of-two-1d-line-segments

Parameters
NameTypeDescription
lociLocation

-

method Equals #
Equals(Location, Int32)
Parameters
NameTypeDescription
lociLocation

-

offsetsInt32

当这个大于零的时候会进行模糊匹配

method op_Equality #
op_Equality(Location, Location)

Position equals

Parameters
NameTypeDescription
aLocation

-

bLocation

-

method InsideOrOverlapWith overload 2 #
InsideOrOverlapWith(Location)

b在当前对象之中或者与当前对象重叠

Parameters
NameTypeDescription
bLocation

-

method InsideOrOverlapWith #
InsideOrOverlapWith(Location, Int32)

b在当前对象之中或者与当前对象重叠

Parameters
NameTypeDescription
bLocation

-

method Inside #
Inside(Location, Int32)

loci inside Me.(目标位点在当前的这个位点之中)

Parameters
NameTypeDescription
lociLocation

-

method ToString #
ToString

|[Location.left](cref:P:SMRUCC.genomics.ComponentModel.Loci.Location.left) ==> [Location.right](cref:P:SMRUCC.genomics.ComponentModel.Loci.Location.right)|

method CreateObject #
CreateObject(String, String)
Parameters
NameTypeDescription
strDataString

-

DelimiterString

-

method OffSet #
OffSet(Int32)

Location.left, Location.right offset a length value and then construct a new Location value.

Parameters
NameTypeDescription
valueInt32

-

property left #
left

Location: Gets or set the left start value of the segment on the target sequence.

Remarks

(目标片段的左端起始区域,与链的方向无关)

property right #
right

Location: Gets or set the right ends value of the segment on the target sequence.

Remarks

(目标片段的右端结束区域,与链的方向无关)

property IsNormalized #
IsNormalized

当前的这个位置数据是否为左边小于右边的正常状态

property FragmentSize #
FragmentSize

The segment length of this location object.(目标序列片段区域的片段长度)