annotate cohorts.xml @ 1:d524bd42b89e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit 23f6d9e5e91c43d5ab68e604205e06785635f42f
author iuc
date Mon, 19 Aug 2024 10:50:59 +0000
parents 8fc2c603a61f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
1 <tool id="beacon2_cohorts" name="Beacon2 Cohorts" version="1.0.0" profile="21.05">
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
2 <description>Query the Cohorts collection in the beacon database</description>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
3 <macros>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
4 <import>macros.xml</import>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
5 </macros>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
6 <expand macro="creators"/>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
8 <command detect_errors="exit_code">
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
9 <![CDATA[
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
10 beacon2-search cohorts
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
11 --db-host '$db_host'
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
12 --db-port $db_port
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
13 --database '$database'
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
14 --collection '$collection'
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
15 --advance-connection
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
16 --db-auth-config '$credentials'
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
17 #if str($advanced_settings.cohortDataTypes)
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
18 --cohortDataTypes '$advanced_settings.cohortDataTypes'
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
19 #end if
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
20 #if str($advanced_settings.cohortDesign)
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
21 --cohortDesign '$advanced_settings.cohortDesign'
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
22 #end if
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
23 #if str($advanced_settings.cohortSize)
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
24 --cohortSize $advanced_settings.cohortSize
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
25 #end if
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
26 #if str($advanced_settings.identification)
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
27 --identification '$advanced_settings.identification'
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
28 #end if
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
29 #if str($advanced_settings.cohortType)
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
30 --cohortType '$advanced_settings.cohortType'
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
31 #end if
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
32 #if str($advanced_settings.genders) and $advanced_settings.genders != ""
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
33 --genders '$advanced_settings.genders'
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
34 #end if
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
35 #if str($advanced_settings.name)
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
36 --name '$advanced_settings.name'
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
37 #end if
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
38 > cohorts_query_findings.json
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
39 ]]>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
40 </command>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
41 <expand macro="configfile"/>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
42 <inputs>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
43 <expand macro="Connection_to_MongoDB"/>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
44 <expand macro="Database_Configuration"/>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
45 <section name="advanced_settings" title="Advanced settings" expanded="false">
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
46 <param argument="--cohortDataTypes" optional="true" type="text" label="COHORTDATA TYPES" value="" help="The type of data chorort, e.g. clinical history" />
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
47 <param argument="--cohortDesign" optional="true" type="text" label="COHORTDESIGN" value="" help="A plan specification comprised of protocols that are executed as part of an investigation, e.g. longitudinal study design" />
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
48 <param argument="--cohortSize" optional="true" type="integer" label="COHORT SIZE" value="" help="Count of unique Individuals in cohort" />
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
49 <param argument="--cohortType" optional="true" type="text" label="COHORT TYPE" value="" help="Cohort type by its definition, e.g. study-defined" />
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
50 <param argument="--identification" optional="true" type="text" label="ID" value="" help="Cohort identifier, e.g. cohort0001" />
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
51 <param argument="--genders" optional="true" type="select" label="GENDERS" help="">
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
52 <option value="male">male</option>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
53 <option value="female">female</option>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
54 <option value="" selected="True">non specific</option>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
55 </param>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
56 <param argument="--name" optional="true" type="text" label="NAME" value="" help="Name of the cohort" />
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
57 </section>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
58 </inputs>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
59 <outputs>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
60 <data name="out_cohorts_query" format="json" label="${tool.name} on ${on_string}: Cohorts Query" from_work_dir="cohorts_query_findings.json" />
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
61 </outputs>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
62 <tests>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
63 <test expect_num_outputs="1">
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
64 <param name="database" value="beacon" />
1
d524bd42b89e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit 23f6d9e5e91c43d5ab68e604205e06785635f42f
iuc
parents: 0
diff changeset
65 <param name="collection" value="test" />
0
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
66 <param name="db_host" value="20.108.51.167" />
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
67 <param name="cohortType" value="study-defined" />
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
68 <param name="cohortDataTypes" value="demographic data" />
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
69 <output name="out_cohorts_query">
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
70 <assert_contents>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
71 <has_text_matching expression="_id"/>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
72 </assert_contents>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
73 </output>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
74 </test>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
75 </tests>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
76 <help><![CDATA[
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
77 Beacon2 Cohorts queries the cohorts collection in the Beacon database to study the variants or individuals in a populations or groups that share something in common.
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
78 ]]></help>
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
79 <expand macro="citations" />
8fc2c603a61f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
80 </tool>