annotate get_projects.xml @ 0:713502c9a98f 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:35:10 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
713502c9a98f 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">
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
2 <requirements>
713502c9a98f 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>
713502c9a98f 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>
713502c9a98f 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>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
6 </requirements>
713502c9a98f 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[
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
8 #if $test != ""
713502c9a98f 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";
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
10 #end if
713502c9a98f 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'
713502c9a98f 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__'
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
13 --output-file '$projects'
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
14 ]]></command>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
15 <inputs>
713502c9a98f 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"/>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
17 </inputs>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
18 <outputs>
713502c9a98f 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"/>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
20 </outputs>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
21 <tests>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
22 <test>
713502c9a98f 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"/>
713502c9a98f 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"/>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
25 </test>
713502c9a98f 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">
713502c9a98f 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"/>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
28 </test>
713502c9a98f 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">
713502c9a98f 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"/>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
31 </test>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
32 </tests>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
33 <help><![CDATA[
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
34 **What it does**
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
35
713502c9a98f 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.
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
37
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
38 **Input**
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
39
713502c9a98f 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.
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
41
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
42 **Output**
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
43
713502c9a98f 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.]]>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
45 </help>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
46 <citations>
713502c9a98f 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>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
48 </citations>
713502c9a98f planemo upload for repository https://github.com/jw44lavo/galaxy-tools/blob/bgo/tools/lambdaminer/ commit 3f45cd07445498cefa73931cadf3d1115245ca1e
ufz
parents:
diff changeset
49 </tool>