Wednesday, October 31, 2012

Update all Perl modules via CPAN

This is a quick tip to update all installed modules, just type:

perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)'


Sunday, September 23, 2012

Creating unix command for Picard JAR files

Picard (http://picard.sourceforge.net/) is a nice Java-based toolkit to work with BAM and SAM files.
Usually I don't like to type "java -jar" when calling picard tools so I always wrap them in bash scripts with the script below: