Extensions helper function for different type of bio-sequence.
TypeExtensions
01 Syntax
SMRUCC.genomics.SequenceModel.TypeExtensions
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| GetVector | 1 | Get composition vector by sequence type flag |
| GetSeqType | 1 | try to measure the sequence type based on the given sequence chars |
| IsProteinSource | 2 | 目标序列数据是否为一条蛋白质序列 |
| ParseSeqType | 1 | |
| CheckSeqType | 1 |
03 Properties
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| AA_CHARS_ALL | 2 | Enumerate all of the amino acid.(字符串常量枚举所有的氨基酸分子) |
| NA_CHARS_ALL | 2 | Enumerate all of the nucleotides.(字符串常量枚举所有的核苷酸分子类型) |
05 Members
GetVector(SeqTypes)
Get composition vector by sequence type flag
Parameters
| Name | Type | Description |
|---|---|---|
seq | SeqTypes | - |
GetSeqType(IPolymerSequenceModel)
try to measure the sequence type based on the given sequence chars
Parameters
| Name | Type | Description |
|---|---|---|
seq | IPolymerSequenceModel | - |
IsProteinSource(IPolymerSequenceModel)
目标序列数据是否为一条蛋白质序列
Parameters
| Name | Type | Description |
|---|---|---|
seq | IPolymerSequenceModel | - |
IsProteinSource(
String)目标序列数据是否为一条蛋白质序列
Parameters
| Name | Type | Description |
|---|---|---|
seq | String | - |
NT
Enumeration for nucleotide residues
Returns
[ATGC]
RNA
Returns
[AUGC]
AA
Enumeration for amino acid.
Remarks
X is unknown amino acid inside a sequence
AA_CHARS_ALL
Enumerate all of the amino acid.(字符串常量枚举所有的氨基酸分子)
NA_CHARS_ALL
Enumerate all of the nucleotides.(字符串常量枚举所有的核苷酸分子类型)
AA_CHARS_ALL
NA_CHARS_ALL
ParseSeqType(
String, SeqTypes)CheckSeqType(
String)