This module contains the required API function for create the chromosomes map of a specific bacteria genome.
ChromesomeMapAPI
01 Syntax
SMRUCC.genomics.Visualize.ChromosomeMap.ChromesomeMapAPI
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| WriteGeneFasta | 1 | Convert the gene annotation data into a fasta sequence. |
| READ_PlasmidData | 1 | Reads the plasmid annotation data from a csv document. |
| get_Converted | 1 | Generates the PTT genome data from the plasmid annotation data. |
| ApplyCogColorProfile | 1 | 按照COG分类来赋值COG颜色的 |
| LoadConfig | 1 | 使用这个函数进行绘图设备的配置参数的读取操作 |
| CreateDevice | 1 | 请注意,在宽度上面是4倍的Margin |
| SaveImage | 1 | Image formats can be one of the value: jpg,bmp,emf,exif,gif,png,wmf,tiff |
| FromPTT | 1 | Creates a basically simple drawing model object from the PTT file data. |
| FromGenes | 1 | 通常使用这个方法从PTT构件之中生成部分基因组的绘制模型数据 |
03 Members
WriteGeneFasta(
IEnumerable(Of PlasmidAnnotation))Convert the gene annotation data into a fasta sequence.
Parameters
| Name | Type | Description |
|---|---|---|
data | IEnumerable(Of PlasmidAnnotation) | - |
READ_PlasmidData(
String)Reads the plasmid annotation data from a csv document.
Parameters
| Name | Type | Description |
|---|---|---|
path | String | - |
get_Converted(
IEnumerable(Of PlasmidAnnotation), String)Generates the PTT genome data from the plasmid annotation data. NT.Src parameter is the file path of the original genome fasta source sequence.
Parameters
| Name | Type | Description |
|---|---|---|
Annotations | IEnumerable(Of PlasmidAnnotation) | - |
src | String | - |
按照COG分类来赋值COG颜色的
Parameters
| Name | Type | Description |
|---|---|---|
Model | ChromesomeDrawingModel | - |
MyvaCOG | IEnumerable(Of ICOGCatalog) | - |
LoadConfig(
String)使用这个函数进行绘图设备的配置参数的读取操作
Parameters
| Name | Type | Description |
|---|---|---|
file | String | - |
CreateDevice(Config)
请注意,在宽度上面是4倍的Margin
Parameters
| Name | Type | Description |
|---|---|---|
Config | Config | - |
SaveImage(
GraphicsData(), String, ImageFormats)Image formats can be one of the value: jpg,bmp,emf,exif,gif,png,wmf,tiff
Parameters
| Name | Type | Description |
|---|---|---|
res | GraphicsData() | DrawingDevice.InvokeDrawing()函数所生成的绘图图形输出资源数据 |
EXPORT | String | 将要进行数据保存的文件夹 |
Format | ImageFormats | Value variant in |
FromPTT(
PTT, Config)Creates a basically simple drawing model object from the PTT file data.
Parameters
| Name | Type | Description |
|---|---|---|
PTT | PTT | - |
conf | Config | - |
通常使用这个方法从PTT构件之中生成部分基因组的绘制模型数据
Remarks
在这个函数之中所生成的绘图模型的基因模型之中还没有颜色画刷值
Parameters
| Name | Type | Description |
|---|---|---|
genes | IEnumerable(Of GeneBrief) | - |
conf | Config | - |