Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
legiolist
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
genolist
legiolist
Commits
ec713a4c
Commit
ec713a4c
authored
Nov 12, 2020
by
Remi PLANEL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test : remove SequenceBlastUtil dependency
parent
2a998449
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
webapp/src/main/webapp/model/sequenceServerBlastButton.jsp
webapp/src/main/webapp/model/sequenceServerBlastButton.jsp
+8
-4
No files found.
webapp/src/main/webapp/model/sequenceServerBlastButton.jsp
View file @
ec713a4c
<%@ 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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment