--
---
You received this message because you are subscribed to the Google Groups "UCSC Genome Browser Public Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to genome+un...@soe.ucsc.edu.
To post to this group, send email to gen...@soe.ucsc.edu.
Visit this group at https://groups.google.com/a/soe.ucsc.edu/group/genome/.
To view this discussion on the web visit https://groups.google.com/a/soe.ucsc.edu/d/msgid/genome/3e0ee7bc.177b.15dc1afa242.Coremail.weiweifu666%40126.com.
For more options, visit https://groups.google.com/a/soe.ucsc.edu/d/optout.
Dear Weiwei Fu,
Thank you for building barCharts and your excellent mirror. One of the engineers familiar with building barChart data for an internal track (versus in a hub where our main documentation exists) had a few suggestions.
First you can look at this example trackDb for an internal track that is present on our development server:
http://genome-source.cse.ucsc.edu/gitweb/?p=kent.git;a=blob;f=src/hg/makeDb/trackDb/human/hg38/barCharts.ra
Here is an excerpt:
Look to the tcgaExpr superTrack and the tcgaTranscExpr stanza for examples that you can also see interact with on our development server here (note our development site can change at any time): http://hgwdev.soe.ucsc.edu/cgi-bin/hgTrackUi?db=hg38&g=tcgaTranscExpr
By comparing your trackDb.txt and the barCharts.ra you can see it would be good to make some of the following changes:
In place of using hgBbiDbLink to load your bigBed --use--> bigDataUrl /gbdb/Goat/gene/goat.bb
Add barChartColors to define your colors and barChartLabel to label.
One of the most important aspects our engineer shared is that you must ensure that there is a 1-to-1 exact name matching in the category file with the labels in the matrix file. This might be where things have gone wrong.
For example, you can't have something like GTEX-111CU-1826-SM-5GZYN in one file and gtex-111CU-1826-sm-5GZYN in the other, and all must be represented. Here is an example matrix and category file to look at:
http://genome.ucsc.edu/goldenPath/help/examples/barChart/exampleSampleData.txt
http://genome.ucsc.edu/goldenPath/help/examples/barChart/exampleMatrix.txt
For your other question about search results, it is not entirely clear about the problem you are experiencing. It sounds like you find one result twice, with the duplicate displayed item representing what is an exact match (for example PPARG, but the other PPARG is a suggested possibility along with all the other PPARGC1A/B). It sounds like this is the result of the trix file attempting to find potential matches.
Thank you again for using the UCSC Genome Browser. If you have any further questions, please reply to gen...@soe.ucsc.edu. All messages sent to that address are archived on a publicly-accessible forum. If your question includes sensitive data, you may send it instead to genom...@soe.ucsc.edu.
All the best,
Brian Lee
UCSC Genomics Institute
Dear Brain,I haven't solved the two questions in the email that I sent it to you last time. If you have enough time today, could you download the attachment I sent you last time and give me some detailed instructions? I would appreciate it very much.All the best,Weiwei FuAt 2017-08-26 00:41:41, "Brian Lee" <bria...@soe.ucsc.edu> wrote:
Dear Weiwei Fu,I wanted to check if there have been any developments since my last email, could you send what questions you currently are having that I could help with?
Thanks,
BrianOn Wed, Aug 16, 2017 at 4:54 PM, Brian Lee <bria...@soe.ucsc.edu> wrote:Dear Weiwei Fu,
Thank you for your message. I wanted to share I will be away until next Thursday, but will be looking to respond to your email next week.
I was going to suggest the xIxx method, so that is good that you have started using that method. You may also find searching our archives of help in the mean time:
https://groups.google.com/a/soe.ucsc.edu/forum/#!forum/genome-mirror
https://groups.google.com/a/soe.ucsc.edu/forum/#!forum/genome/All the best,
Brian
Hi Weiwei,
Thank you for your persistence in creating a UCSC Genome Browser mirror to work for your data.
One potential issue that might be coming up with your earlier files for goat could be the autoSql .as file you are using.
In an earlier email you were building a bigBed and requesting information about the .as to use for your goat.as, which would work fine for a normal bigBed. When building your bigBarChart, be sure to use a .as that matches the specifications on our help page, http://genome.ucsc.edu/goldenPath/help/barChart.html, under barChart format definition.
Another potential issue is that your files may have issues in them. To help, here are some example files you can grab to have in your location in the below x,y,zURL lines. But even without loading those files locally, adding this text to your hg38 trackDb should result in a working barChart on your mirror:
mysql -e "load data local infile 'file' into table trackDb;" hg38
A test of this was done on a virtual machine mirror of our code called a Genome Browser in a Box (GBiB) and it worked, so in theory it should work for your mirror too.
Once you know you have a working version of barCharts on your mirror, you can begin to examine the steps in building the matrix and category files (as well as the bigBed with the correct -as file). The terms in barChartBars need to exactly match the terms in your Samples file, that is often one place were issues can show up.
Thank you again for your inquiry and using the UCSC Genome Browser. If you have any further questions, please reply to gen...@soe.ucsc.edu. All messages sent to that address are archived on a publicly-accessible forum. If your question includes sensitive data, you may send it instead to genom...@soe.ucsc.edu.
All the best,
Brian Lee
UCSC Genomics Institute