Suppr超能文献

Haxe 作为生物信息学应用的瑞士军刀:SeqPHASE 案例故事。

Haxe as a Swiss knife for bioinformatic applications: the SeqPHASE case story.

机构信息

Evolutionary Biology & Ecology, Université libre de Bruxelles (ULB), 1050 Brussels, Belgium.

Interuniversity Institute of Bioinformatics in Brussels - (IB)2, 1050 Brussels, Belgium.

出版信息

Brief Bioinform. 2024 Jul 25;25(5). doi: 10.1093/bib/bbae367.

Abstract

Haxe is a general purpose, object-oriented programming language supporting syntactic macros. The Haxe compiler is well known for its ability to translate the source code of Haxe programs into the source code of a variety of other programming languages including Java, C++, JavaScript, and Python. Although Haxe is more and more used for a variety of purposes, including games, it has not yet attracted much attention from bioinformaticians. This is surprising, as Haxe allows generating different versions of the same program (e.g. a graphical user interface version in JavaScript running in a web browser for beginners and a command-line version in C++ or Python for increased performance) while maintaining a single code, a feature that should be of interest for many bioinformatic applications. To demonstrate the usefulness of Haxe in bioinformatics, we present here the case story of the program SeqPHASE, written originally in Perl (with a CGI version running on a server) and published in 2010. As Perl+CGI is not desirable anymore for security purposes, we decided to rewrite the SeqPHASE program in Haxe and to host it at Github Pages (https://eeg-ebe.github.io/SeqPHASE), thereby alleviating the need to configure and maintain a dedicated server. Using SeqPHASE as an example, we discuss the advantages and disadvantages of Haxe's source code conversion functionality when it comes to implementing bioinformatic software.

摘要

Haxe 是一种通用的、面向对象的编程语言,支持语法宏。Haxe 编译器以其将 Haxe 程序的源代码转换为多种其他编程语言(包括 Java、C++、JavaScript 和 Python)的源代码的能力而闻名。尽管 Haxe 越来越多地用于各种目的,包括游戏,但它尚未引起生物信息学家的太多关注。这令人惊讶,因为 Haxe 允许生成同一程序的不同版本(例如,用于初学者的在网络浏览器中运行的 JavaScript 图形用户界面版本和用于提高性能的 C++或 Python 命令行版本),同时保持单个代码,这对于许多生物信息学应用程序来说应该是很有吸引力的。为了展示 Haxe 在生物信息学中的有用性,我们在这里介绍了最初用 Perl 编写的程序 SeqPHASE 的案例研究(带有在服务器上运行的 CGI 版本),并于 2010 年发布。由于出于安全目的,Perl+CGI 不再可取,因此我们决定用 Haxe 重写 SeqPHASE 程序,并将其托管在 Github Pages(https://eeg-ebe.github.io/SeqPHASE)上,从而无需配置和维护专用服务器。我们使用 SeqPHASE 作为示例,讨论了当涉及到实现生物信息学软件时,Haxe 的源代码转换功能的优缺点。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2cfc/11350380/46cb4a798f44/bbae367f1.jpg

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验