Ruby vs. Perl – the Languages of Bioinformatics
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 bioin...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
Sciendo
2013-12-01
|
Series: | Studies in Logic, Grammar and Rhetoric |
Online Access: | https://doi.org/10.2478/slgr-2013-0032 |
id |
doaj-faff389db4334f6e96d630e4119d3188 |
---|---|
record_format |
Article |
spelling |
doaj-faff389db4334f6e96d630e4119d31882021-09-05T14:02:00ZengSciendoStudies in Logic, Grammar and Rhetoric0860-150X2013-12-0135114315510.2478/slgr-2013-0032Ruby vs. Perl – the Languages of BioinformaticsGoliński Maciej0Golińska Agnieszka Kitlas1Department of Programming and Formal Methods, University of Bialystok, PolandDepartment of Medical Informatics, University of Bialystok, PolandRuby 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.https://doi.org/10.2478/slgr-2013-0032 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Goliński Maciej Golińska Agnieszka Kitlas |
spellingShingle |
Goliński Maciej Golińska Agnieszka Kitlas Ruby vs. Perl – the Languages of Bioinformatics Studies in Logic, Grammar and Rhetoric |
author_facet |
Goliński Maciej Golińska Agnieszka Kitlas |
author_sort |
Goliński Maciej |
title |
Ruby vs. Perl – the Languages of Bioinformatics |
title_short |
Ruby vs. Perl – the Languages of Bioinformatics |
title_full |
Ruby vs. Perl – the Languages of Bioinformatics |
title_fullStr |
Ruby vs. Perl – the Languages of Bioinformatics |
title_full_unstemmed |
Ruby vs. Perl – the Languages of Bioinformatics |
title_sort |
ruby vs. perl – the languages of bioinformatics |
publisher |
Sciendo |
series |
Studies in Logic, Grammar and Rhetoric |
issn |
0860-150X |
publishDate |
2013-12-01 |
description |
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. |
url |
https://doi.org/10.2478/slgr-2013-0032 |
work_keys_str_mv |
AT golinskimaciej rubyvsperlthelanguagesofbioinformatics AT golinskaagnieszkakitlas rubyvsperlthelanguagesofbioinformatics |
_version_ |
1717809268336361472 |