The biological sequence molecular model.
ISequenceModel
00 Remarks
(蛋白质序列,核酸序列都可以使用本对象来表示)
01 Syntax
SMRUCC.genomics.SequenceModel.ISequenceModel
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| GetCompositionVector | 2 | Get the composition vector for a sequence model using a specific composition description. |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| SequenceData | 1 | Sequence data in a string type.(字符串类型的序列数据) |
| IsProtSource | 1 | This sequence is a protein type sequence?(判断这条序列是否为蛋白质序列) |
| Length | 1 | The ISequenceModel.SequenceData string length. |
04 Fields
05 Members
GetCompositionVector(IPolymerSequenceModel,
IReadOnlyCollection(Of Char))Get the composition vector for a sequence model using a specific composition description.
Parameters
| Name | Type | Description |
|---|---|---|
seq | IPolymerSequenceModel | - |
compositions | IReadOnlyCollection(Of Char) | This always should be the constant string of amino acid or nucleotide. |
GetCompositionVector(
String, IReadOnlyCollection(Of Char))Get the composition vector for a sequence model using a specific composition description.
Parameters
| Name | Type | Description |
|---|---|---|
seq | String | - |
compositions | IReadOnlyCollection(Of Char) | This always should be the constant string of amino acid or nucleotide. |
Returns
the generated vector size is always equals to the char set in the compositions missing value from the input char set will be set to ZERO.
SequenceData
Sequence data in a string type.(字符串类型的序列数据)
IsProtSource
This sequence is a protein type sequence?(判断这条序列是否为蛋白质序列)
Length
The ISequenceModel.SequenceData string length.
KB
MB