Menu

#297 GBrowse 2.01: Document DATABASES argument to Makefile.PL

open
Gbrowse (196)
5
2010-02-18
2010-02-18
No

I invoked the GBrowse 2.01 Makefile.PL thus:

perl Makefile.PL \
CONF=/usr/local/www/gbrowse/conf \
HTDOCS=/usr/local/www/gbrowse/htdocs \
CGIBIN=/usr/local/www/gbrowse/cgi-bin \
DATABASES=/usr/local/www/gbrowse/databases \
DO_XS=1

and saw the following during "./Build install":

Installing /usr/local/apache/htdocs/databases/yeast_scaffolds/chromosomes.gff3
Installing /usr/local/apache/htdocs/databases/yeast_scaffolds/chr2.fa
Installing /usr/local/apache/htdocs/databases/yeast_scaffolds/chr1.fa
Installing /usr/local/apache/htdocs/databases/pop_demo/pop_demo.gff3
Installing /usr/local/apache/htdocs/databases/ideograms/human_cytobands.gff
Installing /usr/local/apache/htdocs/databases/ideograms/rat_cytobands.gff
Installing /usr/local/apache/htdocs/databases/ideograms/mouse_cytobands.gff
Installing /usr/local/apache/htdocs/databases/admin_uploads/README
Installing /usr/local/apache/htdocs/databases/yeast_chr1+2/yeast_chr1+2.gff3

I expected the databases to go in /usr/local/www/gbrowse/htdocs/databases.
Through code spelunking, I discovered that Makefile.PL accepts a "DATABASES"
argument, so this behavior can be realized with:

perl Makefile.PL ... DATABASES=/usr/local/www/gbrowse/htdocs/databases

It would be helpful to add this to the GBrowse 2.01 INSTALL file.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.
Try Free →