-
Change words in multiple files across mu …
http://lazoneadanser.fr/disciplines/claquettes/embed/audio/ogv Change words in multiple files across multiple directories. perl -p -i -e ‘s/Documents%20and%20Settings/Users’ `grep -ril “Documents%20and%20Settings” *` Adopted from http://joseph.randomnetworks.com/2005/08/18/perl-oneliner-recursive-search-and-replace/
-
Calling R from Perl Statistics::R ht …
http://novita-med.pl/?komarivske=siedlce-randki&62f=7e Calling R from Perl Statistics::R Synopsis use Statistics::R; my $R = Statistics::R->new(); $R->startR; $R->send(q`postscript(“file.ps” , horizontal=FALSE , width=500 , height=500 , pointsize=1)`); $R->send(q`plot(c(1, 5, 10), type = “l”)`); $R->send(q`dev.off()`); $R->send(qq`x = 123 \n print(x)`); my $ret = $R->read; print “\$ret : $ret\n”; $R->stopR();
-
Install BioPerl
When you have a problem during installing BioPerl using CPAN, use the -H option. It will initialize Home environment. With this option, I managed to install BioPerl on my Mac OS X 10.5 Leopard. sudo -H cpan
-
Wow, BioPerl is a beast with more than 8…
Wow, BioPerl is a beast with more than 800 module dependencies. I managed to install BioPerl on Mac OS X.
-
Why Perl?
I’ve decided to give a try to Perl as a programming language for my bioinformatics study. Why? Because I’m used to it. 🙂 Well, that’s not all of the reason but it is one of the reasons that I chose Perl. I compared three languages before the decision; Perl, Python, and Java. Java is a…