06 January 2006

H5N1:...and it will kill us all.

I found this on Flickr:

H5N1


Social Bookmarking Synchronization

I had a short discussion with Richard Cameron and Ted Kandell about how to switch from Connotea to CiteULike. Connotea can export RIS or RDF and CiteUlike imports BibTex. So I wrote a XSLT stylesheet(see below) to generate the BibTex file and imported my ~600 bookmarks from connotea (see here). Results: all my bookmarks where added but the orginal URL use a DOI identifier (instead of the pumed URL or the , so I cannot find related users share my interests. Well that was a try. At this time, I keep using Connotea although CiteULike also have nice features (it stores private PDF, authors...).

<?xml version='1.0'?>
<xsl:stylesheet
version='1.0'
xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
xmlns:purl='http://purl.org/rss/1.0/'
xmlns:slash='http://purl.org/rss/1.0/modules/slash/'
xmlns:content='http://purl.org/rss/1.0/modules/content/'
xmlns:connotea='http://www.connotea.org/2005/01/schema#'
xmlns:dcterms='http://purl.org/dc/terms/'
xmlns:prism='http://prismstandard.org/namespaces/1.2/basic/'
xmlns:annotate='http://purl.org/rss/1.0/modules/annotate/'
xmlns:syn='http://purl.org/rss/1.0/modules/syndication/'
xmlns:dc='http://purl.org/dc/elements/1.1/'
xmlns:taxo='http://purl.org/rss/1.0/modules/taxonomy/'
xmlns:admin='http://webns.net/mvcb/'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<xsl:output method='text' />


<xsl:template match='/'>
<xsl:apply-templates select='rdf:RDF'/>
</xsl:template>

<xsl:template match='rdf:RDF'>
<xsl:apply-templates select='purl:item'/>
</xsl:template>

<xsl:template match='purl:item'>
@ARTICLE{<xsl:value-of select='generate-id(.)'/>

<xsl:call-template name='make-fied'>
<xsl:with-param name='key'>TITLE</xsl:with-param>
<xsl:with-param name='value'><xsl:value-of select='purl:title'/></xsl:with-param>
</xsl:call-template>
<xsl:call-template name='make-fied'>
<xsl:with-param name='key'>URL</xsl:with-param>
<xsl:with-param name='value'><xsl:value-of select='connotea:uri/dcterms:URI/@rdf:about'/></xsl:with-param>
</xsl:call-template>

<xsl:call-template name='make-fied'>
<xsl:with-param name='key'>author</xsl:with-param>
<xsl:with-param name='value'><xsl:for-each select='dcterms:URI/dc:creator'><xsl:value-of select='translate(.,&apos;,&apos;,&apos; &apos;)'/>,</xsl:for-each></xsl:with-param>
</xsl:call-template>


<xsl:call-template name='make-fied'>
<xsl:with-param name='key'>journal</xsl:with-param>
<xsl:with-param name='value'><xsl:for-each select='dcterms:URI/prism:publicationName'><xsl:value-of select='translate(.,&apos;,&apos;,&apos; &apos;)'/>,</xsl:for-each></xsl:with-param>
</xsl:call-template>

<xsl:call-template name='make-fied'>
<xsl:with-param name='key'>keywords</xsl:with-param>
<xsl:with-param name='value'><xsl:for-each select='dc:subject'><xsl:value-of select='translate(.,&apos;,&apos;,&apos; &apos;)'/><xsl:text> </xsl:text> </xsl:for-each></xsl:with-param>
</xsl:call-template>

<xsl:call-template name='make-fied'>
<xsl:with-param name='key'>comment</xsl:with-param>
<xsl:with-param name='value'><xsl:value-of select='purl:description'/></xsl:with-param>
</xsl:call-template>

}
</xsl:template>

<xsl:template name='make-fied'>
<xsl:param name='key'/>
<xsl:param name='value'/>
<xsl:if test='string-length(normalize-space($value))&gt;0'>
<xsl:text>,
</xsl:text>
<xsl:value-of select='$key'/>=&quot;<xsl:call-template name='tex'>
<xsl:with-param name='s'><xsl:value-of select='$value'/></xsl:with-param>
</xsl:call-template>&quot;
</xsl:if>
</xsl:template>


<xsl:template name='tex'>
<xsl:param name='s'/>
<xsl:choose>
<xsl:when test='string-length($s)&gt;1 and $s!=&apos;,&apos;'>
<xsl:call-template name='tex'>
<xsl:with-param name='s'><xsl:value-of select='substring($s,1,1)'/></xsl:with-param>
</xsl:call-template>
<xsl:call-template name='tex'>
<xsl:with-param name='s'><xsl:value-of select='substring($s,2)'/></xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:when test='contains(&apos;&quot;&apos;,$s)'>&apos;</xsl:when>
<xsl:otherwise><xsl:value-of select='$s'/></xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:template>

</xsl:stylesheet>

05 January 2006

About Academic Research in France.

<?xml xml:lang="fr"?>

Que dit-on à un(e) thésard(e) qui vient d'obtenir sa thèse ?

"un cheese, une p'tite frite et un Coca s'il vous plaît, c'est pour emporter..."

04 January 2006

The fall of NCBI

In 20xx, the US government decreased the funds of the NCBI (the War was to be financed!) and restricted its access to the North-American users. Panic was immense within all worldwild research centers. Initially the researchers went on google scholar but a few times later the European Center for Biotechnology Information (ECBI) was founded. Here was stored a semantic web version of pubmed:

43citations

I love citations ! It would be really nice that the team who manage 43places/43things/43people create a kind of www.43citations.com. I suggested this on 43ideas.
A user would enter a citation and he would also add:
+ tags (may be geotagged for a citation about a given place (link to 43places ?) )
+ the langage
+ the country
+ the author (may be anonymous) (and his born/death date may be useful to retrieve a citation by country/period) (link to 43people ?)
+ a picture ?

I hate haidressers


Wha ! the new cosmetics are REALLY terrific !

02 January 2006

Nucleic Acids Research: Database Issue 2006

Nucleic Acids Research The new database issue of Nucleic Acids Research was released this week. The current issue is the largest yet and presents 94 new databases and updates of 68 existing databases. But as a bioinformatician, how can I know about all the content, all the difference about all this new stuff ? what are the redundancies ? what is really new ? where is the you-must-use-this-amazing-tool ? is this database built by a postdoc that will move to another lab next month ? what will be out of fund next year ?

In 2005, Nature contacted 89 databases listed in the Molecular Biology Database Collection (Nucl. Acids Res.28 1−7; 2000) to see how many still have funding five years on [ref].
"Of these, 51 reported that they are struggling financially. Seven of these have closed; the rest are being updated sporadically in their owners' spare time.
Not all these databases necessarily deserve to receive continued funding, especially as technology advances and competing resources are set up. But bioinformaticists are concerned by the sheer number that cannot find the money to provide an ongoing service."
pie


Connotea might be a good way to find out what is really important among the 163 abstracts published in the NAR issue if several users add comments about each papers, so I imported all the abstracts into connotea.

BTW: I did this using the XML output format from ncbi/pubmed, the XSLT stylesheet below and xsltproc. The result was a RIS file that can be imported into connotea.

<?xml version='1.0' ?>
<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
<xsl:output method='text'/>

<xsl:template match='PubmedArticleSet'>
<xsl:apply-templates select='PubmedArticle'/>
</xsl:template>

<xsl:template match='PubmedArticle'>
TY - JOUR
JO - <xsl:value-of select='.//Journal/ISOAbbreviation'/>
N1 - <xsl:value-of select='.//AbstractText'/>
<xsl:apply-templates select='.//PMID'/>
TI - <xsl:value-of select='.//ArticleTitle'/>
<xsl:apply-templates select='.//AuthorList'/>
<xsl:apply-templates select='.//DescriptorName'/>
KW - NAR Database Issue 2006
KW - Bioinformatics
KW - Database
ER -
</xsl:template>

<xsl:template match='PMID'>
UR - http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&amp;db=pubmed&amp;dopt=Abstract&amp;list_uids=<xsl:apply-templates/>
</xsl:template>

<xsl:template match='AuthorList'>
<xsl:apply-templates select='Author' />
</xsl:template>

<xsl:template match='Author'>
AU - <xsl:value-of select='LastName'/>, <xsl:value-of select='ForeName'/>
</xsl:template>

<xsl:template match='DescriptorName'>
KW - <xsl:apply-templates/>
</xsl:template>

</xsl:stylesheet>


David Macaulay and me

David Macaulay
I just found a letter David Macaulay sent me after I asked him to write a book about the Eiffel Tower when I read his books about 25 years ago....
Now, I read his book to my son...
Does anyone knows how to conctact him by email ?

Technorati Keywords:

01 January 2006

Fighting Intelligent Design.

reading nature

In 20xx Nature Publishing and Science decided to add a weekly poster of the "pin-up of the week" in order to promote the interest of Science while fighting intelligent design (aka obsurantism, creationsim). During one year, the impact factor of all those journals dramatically increased but this was finally abandoned when people in favour of "intelligent design" took up this idea.

pubmed2citeulike

Ted Kandell gave me the idea to transform pubmed2connotea in order to support both connotea and CiteULike.