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