annotate varextract.xml @ 0:aa82b2e54055 draft

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