annotate gemini_load.xml @ 4:ba3abde6775b draft default tip

Uploaded
author iuc
date Thu, 15 Jan 2015 15:33:48 -0500
parents 93bb0cfacefb
children
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 }"
2
93bb0cfacefb Uploaded
iuc
parents: 0
diff changeset
15 #if str( $annotation_type ) != "None":
93bb0cfacefb Uploaded
iuc
parents: 0
diff changeset
16 -t $annotation_type
93bb0cfacefb Uploaded
iuc
parents: 0
diff changeset
17 #end if
0
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
18
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
19 #if $ped:
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
20 -p $ped
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
21 #end if
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
22
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
23 $skip_gerp_bp
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
24 $skip_cadd
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
25 $skip_gene_tables
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
26 $no_load_genotypes
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
27 $no_genotypes
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
28 $passonly
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
29 --cores \${GALAXY_SLOTS:-4}
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
30
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
31 "${ outfile }"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
32 ]]>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
33 </command>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
34 <expand macro="stdio" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
35 <inputs>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
36 <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
37
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
38 <param name="annotation_type" type="select" label="The annotations to be used with the input vcf" help="(-t)">
2
93bb0cfacefb Uploaded
iuc
parents: 0
diff changeset
39 <option value="None">None (not recommended)</option>
93bb0cfacefb Uploaded
iuc
parents: 0
diff changeset
40 <option value="snpEff" selected="True">snpEff annotated VCF file</option>
0
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
41 <option value="VEP">VEP annotated VCF file</option>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
42 </param>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
43 <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
44 <expand macro="annotation_dir" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
45
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
46 <param name="skip_gerp_bp" type="boolean" truevalue="--skip-gerp-bp" falsevalue="" checked="False"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
47 label="Do not load GERP scores at base pair resolution" help="(--skip-gerp-bp)"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
48
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
49 <param name="skip_cadd" type="boolean" truevalue="--skip-cadd" falsevalue="" checked="False"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
50 label="Do not load CADD scores" help="(--skip-cadd)"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
51
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
52 <param name="skip_gene_tables" type="boolean" truevalue="--skip-gene-tables" falsevalue="" checked="False"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
53 label="Do not load gene tables" help="(--skip-gene-tables)"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
54
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
55 <param name="no_load_genotypes" type="boolean" truevalue="--no-load-genotypes" falsevalue="" checked="False"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
56 label="Genotypes exist in the file, but should not be stored" help="(--no-load-genotypes)"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
57
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
58 <param name="no_genotypes" type="boolean" truevalue="--no-load-genotypes" falsevalue="" checked="False"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
59 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
60
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
61 <param name="passonly" type="boolean" truevalue="--passonly" falsevalue="" checked="False"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
62 label="Keep only variants that pass all filters" help="e.g. some 1000G VCFs (--passonly)"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
63
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
64 </inputs>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
65 <outputs>
2
93bb0cfacefb Uploaded
iuc
parents: 0
diff changeset
66 <data name="outfile" format="gemini.sqlite" />
0
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
67 </outputs>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
68 <tests>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
69 <test>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
70 </test>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
71 </tests>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
72 <help>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
73 **What it does**
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
74
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
75 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
76 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
77
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
78 http://gemini.readthedocs.org/en/latest/content/loading.html
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
79
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
80 @CITATION@
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
81 </help>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
82 <expand macro="citations"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
83 </tool>