|
8 | 8 | </requirements> |
9 | 9 | <command detect_errors="exit_code"> |
10 | 10 | <![CDATA[ |
11 | | - ln -sf ${database_select.fields.path}/* /opt/storage/ && |
12 | 11 | export HOME=`pwd` && |
13 | 12 | #if $ligand.ext == 'pdb': |
14 | 13 | ln -s $ligand ligand.pdb && |
|
19 | 18 | esp-surface-generator ligand.pdb.pqr ligand.pdb.tmesh && |
20 | 19 | sh-coeff-calculator . && |
21 | 20 | 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 && |
23 | 22 | micromamba run -n lirasearch python /opt/scripts/lira_super.py --target ligand.pdb --folder search_results && |
24 | 23 | cat search_results/*rotated.sdf >> '$output_sdf' |
25 | 24 | ]]> |
26 | 25 | </command> |
27 | 26 | <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"> |
30 | 29 | <options from_data_table="lirasearch"> |
31 | 30 | <filter type="sort_by" column="2" /> |
32 | 31 | <validator type="no_options" message="No databases are available!" /> |
|
35 | 34 | <param name="num_results" type="integer" value="50" label="Number of results to return" /> |
36 | 35 | </inputs> |
37 | 36 | <outputs> |
38 | | - <!-- <data name="output_csv" format="csv" label="Similarity scores" /> --> |
39 | 37 | <data name="output_sdf" format="sdf" label="SDF with LiraSearch query results" /> |
40 | 38 | </outputs> |
41 | 39 | <tests> |
@@ -63,6 +61,7 @@ Identify similar conformers to an input ligand, based on predicting the electros |
63 | 61 | ]]> |
64 | 62 | </help> |
65 | 63 | <citations> |
| 64 | + <citation type="doi">10.1101/2022.01.19.476747</citation> |
66 | 65 | <citation type="doi">10.1021/acs.jmedchem.9b01129</citation> |
67 | 66 | </citations> |
68 | 67 | </tool> |
|
0 commit comments