Skip to main content
QUICK REVIEW

[论文解读] A Unified, Cross-Platform Framework for Automatic GUI and Plugin Generation in Structural Bioinformatics and Beyond

Sikao Guo, Edoardo Sarti|arXiv (Cornell University)|Feb 17, 2026
Genomics and Phylogenetic Studies被引用 0
一句话总结

该论文提出一个三阶段工作流与工具包,利用 MVP 架构和单一正式规范,自动为 CLI 工具生成跨平台 GUI 插件,目标平台包括 VMD、PyMol 和 Web。

ABSTRACT

We present a workflow and associated toolkit to automate the creation of graphical user interfaces (GUI) for executables run from command line interfaces (CLI). The workflow consists of three phases, namely (Step 1) the plugin design, (Step 2) the formal (platform independent) specification of the GUI, and (Step 3) the plugin code generation for the targeted platforms. Our architecture is aligned with the Model--View--Presenter (MVP) pattern: steps one and two build the Model and View descriptions, while step three implements the Presenter layer that binds inputs, invokes the CLI, and updates outputs. Once Step one has been (manually) completed, steps two and three are fully automated. The decoupled MVP design and platform-specific generator modules enable reuse of logic, portability across ecosystems, and significant reductions in engineering effort for complex interactive applications. We primarily use our workflow to generate GUI in structural bioinformatics for CLI executables from the Structural Bioinformatics Library (SBL), targeting three platforms, namely VMD, Pymol and Web servers. The workflow can be used as a guideline, while its implementation available in the package Plugin_manager from the SBL, see https://sbl.inria.fr/doc/Plugin_manager-user-manual.html.

研究动机与目标

  • 提供一个工作流,用于自动化为结构生物信息学及其他领域的 CLI 工具创建 GUI 插件。
  • 确保在多个宿主平台上的一致性、可维护性和可移植性。
  • 利用单一正式规范,在所有目标之间传播变更。
  • 展示为 VMD、PyMol 和 Web 环境的跨平台插件生成。
  • 集中化项目结构,以促进协作与入门。

提出的方法

  • 定义一个插件设计阶段,选择 CLI 选项并确定 GUI 布局。
  • 从 GUI 设计和 CLI 标志自动生成正式的 JSON 规范。
  • 使用专用生成器从 JSON 规范自动生成平台特定代码。
  • 按照模型–视图–呈现者(MVP)模式组织代码,以分离关注点。
  • 通过定制的后端使与 VMD、PyMol 和 Panel Web 环境的跨平台集成成为可能。
  • 提供一个后分析脚本,将 CLI 输出转化为 GUI 输出和可视化。

实验结果

研究问题

  • RQ1单一正式规范如何实现跨多个平台的一致 GUI 生成,以服务 CLI 工具?
  • RQ2基于 MVP 的生成代码是否能在 VMD、PyMol 和 Web 目标之间保持关注点分离?
  • RQ3从设计到完整可用的跨平台 GUI 插件的工作流是什么?
  • RQ4该框架在最小人工干预下,如何有效地适应新平台或可视化引擎?

主要发现

  • 三阶段工作流(设计、正式规范、代码生成)使跨平台 GUI 插件的自动创建成为可能。
  • 单一规范加上平台特定代码生成器,可以将开发工作量从 n×m 减少到 n+m,适用于 n 个应用和 m 个目标。
  • MVP 架构保持关注点分离,便于 Tkinter/VMD、Qt/PyMol 与 Panel/Web 后端的可维护性和可移植性。
  • 从相同设计工件为多种环境生成插件,在目标之间重复使用布局和标志。
  • 该框架通过定制的通信机制,直接与 VMD、PyMol 和网页查看器(NGL/Three.js)实现集成。
  • 一个后分析脚本为 GUI、3D 查看器和跨平台的下游可视化标准化输出。

更好的研究,从现在开始

从阅读论文到最终审阅,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。