Skip to content

Commit 95f8848

Browse files
committed
tmp add loc file
1 parent 927c777 commit 95f8848

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+100
-4
lines changed

chemicaltoolbox/lirasearch/lirasearch.xml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
<![CDATA[
1111
nohup /opt/ignite/bin/ignite.sh config/lira_ignite.xml &
1212
export HOME=`pwd` &&
13-
#if $is_test:
14-
cp -r /opt/ignite/test-database/* /opt/ignite/storage &&
15-
#end if
13+
ln -s ${database_select.fields.path}/* /opt/ignite/storage &&
1614
#if $ligand.ext == 'pdb':
1715
ln -s $ligand ligand.pdb &&
1816
#else
@@ -28,6 +26,12 @@
2826
</command>
2927
<inputs>
3028
<param name="ligand" type="data" format="pdb,sdf" label="Ligand file" />
29+
<param name="database_select" type="select" label="Select database from list">
30+
<options from_data_table="lirasearch">
31+
<filter type="sort_by" column="2" />
32+
<validator type="no_options" message="No databases are available!" />
33+
</options>
34+
</param>
3135
<param name="num_results" type="integer" value="50" label="Number of results to return" />
3236
<param name="is_test" type="hidden" value="false" />
3337
</inputs>
@@ -37,13 +41,15 @@
3741
</outputs>
3842
<tests>
3943
<test>
40-
<param name="ligand" value="ligand.pdb" ftype="pdb" />
44+
<param name="ligand" value="ligand.pdb" ftype="pdb" />
45+
<param name="database_select" value="test"/>
4146
<param name="num_results" value="2" />
4247
<param name="is_test" value="true" />
4348
<output name="output_sdf" value="lirasearch_output.sdf"/>
4449
</test>
4550
<test>
4651
<param name="ligand" value="ligand.sdf"/>
52+
<param name="database_select" value="test"/>
4753
<param name="num_results" value="2" />
4854
<param name="is_test" value="true" />
4955
<output name="output_sdf" value="lirasearch_output.sdf"/>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file lists databases that can be searched with LiraSearch.
2+
# The file has the format (white space characters are
3+
# TAB characters):
4+
#
5+
# <unique_id> <name> <path>
6+
#
7+
# So, lirasearch.loc could look something like this:
8+
#value name path
9+
#zinc20 ZINC20 /home/galaxy/zinc20
10+
#zinc22 ZINC22 /home/galaxy/zinc22
11+
#dude DUD-E /home/galaxy/dude
12+
test test ${__HERE__}/storage
41 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)