annotate get_projects.xml @ 0:a8eee1c3b6d7 draft default tip

planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
author ufz
date Mon, 17 Mar 2025 20:34:56 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
1 <tool id="lm_get_projects" name="Get LMDB Projects" version="0.1.0+galaxy0" profile="21.05">
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
2 <requirements>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
3 <requirement type="package" version="2.2.2">pandas</requirement>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
4 <requirement type="package" version="2.9.9">psycopg2</requirement>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
5 <requirement type="package" version="2.0.37">sqlalchemy</requirement>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
6 </requirements>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
8 #if $test != ""
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
9 export LAMBDAMINER_CREDENTIALS="$__tool_directory__/test-data/$test";
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
10 #end if
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
11 python '$__tool_directory__/get_projects.py'
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
12 --login-name '$__user_name__'
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
13 --output-file '$projects'
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
14 ]]></command>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
15 <inputs>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
16 <param name="test" type="hidden"/>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
17 </inputs>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
18 <outputs>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
19 <data name="projects" format="csv"/>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
20 </outputs>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
21 <tests>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
22 <test>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
23 <param name="test" value="test_credentials.json"/>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
24 <output name="projects" value="test_projects.csv" compare="contains"/>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
25 </test>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
26 <test expect_failure="true">
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
27 <param name="test" value="test_credentials_false.json"/>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
28 </test>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
29 <test expect_failure="true">
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
30 <param name="test" value="test_credentials_nonexistent.json"/>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
31 </test>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
32 </tests>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
33 <help><![CDATA[
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
34 **What it does**
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
35
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
36 This tool queries the Lambda-Miner database for the users projects.
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
37
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
38 **Input**
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
39
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
40 There is no input necessary from the user. The tool connects to the Lambda-Miner database and uses the users login name to query it.
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
41
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
42 **Output**
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
43
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
44 CSV file containing the projects (id, name, sample count) corresponding to the user.]]>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
45 </help>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
46 <citations>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
47 <citation type="doi">10.5194/egusphere-egu24-15782</citation>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
48 </citations>
a8eee1c3b6d7 planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
49 </tool>