Skip to content

Commit 48faee4

Browse files
committed
tidy up wrapper
1 parent f0dd48c commit 48faee4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

chemicaltoolbox/lirasearch/lirasearch.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
</requirements>
99
<command detect_errors="exit_code">
1010
<![CDATA[
11-
ln -sf ${database_select.fields.path}/* /opt/storage/ &&
1211
export HOME=`pwd` &&
1312
#if $ligand.ext == 'pdb':
1413
ln -s $ligand ligand.pdb &&
@@ -19,14 +18,14 @@
1918
esp-surface-generator ligand.pdb.pqr ligand.pdb.tmesh &&
2019
sh-coeff-calculator . &&
2120
micromamba run -n lirasearch python /opt/scripts/lira_search_sdf.py --in_file rid_coeffs.csv --out_file output --out_keys keys.txt --database /opt/storage/rid_coeffs.csv --num_results $num_results &&
22-
mkdir search_results && rocksdb_to_sdf /opt/storage keys.txt search_results &&
21+
mkdir search_results && rocksdb_to_sdf ${database_select.fields.path} keys.txt search_results &&
2322
micromamba run -n lirasearch python /opt/scripts/lira_super.py --target ligand.pdb --folder search_results &&
2423
cat search_results/*rotated.sdf >> '$output_sdf'
2524
]]>
2625
</command>
2726
<inputs>
28-
<param name="ligand" type="data" format="pdb,sdf" label="Ligand file" />
29-
<param name="database_select" type="select" label="Select database from list">
27+
<param name="ligand" type="data" format="pdb,sdf" label="Ligand file" help="Query for searching database" />
28+
<param name="database_select" type="select" label="Select database to search">
3029
<options from_data_table="lirasearch">
3130
<filter type="sort_by" column="2" />
3231
<validator type="no_options" message="No databases are available!" />
@@ -35,7 +34,6 @@
3534
<param name="num_results" type="integer" value="50" label="Number of results to return" />
3635
</inputs>
3736
<outputs>
38-
<!-- <data name="output_csv" format="csv" label="Similarity scores" /> -->
3937
<data name="output_sdf" format="sdf" label="SDF with LiraSearch query results" />
4038
</outputs>
4139
<tests>
@@ -63,6 +61,7 @@ Identify similar conformers to an input ligand, based on predicting the electros
6361
]]>
6462
</help>
6563
<citations>
64+
<citation type="doi">10.1101/2022.01.19.476747</citation>
6665
<citation type="doi">10.1021/acs.jmedchem.9b01129</citation>
6766
</citations>
6867
</tool>

0 commit comments

Comments
 (0)