Scribbles & Snippets
... of low and no utility ...

Latest Posts

Running Cromwell on AWS/Batch
- Posted: 2018-11-21.

Parallel mysql myisam repair
- Posted: 2018-11-21.

Does a TKI like Crizotinib kill tumor cells ?
- Posted: 2018-10-28.

Save Spotify to flac or mp3
- Posted: 2018-07-14.

Replace all symlinks by the original file
- Posted: 2018-03-02.

Log in

: User
: Password

All Entries On Perl

A total of 10 entries were found. Click on the titles to read the posts.

  • Search String in multiple files (2011-06-05 - Geert Vandeweyer)

    The following program is a standard tool for me when searching existing code for specific snippets I need and know I have, just not where i have them... 

     

    Place the progr...

  • Dos2Unix conversion with MAC support (2011-06-05 - Geert Vandeweyer)

    One of the major issues with people uploading text files to web-based services is that you never now the exact line endings in the file.  There is Dos, UNIX and MAC based.  dos2unix conve...

  • Install CPAN modules only if not yet present (2011-06-16 - Geert Vandeweyer)

    I needed a way to check if a certain CPAN module is present on the system/path, before installing the module again. This way I wanted to prevent that newer versions of mdoles were installed by an i...

  • Perl: next character in alphabet (2011-10-17 - Geert Vandeweyer)

    The following snippet gets the next letter in the alphabet given the input character. Replace the alpha-string with uppercase or any other sequence of characters if needed. 

    # do...
  • Batch Paired-End File Interlacer (2012-07-18 - Geert Vandeweyer)

    Creating Interlaced Paired-end data

    Galaxy is a great platform to analyze next-generation sequencing data in non-cli manner. Currently, it has a few major drawbacks. One of those is the in...

  • Enable LOAD DATA LOCAL INFILE on Ubuntu 12.04 (2013-01-30 - Geert Vandeweyer)

    On my ubuntu 12.04 LTS server, I noticed that I could not run the following mysql command anymore: 

    LOAD DATA LOCAL IN...
  • Retrieve large batches of rows from mysql (2014-10-28 - Geert Vandeweyer)

    The following snippits are some approaches for rapid high performance fetching of vast amounts of rows from a mysql database. All of them should reduce the load on the mysql server and increase the...

  • Automate CPAN module installations (2016-12-06 - Geert Vandeweyer)

    1. Problem

    • You have an installation script that needs to install several cpan modules
    • You don\'t want to stick around to wait for user input : [yes]