Our Sponsors

Download BioinformaticsOnline(BOL) Apps in your chrome browser. BOLChromeApps



Python vs Perl

  • Public

Python vs Perl

Started by Rahul Agarwal 1416 days ago Replies (4)

Why bioinformatician still using Perl when Python is easy to code, good in ReXp and faster than perl?


  • Jitendra Narayan 1411 days ago

    I prefer Perl because it has strong BioPerl, my favourate PDL ("Perl Data Language"), which gives standard Perl the ability to compactly store and speedily manipulate the large N-dimensional data arrays which are the bread and butter of scientific computing. In addition The Ensembl APIs are also available only for perl. http://www.youtube.com/watch?v=l6a9Exe6Bsc




  • Poonam Mahapatra 1354 days ago

    I prefer Perl becuse Perl Scripts are very easy for the String processing for Biological data like Genome sequences and protein sequences. In addition, there is no strict rules for writing Perl scripts like other languages. That makes the biologist to write scripts easily.

    For bioinformatics point of view file processing is very easy in Perl scripts and it can be combined with SHELL scripts for processing. Perl CGI to develop the Web pages by combining with HTML and CPAN contains so many Perl Modules which are Specific for Bioinformatics make it my more favourite.

    If someone working on databases, Perl DBIx is an ultimate module for DBI applicaiton. It makes the DBI as an easy job.


  • Rahul Nayak 1349 days ago

    Intitially, I use Perl for genome base parsing and analysis work, and found it quick and less cody. But, now a dayz I don't like perl, because I think it can induce to many bad-behaviours in novel programmers.

    Some of the bad behaviours that I noticed are:

    Perl is that there are always one or more modules missing :(

    It is very difficult to understand a program written by someone else, because you have to known all the possible constructs to understand.

    It is difficult to reproduce a bioinformatician experiment, if written in Perl.

    Some programmer make ludicrous argument and trying to make a script language like perl sound so noble and natural. There is nothing "natural" about using symbols such as # $ % @ ->{} () [] in all conceivable combinations all over the place. When I look at somebody's Perl code I get indigestion. :/

    The only good point of perl is its repositories, bioperl and CPAN; but, I know of many people who never use modules and functions, because it looks too complicated.

    Hang on, some one will certaily explain about his one day ... You just write $%^&(^#@ ?

  • Aaryan Lokwani 1134 days ago

    There are several useful feature that make a differences. Python code is easy to use for beginners due to its intuitive design. Python is unlike other programming languages in that it uses indentation to identify blocks of code. Perl is a much older language with a wider range of modules available.