annotate gene.xml @ 1:9135f3e914b7 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:54:54 +0000
parents 8e949a739eaa
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8e949a739eaa 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">
8e949a739eaa 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>
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
3 <macros>
8e949a739eaa 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>
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
5 </macros>
8e949a739eaa 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"/>
8e949a739eaa 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"/>
8e949a739eaa 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[
8e949a739eaa 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
8e949a739eaa 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'
8e949a739eaa 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
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
12 --database '$database'
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
13 --collection '$collection'
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
14 --advance-connection
8e949a739eaa 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'
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
16 --geneId $geneId
8e949a739eaa 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)
8e949a739eaa 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'
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
19 #end if
8e949a739eaa 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)
8e949a739eaa 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'
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
22 #end if
8e949a739eaa 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)
8e949a739eaa 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'
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
25 #end if
8e949a739eaa 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)
8e949a739eaa 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
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
28 #end if
8e949a739eaa 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)
8e949a739eaa 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
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
31 #end if
8e949a739eaa 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
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
33 ]]></command>
8e949a739eaa 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"/>
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
35 <inputs>
8e949a739eaa 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" />
8e949a739eaa 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" />
8e949a739eaa 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="" />
8e949a739eaa 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">
8e949a739eaa 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" />
8e949a739eaa 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" />
8e949a739eaa 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" />
8e949a739eaa 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" />
8e949a739eaa 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" />
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
45 </section>
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
46 </inputs>
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
47 <outputs>
8e949a739eaa 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" />
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
49 </outputs>
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
50 <tests>
8e949a739eaa 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">
8e949a739eaa 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
9135f3e914b7 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
8e949a739eaa 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
9135f3e914b7 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" />
9135f3e914b7 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" />
9135f3e914b7 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
8e949a739eaa 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">
8e949a739eaa 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>
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
60 </output>
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
61 </test>
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
62 </tests>
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
63 <help><![CDATA[
8e949a739eaa 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.
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
65 ]]></help>
8e949a739eaa 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" />
8e949a739eaa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
iuc
parents:
diff changeset
67 </tool>