Posts Tagged ‘code’

I suck at Javascript

Monday, April 27th, 2009

Am trying to get my head around YUI (building an interface to a database for the lab). It was all going really well, right up until it broke. I’ve got a main.js script, which I’m loading on every page. Some pages also have page-specific scripts that do more stuff. This is the case for the [...]

HowTo: Get a list of all species in Ensembl

Friday, February 20th, 2009

From ensembl-dev mailing list: advice on how to get the current list of all ensembl species:
List lives in the compara database and can be retrieved directly with something like:

mysql -u anonymous -h ensembldb.ensembl.org -P 5306 ensembl_compara_52 \
-e “SELECT name FROM genome_db”;

Or you can do essentially the same query via the Perl API:

use Bio::EnsEMBL::Registry;
my [...]

biomaRt mapping from human illumina ID to mouse Ensembl ID

Tuesday, February 17th, 2009

Problem:
Dataset 1: ChIPseq-derived transcription factor binding sites. Mouse. Mapped to nearest Ensembl Gene ID,
Dataset 2: Human Illumina Ref6 expression array data (GPL6097, I think) from various cell lines with varying amounts of said transcription factor.
Question:
What are the targets of the transcription factor doing in the expression datasets?
Quick Mapping
As a quick approximation, map the Illumina human [...]