--
Dear David,
Thank you for using the UCSC Genome Browser and the new GBiB and your question about creating and loading an assembly hub.
The GBiB will allow you to skip the referenced wiki-page aimed at helping users who were using mirrors of the entire Genome Browser system to generate a new assembly, before the recent creation of the GBiB. You do not have to do any kind of MySQL operations when using assembly hubs. To create an assembly hub on the browser, and the GBiB, you do not have to go further than the following steps:http://genomewiki.ucsc.edu/index.php/Assembly_Hubs The large beneficial difference is that rather than having to have the hub.txt, genomes.txt, trackDb.txt and related assembly hub files hosted on a publicly accessible server, the files can be locally hosted when using GBiB.
To begin with, be sure you have your GBiB up and running following the steps here: http://genome.ucsc.edu/goldenPath/help/gbib.html
Below I will suggest copying a small working assembly hub to your local disk and then loading it on your GBiB. After that you can copy it or use it to follow the architecture to resolve loading your new assembly hub. Thank you again for taking the time to work with these new tools!
Given your GBiB is working, you should be able to load any public accessible hub, including this crocodile assembly hub:
Now that you have checked that your GBiB is working, on your computer find a place you do not mind copying over the below files, about 33M total. In that directory you created, run the following wget command to recursively grab the directory structure and files needed:
wget -r --no-parent --reject "index.html*" -nH --cut-dirs=3 http://genome.ucsc.edu/goldenPath/help/examples/hubExamples/hubAssembly/plantAraTha1/
Alternatively, if you do not have wget installed, you can curl these files individually (skipping the optional .html files if desired). Perform the curl -O option in the location you wish to copy the files:
curl -O http://genome.ucsc.edu/goldenPath/help/examples/hubExamples/hubAssembly/plantAraTha1/hub.txt
If you use curl, be sure to recreate the structure with matching araTha1 and araTha1/bbi directories. You could also recreate the files with a text editor if you don't have curl, double check you have them all by looking here:http://genome.ucsc.edu/goldenPath/help/examples/hubExamples/hubAssembly/plantAraTha1/
Once you have copied this assembly hub, follow the GBiB instructions on sharing the folder where it is located. First power off the machine, then select the Settings option for the machine in VirtualBox, and click the "Shared Folders" tab and the plus folder icon, as described here with pictures:http://genome.ucsc.edu/goldenPath/help/gbib#YourTracks
Then you can restart your GBiB and navigate to the folders location to see your shared files, http://127.0.0.1:1234/folders/, and then look for where you copied the hub.txt. In my example, this assembly hub.txt is in my shared Google Drive folder:
You can then paste your http://127.0.0.1:1234/folders/sf.../hub.txt address on the hgHubConnect page, http://127.0.0.1:1234/cgi-bin/hgHubConnect, under "My Hubs" and click Connect. Click "submit" and you will be browsing this assembly hub example.
Now that you have this assembly hub locally working, you can edit your own assembly hub to match up the parameters that are needed. This plant assembly hub is a much smaller slice of a bigger one you can investigate to see the extended powers of assembly hubs: http://genome-test.cse.ucsc.edu/~hiram/hubs/Plants/
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 Genome Bioinformatics Group
--
--