z-logo
open-access-imgOpen Access
Ruby vs. Perl – the Languages of Bioinformatics
Author(s) -
Maciej Goliński,
Agnieszka Kitlas Golińska
Publication year - 2013
Publication title -
studies in logic, grammar and rhetoric/studies in logic, grammar and rhetoric
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.121
H-Index - 12
eISSN - 2199-6059
pISSN - 0860-150X
DOI - 10.2478/slgr-2013-0032
Subject(s) - perl , computer science , genbank , programming language , syntax , simple (philosophy) , world wide web , biology , artificial intelligence , genetics , philosophy , epistemology , gene
Ruby and Perl are programming languages used in many fields. In this paper we would like to present their usefulness with regard to basic bioinformatic problems. We concentrate on a comparison of widely used Perl and relatively rarely used Ruby to show that Ruby can be a very efficient tool in bioinformatics. Both Perl and Ruby have a built-in regular expressions (or regexp) engine, which is essential in solving many problems in bioinformatics. We present some selected examples: printing the file content, removing comments from a FASTA file, using hashes, printing nucleotides included in a sequence, searching for a specific nucleotide in sequence and translating nucleotide sequences into protein sequences obtained in GenBank format. It is our belief that Ruby’s popularity will rise because of its simple syntax and the richness of its methods. Programs in Ruby are very easy to read and therefore easier to maintain and debug, which are the most important characteristics for a programming language.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here