Hi Amadis, You should use HTML 4.01 transitional syntax to generate these HTML pages. You can view examples of track description pages within the Genome Browser by clicking on the mini-button to the left of the displayed track.
Please contact us again at [email protected] if you have any further questions. --- Luvina Guruvadoo UCSC Genome Bioinformatics Group On 7/5/2012 7:30 AM, Amadis Pages wrote: > I'm right now in the process of creating a Track Hub in order to display > some ChIP-Seq data. > > I've been following your guide in > http://genome.ucsc.edu/goldenPath/help/hgTrackHubHelp.html, which has been > really useful for me, but I got stuck at "*Section 8: Create track > description files*". Apparently, I need to create an HTML file for each one > of the tracks listed within the *trackDb.txt* file. > > The point is that I haven't been able to find any documentation about those > HTML files. Could you please help me on this? I will really appreciate, if > possible, to take a look at the code of one of those HTML files. > > Thanks a lot in advance. > > Best regards, > > Amad=EDs Pag=E8s > Regulatory Genomics - Computational Genomics > Universitat Pompeu Fabra (UPF) > Barcelona - Spain > _______________________________________________ > Genome maillist - [email protected] > https://lists.soe.ucsc.edu/mailman/listinfo/genome > Return-Path: [email protected] > Received: from mail-01.cse.ucsc.edu (LHLO mail-01.cse.ucsc.edu) > (128.114.48.32) by mail-01.cse.ucsc.edu with LMTP; Sun, 1 Jul 2012 22:31:03 > -0700 (PDT) > Received: from mailin-1.soe.ucsc.edu (mailin-1.soe.ucsc.edu [128.114.49.19]) > by mail-01.cse.ucsc.edu (Postfix) with ESMTPS id 203001009D4B > for<[email protected]>; Sun, 1 Jul 2012 22:31:03 -0700 (PDT) > Received: from mailgw.soe.ucsc.edu (mailgw.cse.ucsc.edu [128.114.48.9]) > by mailin-1.soe.ucsc.edu (8.13.8/8.13.8) with ESMTP id q625STN2029244 > (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) > for<[email protected]>; Sun, 1 Jul 2012 22:28:30 -0700 > X-ASG-Debug-ID: 1341207068-03cafc0f8a5d9320001-H1ttPa > Received: from mail-pb0-f71.google.com (mail-pb0-f71.google.com > [209.85.160.71]) by mailgw.soe.ucsc.edu with ESMTP id yd81BYxjLoiEcSlQ > (version=TLSv1 cipher=RC4-SHA bits=128 verify=NO) for<[email protected]>; > Sun, 01 Jul 2012 22:31:09 -0700 (PDT) > X-Barracuda-Envelope-From: > [email protected] > X-Barracuda-Apparent-Source-IP: 209.85.160.71 > Received-SPF: pass (mailgw.soe.ucsc.edu: domain of soe.ucsc.edu designates > 209.85.160.71 as permitted sender) client-ip=209.85.160.71; > envelope-from=genome-www+bnccnxyqejmgxcc5mt_bboensa...@soe.ucsc.edu; > Received: by pbbrr13 with SMTP id rr13sf11395250pbb.10 > for<[email protected]>; Sun, 01 Jul 2012 22:31:08 -0700 (PDT) > DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; > d=ucsc.edu; s=ucsc-google; > h=sender:x-beenthere:received-spf:x-asg-debug-id > :x-barracuda-envelope-from:x-barracuda-apparent-source-ip > :received-spf:mime-version:date:message-id:subject:from > :x-asg-orig-subj:to:x-barracuda-connect:x-barracuda-start-time > :x-barracuda-encrypted:x-barracuda-url:x-virus-scanned > :x-original-sender:x-original-authentication-results:precedence > :mailing-list:list-id:x-google-group-id:list-post:list-help > :list-archive:list-unsubscribe:content-type; > bh=hvYgkgWMetf/QBHZB6dGExNvtdpURLnUhSEzxjhp/D4=; > b=jUSTVbaC6++hd4EQe+oExOwC4ZvtUDdMej+7QF/CtqhYw5XyRv9XaMWgIR3WIYTwS5 > H4VfZQ0m3vxmd7TbdF2FcZIhFpYXo8o+EAltdYlf0x+CSV/ZJ5t0NnSPGOarQG2UbcAv > fQdr3jONIHiR8Iq0XQpMSEsKkuU1WmZWO2C/Y= > Sender: [email protected] > Received: by 10.68.219.170 with SMTP id pp10mr9508369pbc.1.1341207068766; > Sun, 01 Jul 2012 22:31:08 -0700 (PDT) > X-BeenThere: [email protected] > Received: by 10.68.233.8 with SMTP id ts8ls18740138pbc.7.gmail; Sun, 01 Jul > 2012 22:31:08 -0700 (PDT) > Received: by 10.68.221.106 with SMTP id qd10mr27549832pbc.42.1341207068327; > Sun, 01 Jul 2012 22:31:08 -0700 (PDT) > Received: by 10.68.221.106 with SMTP id qd10mr27549828pbc.42.1341207068314; > Sun, 01 Jul 2012 22:31:08 -0700 (PDT) > Received: from mailin-1.soe.ucsc.edu (mailin-1.soe.ucsc.edu. [128.114.49.19]) > by mx.google.com with ESMTPS id > qd2si19862080pbb.327.2012.07.01.22.31.08 > (version=TLSv1/SSLv3 cipher=OTHER); > Sun, 01 Jul 2012 22:31:08 -0700 (PDT) > Received-SPF: neutral (google.com: 128.114.49.19 is neither permitted nor > denied by domain of [email protected]) client-ip=128.114.49.19; > Received: from mailgw.soe.ucsc.edu (mailgw.cse.ucsc.edu [128.114.48.9]) > by mailin-1.soe.ucsc.edu (8.13.8/8.13.8) with ESMTP id q625SPg3029199 > (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) > for<[email protected]>; Sun, 1 Jul 2012 22:28:25 -0700 > Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com > [209.85.160.43]) by mailgw.soe.ucsc.edu with ESMTP id UJ6gitFKByqgdrbi > (version=TLSv1 cipher=RC4-SHA bits=128 verify=NO) > for<[email protected]>; Sun, 01 Jul 2012 22:31:07 -0700 (PDT) > Received-SPF: pass (mailgw.soe.ucsc.edu: domain of gmail.com designates > 209.85.160.43 as permitted sender) client-ip=209.85.160.43; > [email protected]; > Received: by mail-pb0-f43.google.com with SMTP id wz7so12416404pbc.16 > for<[email protected]>; Sun, 01 Jul 2012 22:31:07 -0700 (PDT) > MIME-Version: 1.0 > Received: by 10.66.72.233 with SMTP id g9mr18791695pav.29.1341207067034; Sun, > 01 Jul 2012 22:31:07 -0700 (PDT) > Received: by 10.66.14.137 with HTTP; Sun, 1 Jul 2012 22:31:06 -0700 (PDT) > Date: Sun, 1 Jul 2012 22:31:06 -0700 > Message-ID:<CAGNSVWHTRVCGfaYiyv0VqdMrx=imu1f=ubej0sus+bqfkn3...@mail.gmail.com> > Subject: Problem with URL Query from python > From: Blake Allen<[email protected]> > X-ASG-Orig-Subj: Problem with URL Query from python > To: [email protected] > X-Virus-Scanned: by bsmtpd at soe.ucsc.edu > X-Original-Sender: [email protected] > X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: > 128.114.49.19 is neither permitted nor denied by domain of > [email protected]) [email protected]; dkim=pass > [email protected] > Precedence: list > Mailing-list: list [email protected]; contact > [email protected] > List-ID:<genome-www.soe.ucsc.edu> > X-Google-Group-Id: 297403127346 > List-Post:<http://groups.google.com/a/soe.ucsc.edu/group/genome-www/post?hl=en_US>, > <mailto:[email protected]> > List-Help:<http://support.google.com/a/soe.ucsc.edu/bin/topic.py?hl=en_US&topic=25838>, > <mailto:[email protected]> > List-Archive:<http://groups.google.com/a/soe.ucsc.edu/group/genome-www/?hl=en_US> > List-Unsubscribe:<http://groups.google.com/a/soe.ucsc.edu/group/genome-www/subscribe?hl=en_US>, > <mailto:[email protected]> > Content-Type: multipart/alternative; boundary=f46d042f9484cd05d704c3d21ab2 > X-Barracuda-Connect: mail-pb0-f71.google.com[209.85.160.71] > X-Barracuda-Start-Time: 1341207069 > X-Barracuda-Encrypted: RC4-SHA > X-Barracuda-URL: http://mailgw.cse.ucsc.edu:8000/cgi-mod/mark.cgi > X-Virus-Scanned: by bsmtpd at soe.ucsc.edu > X-Barracuda-Spam-Score: 0.00 > X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=3.5 > QUARANTINE_LEVEL=5.0 KILL_LEVEL=6.0 tests=BSF_SC0_MISMATCH_TO, HTML_MESSAGE > X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.101516 > Rule breakdown below > pts rule name description > ---- ---------------------- > -------------------------------------------------- > 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header > 0.00 HTML_MESSAGE BODY: HTML included in message > > --f46d042f9484cd05d704c3d21ab2 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > > Hi, > > My name is Blake, I am a university of California Santa Cruz undergrad, and > while doing a remote url query to access a sequence, I got the > error: hashMustFindVal: 'c' not found > > When I manually copy and paste the url into the browser, I get the correct > sequence, here is that URL: > http://genome.ucsc.edu/cgi-bin/hgc?hgsid=3D0&g=3DhtcGetDna2&table=3D&i=3Dmi= > xed&o=3D41521206&l=3D41521206&r=3D41521476&getDnaPos=3Dchr20:41,521,206-41,= > 521,476&db=3Dhg18&hgSeq.cdsExon=3D1&hgSeq.padding5=3D0&hgSeq.padding3=3D0&h= > gSeq.casing=3Dlower&boolshad.hgSeq.maskRepeats=3D0&hgSeq.repMasking=3Dlower= > &boolshad.hgSeq.revComp=3D0&submit=3Dget+DNA > > > I tried using python's urllib2, httplib. I also attempted the same in > Terminal via curl. > I also tried this on different computers, but I still recieved this early > error. > > Does anyone have any thoughts on what I might be missing in order to > correctly getDNA from the browser? > > Thank you for your help. > > //------------------------------------------------ > P.S. This is the html that was returned instead of the sequence: > > !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " > http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD> > <TITLE>Early Error</TITLE> > <META http-equiv=3D"Content-Script-Type" content=3D"text/javascript"> > <STYLE TYPE=3D"text/css">.hiddenText {background-color: silver}.normalText > {background-color: white}</STYLE> > </HEAD> > > <BODY> > <script type=3D'text/javascript'> > document.write("<center><div id=3D'warnBox' style=3D'display:none; > background-color:Beige; border: 3px ridge DarkRed; width:640px; > padding:10px; margin:10px; text-align:left;'><CENTER><B id=3D'warnHead' > style=3D'color:DarkRed;'></B></CENTER><UL id=3D'warnList'></UL><CENTER><but= > ton > id=3D'warnOK' onclick=3D'hideWarnBox();return > false;'></button></CENTER></div></center>"); > function showWarnBox() > {document.getElementById('warnOK').innerHTML=3D' OK ';var > warnBox=3Ddocument.getElementById('warnBox');warnBox.style.display=3D''; > warnBox.style.width=3D'65%';document.getElementById('warnHead').innerHTML= > =3D'Warning/Error(s):';window.scrollTo(0, > 0);} > function hideWarnBox() {var > warnBox=3Ddocument.getElementById('warnBox');warnBox.style.display=3D'none'= > ;warnBox.innerHTML=3D'';var > endOfPage =3D > document.body.innerHTML.substr(document.body.innerHTML.length-20);if(endOfP= > age.lastIndexOf('-- > ERROR --')> 0) { history.back(); }} > window.onunload =3D function(){}; // Trick to avoid FF back button issue. > </script> > <!-- HGERROR-START --> > <P>hashMustFindVal: 'c' not found</P> > <!-- HGERROR-END --> > > > > --=20 > Blake Allen > Blakedallen.com > > --f46d042f9484cd05d704c3d21ab2 > Content-Type: text/html; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > > Hi,=A0<div><br></div><div>My name is Blake, I am a university of California= > Santa Cruz undergrad, and while doing a remote url query to access a seque= > nce, I got the error:=A0hashMustFindVal:'c' not found</div><div><b= > r> > </div><div>When I manually copy and paste the url into the browser, I get t= > he correct sequence, here is that URL:=A0</div><div><div><a href=3D"http://= > genome.ucsc.edu/cgi-bin/hgc?hgsid=3D0&g=3DhtcGetDna2&table=3D&i= > =3Dmixed&o=3D41521206&l=3D41521206&r=3D41521476&getDnaPos= > =3Dchr20:41,521,206-41,521,476&db=3Dhg18&hgSeq.cdsExon=3D1&hgSe= > q.padding5=3D0&hgSeq.padding3=3D0&hgSeq.casing=3Dlower&boolshad= > .hgSeq.maskRepeats=3D0&hgSeq.repMasking=3Dlower&boolshad.hgSeq.revC= > omp=3D0&submit=3Dget+DNA">http://genome.ucsc.edu/cgi-bin/hgc?hgsid=3D0&= > amp;g=3DhtcGetDna2&table=3D&i=3Dmixed&o=3D41521206&l=3D4152= > 1206&r=3D41521476&getDnaPos=3Dchr20:41,521,206-41,521,476&db=3D= > hg18&hgSeq.cdsExon=3D1&hgSeq.padding5=3D0&hgSeq.padding3=3D0&am= > p;hgSeq.casing=3Dlower&boolshad.hgSeq.maskRepeats=3D0&hgSeq.repMask= > ing=3Dlower&boolshad.hgSeq.revComp=3D0&submit=3Dget+DNA</a></div> > <div><br></div><div><br></div><div>I tried using python's urllib2, http= > lib. I also attempted the same in Terminal via curl.=A0</div><div>I also tr= > ied this on different computers, but I still recieved this early error.=A0<= > /div> > <div><br></div><div>Does anyone have any thoughts on what I might be missin= > g in order to correctly getDNA from the browser?=A0</div><div><br></div><di= > v>Thank you for your help.=A0</div><div><br></div><div>//------------------= > ------------------------------</div> > <div>P.S. =A0This is the html that was returned instead of the sequence:=A0= > </div><div><br></div><div><div>!DOCTYPE HTML PUBLIC"-//W3C//DTD HTML = > 4.01 Transitional//EN""<a href=3D"http://www.w3.org/TR/html4/loo= > se.dtd">http://www.w3.org/TR/html4/loose.dtd</a>"><HTML><H= > EAD></div> > <div><TITLE>Early Error</TITLE></div><div><span class=3D"Apple-= > tab-span" style=3D"white-space:pre"> </span><META http-equiv=3D"Con= > tent-Script-Type" content=3D"text/javascript"></div><div>= > <STYLE TYPE=3D"text/css">.hiddenText {background-color: sil= > ver}.normalText {background-color: white}</STYLE></div> > <div></HEAD></div><div><br></div><div><BODY></div><div><scri= > pt type=3D'text/javascript'></div><div>document.write("<= > center><div id=3D'warnBox' style=3D'display:none; backgro= > und-color:Beige; border: 3px ridge DarkRed; width:640px; padding:10px; marg= > in:10px; text-align:left;'><CENTER><B id=3D'warnHead= > 9; style=3D'color:DarkRed;'></B></CENTER><UL id= > =3D'warnList'></UL><CENTER><button id=3D'warn= > OK' onclick=3D'hideWarnBox();return false;'></button>&= > lt;/CENTER></div></center>");</div> > <div>function showWarnBox() {document.getElementById('warnOK').inne= > rHTML=3D'&nbsp;OK&nbsp;';var warnBox=3Ddocument.getElementB= > yId('warnBox');warnBox.style.display=3D''; warnBox.style.wi= > dth=3D'65%';document.getElementById('warnHead').innerHTML= > =3D'Warning/Error(s):';window.scrollTo(0, 0);}</div> > <div>function hideWarnBox() {var warnBox=3Ddocument.getElementById('war= > nBox');warnBox.style.display=3D'none';warnBox.innerHTML=3D'= > ';var endOfPage =3D document.body.innerHTML.substr(document.body.innerH= > TML.length-20);if(endOfPage.lastIndexOf('-- ERROR --')> 0) { hi= > story.back(); }}</div> > <div>window.onunload =3D function(){}; // Trick to avoid FF back button iss= > ue.</div><div></script></div><div><!-- HGERROR-START --></div><= > div><P>hashMustFindVal:'c' not found</P></div><div><= > ;!-- HGERROR-END --></div> > </div><div><br></div><div><br></div><div><br></div>-- <br>Blake Allen<br>Bl= > akedallen.com<br> > </div> > > --f46d042f9484cd05d704c3d21ab2-- _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
