A script object for grep the gene id in the blast output query and subject title. (用于解析基因名称的脚本类,这个对象是在项目的初始阶段,为了方便命令行操作而设置的)
TextGrepScriptEngine
01 Syntax
Microsoft.VisualBasic.Scripting.TextGrepScriptEngine
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Compile | 1 | 对用户所输入的脚本进行编译,对于内部的空格,请使用单引号'进行分割 |
| Grep | 1 | 修整目标字符串,按照脚本之中的方法取出所需要的字符串信息 |
| NoOperation | 1 | DO_NOTHING |
| Tokens | 1 | |
| MidString | 1 | |
| EnsureNotEmpty | 1 | |
| CompileFromTokens | 1 | |
| Explains | 1 | |
| ToString | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| IsDoNothing | 1 | 当前的这个脚本是否不进行任何操作 |
| DoNothing | 1 | Source in and then source out, no changes |
| PipelinePointer | 1 | TextGrepScriptEngine.Grep()) 字符串剪裁操作的函数指针 |
| MethodPointers | 1 |
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| _operations | 1 | Source,Script,ReturnValue |
05 Members
Compile(
String)对用户所输入的脚本进行编译,对于内部的空格,请使用单引号'进行分割
Parameters
| Name | Type | Description |
|---|---|---|
scriptText | String | The script line should be this format:
if there is any space in the script line, then the space should wrapped by the (如果这个参数传递的是一个空字符串,那么这个函数将会直接返回TextGrepScriptEngine.DoNothing脚本) |
Grep(
String)修整目标字符串,按照脚本之中的方法取出所需要的字符串信息
Parameters
| Name | Type | Description |
|---|---|---|
source | String | - |
NoOperation(
String, String())DO_NOTHING
Parameters
| Name | Type | Description |
|---|---|---|
source | String | - |
script | String() | - |
Tokens(
String, String())Parameters
| Name | Type | Description |
|---|---|---|
Source | String | - |
Script | String() | - |
MidString(
String, String())Parameters
| Name | Type | Description |
|---|---|---|
source | String | - |
script | String() | 向量之中的第一个元素为命令的名字,第二个元素为Mid函数的Start参数,第三个元素为Mid函数的Length参数,可以被忽略掉 |
IsDoNothing
当前的这个脚本是否不进行任何操作
DoNothing
Source in and then source out, no changes
PipelinePointer
TextGrepScriptEngine.Grep() 字符串剪裁操作的函数指针
_operations
Source,Script,ReturnValue
MethodPointers
EnsureNotEmpty(TextGrepMethod)
CompileFromTokens(
String())Explains()
ToString()