b9693e22a8071944d6438facd0dea2b33ce38d18 max Wed Dec 6 08:52:22 2023 -0800 adding docs how to add public hubs to mirrors, refs #23428 diff --git src/product/mirrorManual.txt src/product/mirrorManual.txt index 2f9a4f8..e8c01ca 100644 --- src/product/mirrorManual.txt +++ src/product/mirrorManual.txt @@ -1872,15 +1872,31 @@ with potential work-arounds offered: <http://bugs.mysql.com/bug.php?id=61243> Or, you can set the MYSQLINC and MYSQLLIBS shell environment variables to the static MySQL library as mentioned in Step 3 above. 11. Genome browser issues error: "PDF format not available" when trying to export to pdf. The browser can't find the command 'ps2pdf' which is usually found in /usr/bin/ps2pdf and is installed with the 'ghostscript' package. Install the 'ghostscript' package and verify ps2pdf is in: /usr/bin/ps2pdf +# Adding a track hub to your hubPublic table so it appears under My Data > Track Hubs + +By default, your browser mirror only comes with our public hubs. You may want +to remove these and replace them with the hubs in your institution. One idea +could be to have one hub per research group or department and users connect to them on +My Data > Track Hubs. + +Use hubPublicCheck to create the SQL command to add the hub: + + hubPublicCheck hubPublic -addHub=https://genome.ucsc.edu/goldenPath/help/examples/hubDirectory/hub.txt + +Output is: + + insert into hubPublic (hubUrl,descriptionUrl,shortLabel,longLabel,registrationTime,dbCount,dbList) values ("https://genome.ucsc.edu/goldenPath/help/examples/hubDirectory/hub.txt","", "My Hub's Name", "Name up to 80 characters versus shortLabel limited to 17 characters", now(),1, "hg19,"); + +Then we run hubCrawl to get the searches to work (most mirrors do not need this). See <https://genomewiki.ucsc.edu/genecats/index.php/Public_Hub_QA> for more details.