Full-text resources of CEJSH and other databases are now available in the new Library of Science.
Visit https://bibliotekanauki.pl

PL EN


2013 | 35 | 1 | 143-155

Article title

Ruby vs. Perl – the Languages of Bioinformatics

Title variants

Languages of publication

EN

Abstracts

EN
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.

Keywords

Publisher

Year

Volume

35

Issue

1

Pages

143-155

Physical description

Dates

published
2013-12-01
online
2013-12-31

Contributors

  • Department of Programming and Formal Methods, University of Bialystok, Poland
  • Department of Medical Informatics, University of Bialystok, Poland

References

  • Aerts, J., & Law, A. (2009). An introduction to scripting in Ruby for biologists. BMC Bioinformatics, 10(221), Retrieved July 30, 2013, from BioMed Central: http://www.biomedcentral.com/1471-2105/10/221.DOI:10.1186/1471-2105-10-221.
  • Baxevanis, A. D., & Ouellette, B. F. F. (2004). Bioinformatics: a practical guide to the analysis of genes and proteins. USA: Wiley-Interscience.
  • BioPerl (2012). Retrieved July 30, 2013 from http://www.bioperl.org/.
  • BioRuby (2013). Retrieved July 30, 2013 from http://www.bioruby.org/.
  • Foy, B. (2007). Mastering Perl (2nd ed.). USA: O’Reilly Media.
  • Goto, N., Prins, P., Nakao, M., Bonnal, R., Aerts, J., & Katayama, T. (2009).
  • BioRuby: Bioinformatics software for the Ruby programming language. Bioinformatics, 26(20), 2617-2619. DOI: 10.1093/bioinformatics/btq475.[Crossref][WoS]
  • Moorhouse, M., & Barry, P. (2004). Bioinformatics, Biocomputing and Perl: an introduction to bioinformatics computing skills and practice, USA: Wiley.
  • National Center for Biotechnology Information, U.S. National Library of Medicine. (1998). Homo sapiens myosin heavy chain IIx/d mRNA, complete cds. Retrieved July 30, 2013, from http://www.ncbi.nlm.nih.gov/nuccore/4808814?report=genbank#sequence 4808814.
  • National Center for Biotechnology Information, U.S. National Library of Medicine. (2001). Homo sapiens 43kDa acetylcholine receptor-associated protein (RAPSN) mRNA, complete cds. Retrieved July 30, 2013, from http://www.ncbi.nlm.nih.gov/nuccore/19310212?report=genbank.
  • National Center for Biotechnology Information, U.S. National Library of Medicine. (2006). Campylobacter jejuni subsp. jejuni NCTC 11168 complete genome. Retrieved July 30, 2013, from http://www.ncbi.nlm.nih.gov/nuccore/30407139?report=fasta.
  • National Center for Biotechnology Information, U.S. National Library of Medicine. (2009). Retrieved July 30, 2013, from http://www.ncbi.nlm.nih.gov/gen bank/.
  • Schwartz, R., & Phoenix, T. (2011). Learning Perl. USA: O’Reilly Media.
  • Stajich, J. E., Block, D., Boulez, K., Brenner, S., Chervitz, S., Dagdigian, C., Fuellen, G., Gilbert, J. Korf, I., Lapp, H., Lehväslaiho, H., Matsalla, C., Mungall, C. J., Osborne, B. I., Pocock, M. R., Schattner, P., Senger, M., Stein, L. D., Stupka, E., Wilkinson, M. D., & Birney, E. (2002). The BioPerl Toolkit: Perl modules for the life sciences. Genome Research, 12(10), 1611-1618. DOI: 10.1101/gr.361602.[Crossref]
  • Thomas, D., Fowler, Ch., & Hunt, A. (2009). Programming Ruby 1.9: the pragmatic programmers’ guide. USA: Pragmatic Bookshelf.
  • Tisdall, J. (2001). Beginning Perl for bioinformatics. USA: O’Reilly Media.

Document Type

Publication order reference

Identifiers

YADDA identifier

bwmeta1.element.doi-10_2478_slgr-2013-0032
JavaScript is turned off in your web browser. Turn it on to take full advantage of this site, then refresh the page.