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
1be6c7d6
Commit
1be6c7d6
authored
Nov 13, 2020
by
Remi PLANEL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove blast button
parent
30f2d827
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
49 deletions
+3
-49
webapp/src/main/webapp/WEB-INF/webconfig-model.xml
webapp/src/main/webapp/WEB-INF/webconfig-model.xml
+3
-2
webapp/src/main/webapp/model/sequenceServerBlastButton.jsp
webapp/src/main/webapp/model/sequenceServerBlastButton.jsp
+0
-20
webapp/src/main/webapp/model/sequenceShortDisplayerWithField.jsp
...src/main/webapp/model/sequenceShortDisplayerWithField.jsp
+0
-27
No files found.
webapp/src/main/webapp/WEB-INF/webconfig-model.xml
View file @
1be6c7d6
...
...
@@ -74,15 +74,16 @@
<class
className=
"org.intermine.model.bio.SequenceFeature"
>
<fields>
<fieldconfig
fieldExpr=
"primaryIdentifier"
/>
<fieldconfig
fieldExpr=
"length"
displayer=
"/model/sequenceShortDisplayerWithField.jsp"
showInInlineCollection=
"true"
showInSummary=
"true"
/>
<fieldconfig
fieldExpr=
"length"
displayer=
"/model/sequenceShortDisplayerWithField.jsp"
/>
<fieldconfig
fieldExpr=
"chromosomeLocation"
displayer=
"/model/chromosomeLocDisplayer.jsp"
showInResults=
"false"
/>
<fieldconfig
fieldExpr=
"chromosome.primaryIdentifier"
showInInlineCollection=
"false"
showInSummary=
"false"
/>
<fieldconfig
fieldExpr=
"chromosomeLocation.start"
showInInlineCollection=
"false"
showInSummary=
"false"
/>
<fieldconfig
fieldExpr=
"chromosomeLocation.end"
showInInlineCollection=
"false"
showInSummary=
"false"
/>
<fieldconfig
fieldExpr=
"organism.name"
label=
"Organism"
/>
<fieldconfig
fieldExpr=
"organism.name"
/>
</fields>
</class>
<class
className=
"org.intermine.model.bio.Ontology"
>
<fields>
<fieldconfig
fieldExpr=
"name"
/>
...
...
webapp/src/main/webapp/model/sequenceServerBlastButton.jsp
deleted
100644 → 0
View file @
30f2d827
<%@ page
import=
"org.biojava.nbio.core.sequence.io.FastaWriterHelper"
%>
<%-- <%@ 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"
));
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>
</form>
<%
}
%>
\ No newline at end of file
webapp/src/main/webapp/model/sequenceShortDisplayerWithField.jsp
deleted
100644 → 0
View file @
30f2d827
<%@ taglib
uri=
"/WEB-INF/struts-html.tld"
prefix=
"html"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<%@ taglib
uri=
"/WEB-INF/struts-tiles.tld"
prefix=
"tiles"
%>
<%@ taglib
tagdir=
"/WEB-INF/tags"
prefix=
"im"
%>
<!-- sequenceShortDisplayerWithField.jsp -->
<tiles:importAttribute
name=
"expr"
ignore=
"false"
/>
<im:eval
evalExpression=
"interMineObject.${expr}"
evalVariable=
"outVal"
/>
<c:choose>
<c:when
test=
"
${
empty
outVal
}
"
>
</c:when>
<c:otherwise>
<c:choose>
<c:when
test=
"
${
!
empty
interMineObject
.
sequence
}
"
>
<im:value>
${outVal}
</im:value>
<html:link
action=
"sequenceExporter?object=${interMineObject.id}"
target=
"_blank"
><html:img
styleClass=
"fasta"
src=
"model/images/fasta.gif"
title=
"FASTA"
/></html:link>
<c:if
test=
"
${
!
empty
WEB_PROPERTIES
[
'sequenceserver.url'
]
}
"
>
<jsp:include
page=
"sequenceServerBlastButton.jsp"
/>
</c:if>
</c:when>
<c:otherwise>
<im:value>
${outVal}
</im:value>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
<!-- /sequenceShortDisplayerWithField.jsp -->
\ No newline at end of file
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