<commit_before><!-- geneSNPDisplayer.jsp -->
<%@ page language="java" contentType="text/html; charset=US-ASCII"
    pageEncoding="US-ASCII"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="im" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

<div id="protein_displayer" class="collection-table">

<c:choose>
  <c:when test="${!empty list}">
    <div>
    <div class="header">
    <h3>${fn:length(list)} UniProt Proteins</h3>
    <p>Data Source: <a target="_blank" href="/${WEB_PROPERTIES['webapp.path']}/portal.do?class=DataSet&externalids=Swiss-Prot+data+set">UniProt</a></p>
    </div>

    <c:set var="geneList" value="${geneName}" />
    <table>
      <thead>
       <tr>
         <th>DB Identifier</th>
         <th>UniProt</th>
         <th>Length</th>
       </tr>
    </thead>
    <tbody>
      <c:forEach var="row" items="${list}">
        <tr>
           <td> <a href="report.do?id=${row.id}"> ${row.primaryIdentifier} </a></td>
           <td> <a class="extlink" href="http://www.uniprot.org/uniprot/${row.primaryAccession}" target="_blank" > ${row.primaryAccession} </a></td>
           <td> <span class="value"> ${row.length} </span> <a target="_new" href="sequenceExporter.do?object=${row.id}"><img class="fasta" title="FASTA" src="model/images/fasta.gif"></img></a>
        </td>
        </tr>
      </c:forEach>
    </tbody>
    </table>

    </div>
   </div>
  </c:when>
  <c:otherwise>
    No UniProt protein data available
  </c:otherwise>
</c:choose>

<script type="text/javascript">
        numberOfTableRowsToShow=100000
        trimTable('#protein_displayer');
</script><commit_msg>adds tool tip for protein links<commit_after><!-- geneSNPDisplayer.jsp -->
<%@ page language="java" contentType="text/html; charset=US-ASCII"
    pageEncoding="US-ASCII"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="im" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

<div id="protein_displayer" class="collection-table">

<c:choose>
  <c:when test="${!empty list}">
    <div>
    <div class="header">
    <h3>${fn:length(list)} UniProt Proteins</h3>
    <p>Data Source: <a target="_blank" href="/${WEB_PROPERTIES['webapp.path']}/portal.do?class=DataSet&externalids=Swiss-Prot+data+set">UniProt</a></p>
    </div>

    <c:set var="geneList" value="${geneName}" />
    <table>
      <thead>
       <tr>
         <th>DB Identifier</th>
         <th>UniProt</th>
         <th>Length</th>
       </tr>
    </thead>
    <tbody>
      <c:forEach var="row" items="${list}">
        <tr>
           <td> <a href="report.do?id=${row.id}" title="go to Thalemine protein page"> ${row.primaryIdentifier} </a></td>
           <td> <a class="extlink" href="http://www.uniprot.org/uniprot/${row.primaryAccession}" title="go to UniProt" target="_blank" > ${row.primaryAccession} </a></td>
           <td> <span class="value"> ${row.length} </span> <a target="_new" href="sequenceExporter.do?object=${row.id}"><img class="fasta" title="FASTA" src="model/images/fasta.gif"></img></a>
        </td>
        </tr>
      </c:forEach>
    </tbody>
    </table>

    </div>
   </div>
  </c:when>
  <c:otherwise>
    No UniProt protein data available
  </c:otherwise>
</c:choose>

<script type="text/javascript">
        numberOfTableRowsToShow=100000
        trimTable('#protein_displayer');
</script>
{'fraction_non_alphanumeric': 0.2222222222222222, 'fraction_numerical': 0.004325493376588267, 'mean_word_length': 3.4794188861985473, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 127, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5627385', 'n_tokens_mistral': 1433, 'n_tokens_neox': 1356, 'n_words': 216}