Christmas Card 2017 - 2018

It is the time to follow the tradition of creating a geek christmas card. As I did last year, the one for this year is typed it in javascript. It is much simpler compared to the game of the 2016 Christmas, but I enjoyed coding it.

Read More

Exploring public NHANES data using Rcupcake

The Rcupcake package contains functions to query different databases through the BD2K RESTful API. BD2K RESTful API is an interface that provides access to different data sources, making easier data accessibility, analysis reproducibility and scalability.

Read More

Spell-checking in Sublime Text 3

I was a fan of the package Dictionaries but is seems that it is no available and that will not be re-included. The package’s page in package control is here, indicating that the package was removed.

Read More

Christmas Card 2016 - 2017

Following the tradition of the last years, I’ve made a geek christmas card. This year I typed it in javascript using the improvements of HTML5.

Read More

Microsoft Core Fonts in Ubuntu

I work with a lot of people using the suite Microsoft Office and we usually share docx document. To properly see, edit and share the content of the documents I need the official Microsoft Fonts. In ubuntu flavoured distros they can be installed with:

Read More

Unload (detach) a loaded R package

A long the process of creating and testing R packages I usually need to unload a loaded package. The function to perform this operation is called detach and must be run as:

Read More

Christmas Card 2015 - 2016

It’s time for the geek christmas card. This year I wrote it in JAVA and it can generate, randomly, one of four different outputs. It is the simplest card I coded but I made it thinking in simplicity.

Read More

Test if file/directory exists in bash

Currently I’m writing a pipeline, better call it a pipeline manager, in BASH. The first part of the script is to create the set up file system so it requests to check if certain files and folders exists.

Read More

Add new methods to existing classes in ruby

I was working on a kata from CodeWars that asks to implement a series of methods that involve working with arrays. This led me to discovered a feature from ruby language that impressed me: You can extend the functionality of an existing class! In other words, you can add methods to an existing class.

Read More

Christmas Card 2014 - 2015

As the previous years, I continued with the tradition of sending a geed Christmas Card to my workmates. This year I wrote it in R, since it is one of the most used languages at CREAL.

Read More

Playing with TCGA .CEL files and TCGA Barcodes

Today I want a file relating the names of the .CEL files from TCGA, the barcodes for this samples and the definition of the sample type in the three available forms (numeric, short and description). An example, the following:

Read More

TCGA Barcodes Summary

All TCGA barcodes are created by the Biospecimen Core Resource (BCR). The following post wants to be a simple summary of the meaning of each part of a TCGA barcode in order to have a easy-to-look reference page.

Read More

Christmas Card 2013 - 2014

This year I decided to continue with the tradition I started last year and sending a Christmas Card to my workmates written in python. The result of running the script I sent is seen below.

Read More

Christmas Card 2012 - 2013

This year I’ve decide to end a Christmas’s card to my class mates. And as we are a bunch a little weird, and I’m not an exception, here you have the postcard I sent them: A source-code-postcard in python.

Read More