Commit ec713a4c authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Test : remove SequenceBlastUtil dependency

parent 2a998449
<%@ page import="org.biojava.nbio.core.sequence.io.FastaWriterHelper" %>
<%@ page import="org.ncgr.intermine.web.logic.SequenceBlastUtil" %>
<%-- <%@ page import="org.ncgr.intermine.web.logic.SequenceBlastUtil" %> --%>
<%
// Display the BLAST button to send the sequence to the SequenceServer
Integer objectId = Integer.parseInt(request.getParameter("id"));
SequenceBlastUtil sequenceBlastUtil = new SequenceBlastUtil(request, objectId);
if (sequenceBlastUtil.getBioSequence()!=null) {
String fasta = ">"+sequenceBlastUtil.getIdentifier()+"\n"+sequenceBlastUtil.getBioSequence().toString();
String fasta = ">foo\nATCGTAGCTAGCTAGCTGATCCGTAGCATCGTAG"
%>
<%-- SequenceBlastUtil sequenceBlastUtil = new SequenceBlastUtil(request, objectId);
if (sequenceBlastUtil.getBioSequence()!=null) {
String fasta = ">"+sequenceBlastUtil.getIdentifier()+"\n"+sequenceBlastUtil.getBioSequence().toString(); --%>
<form action="${WEB_PROPERTIES['sequenceserver.url']}" method="post" style="display:inline;border:0;margin:0;padding:0;" target="_blank">
<input type="hidden" name="input_sequence" value="<%=fasta%>" />
<button type="submit" style="border:0;margin:0;padding:0;"><img class="fasta" src="model/images/blast.png" title="BLAST"/></button>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment