CompoundIndex
01 Syntax
SMRUCC.genomics.Model.Metabolic.RouterAdapter.Data.CompoundIndex
02 Methods
03 Members
Build(
IEnumerable(Of CompoundSeed), Int32)批量构建结构索引。单条脏数据只跳过并计数,绝不让装配整体失败。
Parameters
| Name | Type | Description |
|---|---|---|
seeds | IEnumerable(Of CompoundSeed) | 化合物种子序列(可为任意数据源的产物)。 |
maxAtoms | Int32 | 单个分子的重原子数上限;超出者跳过(控耗时)。 |
Returns
结构索引与诊断统计。
DegreeOf(
IEnumerable(Of ReactionSpec))反应"参与度"统计:各化合物在反应中作为底物/产物出现的总次数, 用于识别枢纽代谢物(Core 模式下汇集合的判定依据之一)。
Parameters
| Name | Type | Description |
|---|---|---|
specs | IEnumerable(Of ReactionSpec) | 已归正的反应契约集合。 |
Returns
compound id → 出现次数。