annotate gene.xml @ 2:477efaeac704 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit bf308a3ea09dc413670e41141d6849af7dd33798
author iuc
date Tue, 24 Sep 2024 19:24:57 +0000
parents 7cde0f1d7d55
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9f64a2f52667 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_gene" name="Beacon2 Gene" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
2 <description>Queries the beacon database and retrieve the genomic variants matching gene symbol</description>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
3 <macros>
9f64a2f52667 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>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
5 </macros>
9f64a2f52667 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"/>
9f64a2f52667 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"/>
9f64a2f52667 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"><![CDATA[
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
9 beacon2-search gene
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
10 --db-host '$db_host'
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
11 --db-port $db_port
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
12 --database '$database'
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
13 --collection '$collection'
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
14 --advance-connection
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
15 --db-auth-config '$credentials'
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
16 --geneId $geneId
9f64a2f52667 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.alternateBases)
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
18 --alternateBases '$advanced_settings.alternateBases'
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
19 #end if
9f64a2f52667 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.variantType)
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
21 --variantType '$advanced_settings.variantType'
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
22 #end if
9f64a2f52667 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.aminoacidChange)
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
24 --aminoacidChange '$advanced_settings.aminoacidChange'
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
25 #end if
9f64a2f52667 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.variantMinLength)
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
27 --variantMinLength $advanced_settings.variantMinLength
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
28 #end if
9f64a2f52667 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.variantMaxLength)
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
30 --variantMaxLength $advanced_settings.variantMaxLength
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
31 #end if
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
32 > gene_query_findings.json
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
33 ]]></command>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
34 <expand macro="configfile"/>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
35 <inputs>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
36 <expand macro="Connection_to_MongoDB" />
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
37 <expand macro="Database_Configuration" />
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
38 <param argument="--geneId" type="text" label="Gene Id" value="" help="" />
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
39 <section name="advanced_settings" title="Advanced settings" expanded="false">
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
40 <param argument="--alternateBases" optional="true" type="text" label="ALTERNATEBASES" value="" help="Targeted Alternate bases to search for" />
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
41 <param argument="--variantType" optional="true" type="text" label="VARIANT TYPE" value="" help="Targeted Variant type to search for" />
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
42 <param argument="--aminoacidChange" optional="true" type="text" label="AMINOACID CHANGE" value="" help="Targeted Amino acid change to search for" />
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
43 <param argument="--variantMinLength" optional="true" type="integer" label="VARIANT MIN LENGTH" value="" help="Targeted Variant minimum length to search for" />
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
44 <param argument="--variantMaxLength" optional="true" type="integer" label="VARIANT MAX LENGTH" value="" help="Targeted VVariant maximum length to search for" />
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
45 </section>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
46 </inputs>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
47 <outputs>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
48 <data name="out_gene_query" format="json" label="${tool.name} on ${on_string}: Gene Query" from_work_dir="gene_query_findings.json" />
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
49 </outputs>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
50 <tests>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
51 <test expect_num_outputs="1">
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
52 <param name="database" value="beacon" />
1
7cde0f1d7d55 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit 23f6d9e5e91c43d5ab68e604205e06785635f42f
iuc
parents: 0
diff changeset
53 <param name="collection" value="test" />
0
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
54 <param name="db_host" value="20.108.51.167" />
1
7cde0f1d7d55 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit 23f6d9e5e91c43d5ab68e604205e06785635f42f
iuc
parents: 0
diff changeset
55 <param name="geneId" value="BRCA1" />
7cde0f1d7d55 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit 23f6d9e5e91c43d5ab68e604205e06785635f42f
iuc
parents: 0
diff changeset
56 <param name="variantType" value="SNV" />
7cde0f1d7d55 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit 23f6d9e5e91c43d5ab68e604205e06785635f42f
iuc
parents: 0
diff changeset
57 <param name="aminoacidChange" value="p.Val600Glu" />
0
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
58 <output name="out_gene_query">
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
59 <assert_contents><has_text_matching expression="_id"/></assert_contents>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
60 </output>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
61 </test>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
62 </tests>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
63 <help><![CDATA[
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
64 GeneId Queries are in essence a variation of Range Queries in which the coordinates are replaced by the HGNC gene symbol. It is left to the implementation if the matching is done on variants annotated for the gene symbol or if a positional translation is being applied.
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
65 ]]></help>
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
66 <expand macro="citations" />
9f64a2f52667 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
67 </tool>