Mercurial > repos > wolma > mimodd_main
annotate varextract.xml @ 0:f0f2795de2c7 draft
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
author | wolma |
---|---|
date | Tue, 19 Dec 2017 04:54:04 -0500 |
parents | |
children |
rev | line source |
---|---|
0
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
1 <tool id="mimodd_varextract" name="MiModD Extract Variant Sites" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
2 version="@MIMODD_WRAPPER_VERSION@"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
3 <description>from a BCF file</description> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
4 <macros> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
5 <import>macros.xml</import> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
6 </macros> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
7 <expand macro="requirements" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
8 <expand macro="stdio" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
9 <expand macro="version_command" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
10 <command><![CDATA[ |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
11 mimodd varextract '$ifile' |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
12 #if $len($sitesinfo) |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
13 -p |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
14 #for $source in $sitesinfo |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
15 '${source.pre_vcf}' |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
16 #end for |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
17 #end if |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
18 --ofile '$output_vcf' |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
19 $keep_alts |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
20 --verbose |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
21 ]]></command> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
22 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
23 <inputs> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
24 <param name="ifile" type="data" format="bcf" label="BCF input file" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
25 help="Use the MiModD Variant Calling tool to generate the input for this tool."/> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
26 <repeat name="sitesinfo" title="include information from pre-calculated vcf dataset" default="0"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
27 <param name="pre_vcf" type="data" format="vcf" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
28 label="independently generated vcf datset" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
29 </repeat> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
30 <param name="keep_alts" type="boolean" truevalue="-a" falsevalue="" checked="false" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
31 label="keep all sites with alternate bases" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
32 help="If selected, the VCF output will include ALL sites for which non-reference bases have been observed, i.e., even those not considered allelic sites by the variant caller." /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
33 </inputs> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
34 <outputs> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
35 <data name="output_vcf" format="vcf" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
36 label="Variants extracted with MiModd from ${on_string}"/> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
37 </outputs> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
38 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
39 <tests> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
40 <test> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
41 <param name="ifile" value="a.bcf" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
42 <output name="output_vcf" ftype="vcf"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
43 <assert_contents> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
44 <has_line_matching expression="#CHROM.POS.ID.REF.ALT.QUAL.FILTER.INFO.FORMAT.N2.ot266" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
45 </assert_contents> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
46 </output> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
47 <assert_command> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
48 <not_has_text text="-a" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
49 </assert_command> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
50 </test> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
51 <test> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
52 <param name="ifile" value="a_part2.bcf" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
53 <param name="keep_alts" value="true" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
54 <param name="pre_vcf" value="a.vcf" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
55 <output name="output_vcf" ftype="vcf"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
56 <assert_contents> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
57 <has_line_matching expression="#CHROM.POS.ID.REF.ALT.QUAL.FILTER.INFO.FORMAT.ot266.external_source_1_N2.external_source_1_ot266" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
58 </assert_contents> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
59 </output> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
60 <assert_command> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
61 <has_text text="-a" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
62 </assert_command> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
63 </test> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
64 </tests> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
65 <help><![CDATA[ |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
66 .. class:: infomark |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
67 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
68 **What it does** |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
69 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
70 The tool takes as input a BCF dataset like the ones produced by the |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
71 *MiModD Variant Calling* tool, extracts just the variant sites from it and |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
72 reports them in VCF format. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
73 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
74 If the BCF input file specifies multiple samples, sites are included if they qualify as variant sites in at least one sample. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
75 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
76 ---------- |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
77 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
78 **Options:** |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
79 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
80 **keep all sites with alternate bases** |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
81 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
82 By default, a variant site is considered to be a position in the genome for |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
83 which a non-reference allele appears in the inferred genotype of any sample. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
84 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
85 You can select the *keep all sites with alternate bases* option, if instead |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
86 you want to extract all sites, for which at least one non-reference base has |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
87 been observed (whether resulting in a non-reference allele call or not). |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
88 Using this option should rarely be necessary, but could be occassionally |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
89 helpful for closer inspection of candidate genomic regions. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
90 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
91 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
92 **include information from pre-calculated vcf dataset** |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
93 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
94 During the process of variant extraction the tool can take into account |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
95 genome positions specified in one or more independently generated VCF datasets. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
96 If such additional VCF input is provided, the tool output will contain the |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
97 samples found in these files as additional samples and sites from the main BCF |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
98 dataset will be included not only if they qualify as variant sites in at least |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
99 one sample specified in the BCF, but also if they are listed in any of the |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
100 additional VCF datasets. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
101 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
102 Optional VCF input can be particularly useful in one of the following |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
103 situations: |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
104 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
105 1) you have prior information that leads you to think that certain genome |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
106 positions are of special relevance for your project and, thus, you are |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
107 interested in the statistics produced by the variant caller for these |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
108 positions even if they are not considered variant sites. In this case you |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
109 can use a minimal VCF dataset to guide the variant extraction process to |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
110 include these positions. This dataset needs a minimal header of the form: |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
111 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
112 ``##fileformat=VCFv4.2`` |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
113 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
114 followed by positional information like in this example:: |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
115 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
116 #CHROM POS ID REF ALT QUAL FILTER INFO |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
117 chrI 1222 . . . . . . |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
118 chrI 2651 . . . . . . |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
119 chrI 3659 . . . . . . |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
120 chrI 3731 . . . . . . |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
121 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
122 , where columns are tab-separated and . serves as a placeholder for missing |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
123 information. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
124 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
125 2) you have actual variant calls from an additional sample, but you do not |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
126 have access to the original sequenced reads data (if you had, the |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
127 recommended approach would be to include that data in the |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
128 *MiModD Variant Calling* step. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
129 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
130 This situation is often encountered with published datasets. Assume you |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
131 have obtained a list of known single nucleotide variants (SNVs) found in |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
132 one particular strain of your favorite model organism and you would like |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
133 to know which of these SNVs are present in the related strains you have |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
134 sequenced. You have aligned the sequenced reads from your samples and have |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
135 used the *MiModD Variant Calling* tool, which has generated a BCF dataset |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
136 ready for variant extraction. If the SNV list for the previously sequenced |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
137 strain is in VCF format already, you can now just plug it into the |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
138 analysis process by specifying it in the tool interface as an |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
139 *independently generated vcf dataset*. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
140 The resulting vcf output will contain all SNV sites along with the variant |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
141 sites found in the BCF alone. You can then proceed to the |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
142 *MiModD VCF Filter* tool to look at the original SNV sites only or to |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
143 investigate any other interesting subset of sites. If the SNV list is in |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
144 some other format, you will have o convert it to VCF first. At a minimum, |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
145 the dataset must have a ``##fileformat`` header line like the previous |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
146 example and have the ``REF`` and ``ALT`` column filled in like so:: |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
147 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
148 #CHROM POS ID REF ALT QUAL FILTER INFO |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
149 chrI 1897409 . A G . . . |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
150 chrI 1897492 . C T . . . |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
151 chrI 1897616 . C A . . . |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
152 chrI 1897987 . A T . . . |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
153 chrI 1898185 . C T . . . |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
154 chrI 1898715 . G A . . . |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
155 chrI 1898729 . T C . . . |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
156 chrI 1900288 . T A . . . |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
157 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
158 , in which case the tool will assume that the corresponding sample is |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
159 homozygous for each of the SNVs. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
160 If you need to distinguish between homozygous and heterozygous SNVs you |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
161 will have to extend the format to include a format and a sample column |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
162 with genotype (GT) information like in this example:: |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
163 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
164 #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT sampleX |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
165 chrI 1897409 . A G . . . GT 1/1 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
166 chrI 1897492 . C T . . . GT 0/1 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
167 chrI 1897616 . C A . . . GT 0/1 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
168 chrI 1897987 . A T . . . GT 0/1 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
169 chrI 1898185 . C T . . . GT 0/1 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
170 chrI 1898715 . G A . . . GT 0/1 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
171 chrI 1898729 . T C . . . GT 0/1 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
172 chrI 1900288 . T A . . . GT 0/1 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
173 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
174 , in which sampleX would be heterozygous for all SNVs except the first. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
175 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
176 .. class:: warningmark |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
177 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
178 If the optional VCF input contains INDEL calls, these will be ignored by the |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
179 tool. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
180 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
181 @HELP_FOOTER@ |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
182 ]]></help> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
183 <expand macro="citations" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
184 </tool> |