Customize Taxonomy Tree

31 views
Skip to first unread message

Ho, Eric

unread,
Jul 14, 2016, 11:46:18 AM7/14/16
to genome-mirror
Hi,

I'm trying to configure a GB mirror for a bunch of new species currently not present in UCSC Genome Browser website. I was able to build databases for them but I have encountered difficulty to make the taxonomy tree (on the left of the front page) to reflect only the species available in the database.

Greatly appreciated if someone could give me some ideas.

Eric.

Eric Ho

unread,
Jul 14, 2016, 5:00:43 PM7/14/16
to Ho, Eric, genome-mirror
Never mind. I read this document and figured it out.

...../kent/src/hg/makeDb/doc/dbDbTaxonomy.txt

It works.
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "UCSC Genome Browser mirror site discussion list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to genome-mirro...@soe.ucsc.edu.
>

Cath Tyner

unread,
Jul 14, 2016, 5:06:41 PM7/14/16
to Eric Ho, Ho, Eric, genome-mirror
Hi Eric,

I'm glad this is now working for you! 


I just wanted to include notes about the solution that you already found in case others search the mailing list archives in the future:

First, ensure that all hgcentral.dbDb.taxId values for your new species are valid NCBI Taxonomy IDs:http://www.ncbi.nlm.nih.gov/taxonomy

The tree is generated from dbDb and the NCBI Taxonomy Database as described in kent/src/hg/makeDb/doc/dbDbTaxonomy.txt:

http://genome-source.cse.ucsc.edu/gitweb/?p=kent.git;a=blob_plain;f=src/hg/makeDb/doc/dbDbTaxonomy.txt;hb=HEAD

The script kent/src/hg/utils/dbDbTaxonomy.pl is required. You'll need to do a couple things differently from the instructions in dbDbTaxonomy.txt:

use hgcentral instead of hgcentraltest
instead of overwriting ~/kent/src/hg/js/dbDbTaxonomy.js, create a new file in some directory that your CGIs can access.

Then add or change this setting in cgi-bin/hg.conf so that the tree is displayed using your custom file instead of our js/dbDbTaxonomy.js:

# Display phylogenetic tree in hgGateway (URL or path relative to cgi-bin)
hgGateway.dbDbTaxonomy=/path/to/custom/dbDbTaxonomy.js

Please respond to this list if you have further questions!

Thank you again for your inquiry and for using the UCSC Genome Browser. 
​Please send new and follow-up questions to one of our UCSC Genome Browser mailing lists below:

  * Post to the Public Help Forum: E
mail 
gen...@soe.ucsc.edu
​ or search the Public Archives
​  * Post to the Mirror Help Forum: Email
 
genome...@soe.ucsc.edu 
or search the Mirror Archives​
​  * Confidential/private help: Email
 
genom...@soe.ucsc.edu

UCSC Genome Browser Announcements List (email alerts for new data & software):
  * Subscribe: Email genome-annou...@soe.ucsc.edu 
  * Unsubscribe: Email genome-announ...@soe.ucsc.edu

Join us on Social Media! FacebookTwitter, Wordpress BlogYouTube

​Enjoy,​
Cath
. . .
Cath Tyner
UCSC Genome Browser, Software QA & User Support
UC Santa Cruz Genomics Institute

Reply all
Reply to author
Forward
0 new messages