Ensembl/ensembl-webcode — pull request #4 by muffato (2014-01-17 13:16:19+00:00)
Title: Compara doc

Hi there,

Here are a few updates for the dynamic pages that contain all the stats about our alignments

The first commit is about the scientific name, which is not always the genome_db name (the latter is the production name). The code was not handling well trinomial names, for instance
http://enssand-01.internal.sanger.ac.uk:9073/info/genome/compara/mlss.html?method=LASTZ_NET;mlss=606
http://www.ensembl.org/info/genome/compara/mlss.html?method=LASTZ_NET;mlss=606
http://enssand-01.internal.sanger.ac.uk:9073/info/genome/compara/mlss.html?method=LASTZ_NET;mlss=560
http://www.ensembl.org/info/genome/compara/mlss.html?method=LASTZ_NET;mlss=560

The other thing is that the list of whole-genome alignments does not need to be hard-coded, and the 3 other commits deal with that.
We have an API call to get all the MLSS by a type (PECAN, EPO, etc). With the change, we don't need to maintain those pages every release (updating the list of alignments, the number of species in them). The only difference is that the order of the alignments is now random (result of the SQL query), but I think it is ok

Cheers,
Matthieu