Skip to content

[Bioc-devel] Creating a menu driven list of packages

2 messages · Jonathan Nowacki, Seth Falcon

#
Hi Jonathan,

"Jonathan Nowacki" <jnowacki at gmail.com> writes:
We call that BioC Views.  There is a controlled vocabulary of terms
defined in the biocViews package.  Each BioC package lists one or more
of these terms in the 'biocViews' field of its DESCRIPTION file.

The menu you see is a collection of static pages generated from the
package repository meta data.
Nothing is stored in a DB.  At present the repository HTML files are
all statically generated by our build system.  The biocViews package
contains the code for generating the HTML.

We generate and post a special meta data file that is used by the
biocViews package to generate the pages.  You can find the VIEWS file
for devel here:

    http://www.bioconductor.org/packages/2.1/bioc/VIEWS

So you could parse that and build a more dynamic site.  In fact, a
while ago I did just that and built a small Django web app that parsed
the VIEWS file and provided a searchable entry point into the BioC
package collection.  The demo is offline at the moment, but I'd be
happy to share the code with you if you are interested.

Hope that helps.

+ seth