anchor.diff:  <c:set var="start" value="${object.chromosomeLocation.start}"/>
   <c:set var="end" value="${object.chromosomeLocation.end}"/>
   <c:set var="ref" value="${object.chromosome.primaryIdentifier}"/>
  +
  +<c:set var="offset" value="${(end-start)/10}"/>
  +<c:set var="istart" value="${start-offset}"/>
  +<c:set var="iend" value="${end+offset}"/>
  +
   
   <%-- in case there are >1 submissions associated TODO: check if the + is ok (or - like in labels?)--%>
   <c:forEach items="${object.submissions}" var="sub" varStatus="status">
  
positive.code: --%>
  <c:if test="${((!empty object.chromosomeLocation && !empty object.chromosome)
                  || cld.unqualifiedName == 'Chromosome')}">
  
    <c:set var="type" value="${cld.unqualifiedName}s"/>
  
    <c:if test="${cld.unqualifiedName == 'MRNA' || cld.unqualifiedName == 'Transcript'
                || cld.unqualifiedName == 'Pseudogene'}">
      <c:set var="type" value="Genes"/>
    </c:if>
  
    <c:set var="label" value="${type}"/>
  
    <c:if test="${type == 'ChromosomalDeletions'}">
      <c:set var="type" value="${type}+TransposableElementInsertionSites"/>
      <c:set var="label" value="${label}-TransposableElementInsertionSites"/>
    </c:if>
  
    <c:if test="${type != 'Genes'}">
      <c:set var="type" value="${type}+Genes"/>
      <c:set var="label" value="${label}-Genes"/>
    </c:if>
  
    <c:set var="name" value="${object.primaryIdentifier}"/>
  
    <c:if test="${cld.unqualifiedName == 'MRNA' || cld.unqualifiedName == 'Transcript'}">
      <c:set var="name" value="MRNA:${name}"/>
    </c:if>
  
    <c:if test="${cld.unqualifiedName == 'CDS'}">
      <%-- special case show genes instead of CDSs --%>
      <c:set var="name" value="${object.gene.primaryIdentifier}"/>
      <c:set var="type" value="${type}+CDSs"/>
      <c:set var="label" value="${label}-CDSs"/>
    </c:if>
  
  
  
  
    <c:choose>
  
negative.code:     </div>
      <c:if test="${cld.unqualifiedName != 'Chromosome'}">
          <html:img style="border: 1px solid black" 
          src="${WEB_PROPERTIES['gbrowse_image.prefix']}/${gbrowseSource}/?start=${istart};end=${iend};ref=${ref};ds=${ds};width=400;b=1" title="GBrowse"/>
  </c:if>
    </html:link>
  <br>
  
  </c:if>
  
  <!-- /modmineGBrowse.jsp -->
  