Mercurial > repos > iuc > dram_set_database_locations
annotate dram_set_database_locations.xml @ 0:06c5b883632d draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
| author | iuc |
|---|---|
| date | Thu, 01 Sep 2022 17:14:59 +0000 |
| parents | |
| children |
| rev | line source |
|---|---|
|
0
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
1 <tool id="dram_set_database_locations" name="DRAM: set database locations" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
2 <description>after installation by the data manager</description> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
3 <macros> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
5 </macros> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
8 python '$__tool_directory__/dram_set_database_locations.py' |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
9 $skip_uniref |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
10 --db_version '$db_version' |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
11 --galaxy_data_manager_data_path '$galaxy_data_manager_data_path' |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
12 --output '$output' |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
13 ]]></command> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
14 <inputs> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
15 <param argument="--skip_uniref" type="boolean" truevalue="--skip_uniref" falsevalue="" checked="false" label="Did you skip downloading and processing uniref when you installed the DRAM databases?"/> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
16 <param name="db_version" type="text" value="1.3.5" label="DRAM database version"> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
17 <expand macro="sanitizer"/> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
18 </param> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
19 <param name="galaxy_data_manager_data_path" type="text" value="" label="Absolute Galaxy data manager data path" help="This is the absolute path for the Galaxy tool-data config setting"> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
20 <expand macro="sanitizer"/> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
21 </param> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
22 </inputs> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
23 <outputs> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
24 <data name="output" format="txt"/> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
25 </outputs> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
26 <tests> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
27 <test expect_failure="true"> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
28 <param name="skip_uniref" value="true"/> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
29 <param name="galaxy_data_manager_data_path" value="/gx/tool-data"/> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
30 <assert_stderr> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
31 <has_text text="error: unrecognized arguments: db: None"/> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
32 </assert_stderr> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
33 </test> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
34 </tests> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
35 <help> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
36 Use of this tool should be restricted to a Galaxy administrator. This tool updates the DRAM configuration file |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
37 with the location of the databases after installation by the data manager. This is necessary because DRAM creates |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
38 a configuration file during installation, but the file is written before the Galaxy job finishes, so the database |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
39 locations are relative to the job working directory instead of the configured GALAXY_DATA_MANAGER_DATA_PATH. |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
40 |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
41 It may be more ideal to perform this task as a second step in the data manager tool, but DRAM will not allow |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
42 the configuration file to be updated to point to locations unless the databases exist in those locations. But |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
43 the data manager tool moves the databases to these locations as its last step, making it impossible to update |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
44 the DRAM configuration file as a second step of that tool. |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
45 |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
46 See https://github.com/WrightonLabCSU/DRAM/wiki/5.-Managing%2C-updating-or-moving-a-DRAM-installation-and-databases for details. |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
47 </help> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
48 <citations> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
49 <citation type="doi">10.1093/nar/gkaa621</citation> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
50 </citations> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
51 </tool> |
|
06c5b883632d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 52575ece22fcdbb6fc3aa3582ea377075aaa4db1
iuc
parents:
diff
changeset
|
52 |
