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

Brief Bioinform

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

Published: July 2024

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.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC11350380PMC
http://dx.doi.org/10.1093/bib/bbae367DOI Listing

Publication Analysis

Top Keywords

source code
12
haxe
8
bioinformatic applications
8
case story
8
haxe swiss
4
swiss knife
4
knife bioinformatic
4
seqphase
4
applications seqphase
4
seqphase case
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!