annotate gemini_load.xml @ 0:720cbfb4190d draft

Imported from capsule None
author iuc
date Mon, 25 Aug 2014 17:15:54 -0400
parents
children 93bb0cfacefb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
1 <tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@.0">
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
2 <description>Loading a VCF file into GEMINI</description>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
3 <expand macro="requirements" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
4 <expand macro="version_command" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
5 <macros>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
6 <import>gemini_macros.xml</import>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
7 <token name="@BINARY@">load</token>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
8 </macros>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
9 <command>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
10 <![CDATA[
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
11 gemini
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
12 --annotation-dir ${annotation_databases.fields.path}
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
13 @BINARY@
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
14 -v "${ infile }"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
15 -t $annotation_type
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
16
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
17 #if $ped:
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
18 -p $ped
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
19 #end if
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
20
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
21 $skip_gerp_bp
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
22 $skip_cadd
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
23 $skip_gene_tables
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
24 $no_load_genotypes
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
25 $no_genotypes
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
26 $passonly
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
27 --cores \${GALAXY_SLOTS:-4}
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
28
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
29 "${ outfile }"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
30 ]]>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
31 </command>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
32 <expand macro="stdio" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
33 <inputs>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
34 <param name="infile" type="data" format="vcf" label="VCF file to be loaded in the GEMINI database" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
35
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
36 <param name="annotation_type" type="select" label="The annotations to be used with the input vcf" help="(-t)">
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
37 <option value="snpEff">snpEff annotated VCF file</option>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
38 <option value="VEP">VEP annotated VCF file</option>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
39 </param>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
40 <param name="ped" type="data" format="tablar" optional="True" label="Sample information file in PED+ format" help="(-p)" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
41 <expand macro="annotation_dir" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
42
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
43 <param name="skip_gerp_bp" type="boolean" truevalue="--skip-gerp-bp" falsevalue="" checked="False"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
44 label="Do not load GERP scores at base pair resolution" help="(--skip-gerp-bp)"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
45
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
46 <param name="skip_cadd" type="boolean" truevalue="--skip-cadd" falsevalue="" checked="False"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
47 label="Do not load CADD scores" help="(--skip-cadd)"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
48
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
49 <param name="skip_gene_tables" type="boolean" truevalue="--skip-gene-tables" falsevalue="" checked="False"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
50 label="Do not load gene tables" help="(--skip-gene-tables)"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
51
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
52 <param name="no_load_genotypes" type="boolean" truevalue="--no-load-genotypes" falsevalue="" checked="False"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
53 label="Genotypes exist in the file, but should not be stored" help="(--no-load-genotypes)"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
54
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
55 <param name="no_genotypes" type="boolean" truevalue="--no-load-genotypes" falsevalue="" checked="False"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
56 label="There are no genotypes in the file" help="e.g. some 1000G VCFs (--no-genotypes)"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
57
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
58 <param name="passonly" type="boolean" truevalue="--passonly" falsevalue="" checked="False"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
59 label="Keep only variants that pass all filters" help="e.g. some 1000G VCFs (--passonly)"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
60
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
61 </inputs>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
62 <outputs>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
63 <data name="outfile" format="sqlite" label="${tool.name} on ${on_string}" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
64 </outputs>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
65 <tests>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
66 <test>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
67 </test>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
68 </tests>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
69 <help>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
70 **What it does**
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
71
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
72 Before we can use GEMINI to explore genetic variation, we must first load our VCF file into the GEMINI database framework.
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
73 We expect you to have first annotated the functional consequence of each variant in your VCF using either VEP or snpEff.
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
74
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
75 http://gemini.readthedocs.org/en/latest/content/loading.html
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
76
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
77 @CITATION@
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
78 </help>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
79 <expand macro="citations"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
80 </tool>