TatukGIS-TGIS_Editor.CreateShape

本文介绍如何使用procedureCreateShape函数创建指定类型的3D形状,并在指定的层上激活编辑操作。此过程适用于支持特定维度类型的层。了解如何通过提供起点坐标、形状类型和维度类型参数来创建和编辑3D形状。
procedure CreateShape(const _layer: TObject; const _ptg: TGIS_Point3D; const _type: TGIS_ShapeType; const _dim: TGIS_DimensionType);

Parameters 
Description 
const _layer: TObject 
TGIS_Layer which will own new shape  
const _ptg: TGIS_Point3D 
"starting" 3D of a new shape to be created; expected Viewer coordinate system  
const _type: TGIS_ShapeType 
type of shape to be created; it must be type supported by layer; if gisShapeTypeUnknown then shape of default type will be created  
const _dim: TGIS_DimensionType 
dimension of shape to be created; it must be type supported by layer; if gisShapeTypeUnknown then shape of default dimension will be created 
 
Description

Create and activate editing of a new shape. 

转载于:https://www.cnblogs.com/chinacodegear/p/3639358.html

### 处理 FASTQ 文件 FASTQ文件通常用于存储测序读取及其质量评分。对于`TG_r1.fastq.gz`这类压缩后的FASTQ文件,在生物信息学数据分析中,一般会经历解压、预处理以及后续分析等阶段。 #### 解压与初步查看 为了能够访问`.fastq.gz`中的内容,首先需要对其进行解压操作。可以利用Linux命令行工具gunzip来完成此过程: ```bash gunzip TG_r1.fastq.gz ``` 如果希望不解压而直接查看部分内容,则可以通过zcat或gzip -dc实现快速浏览: ```bash zcat TG_r1.fastq.gz | head ``` 这一步骤有助于确认文件结构是否符合预期[^2]。 #### 预处理:过滤低质量序列 在正式进入下游分析之前,往往还需要对原始reads执行一些基本的质量控制措施,比如去除接头污染、裁剪低质量末端碱基等。常用的软件包有Trimmomatic, fastp等。这里给出一个简单的例子使用fastp来进行质控: ```bash fastp -i TG_r1.fastq -o clean_TG_r1.fastq --html=report.html --json=report.json ``` 上述命令将会生成经过清理后的clean_reads,并提供HTML格式的报告供进一步评估[^1]。 #### 导入到QIIME 2环境 当完成了必要的前处理之后,就可以考虑将这些准备好的数据集导入至像QIIME 2这样的平台进行更深入的研究了。具体来说,就是要把FASTA/Q形式的数据转换成适合该框架使用的.qza档案。下面是一条示范性的指令片段展示如何加载并初始化样本数据对象: ```bash qiime tools import \ --type 'SampleData[Sequences]' \ --input-path clean_TG_r1.fastq \ --output-path demux-single-end.qza \ --source-format SingleEndFastqManifestPhred33V2 ``` 通过这种方式,便可以在QIIME 2环境中继续开展诸如OTU聚类、分类注释等一系列高级功能模块的操作了。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值