Mercurial > repos > iuc > bcftools_concat
comparison bcftools_concat.xml @ 17:03e0645395d2 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
author | iuc |
---|---|
date | Tue, 20 Sep 2022 12:55:03 +0000 |
parents | fc47ffec447e |
children |
comparison
equal
deleted
inserted
replaced
16:6b6c992d3a14 | 17:03e0645395d2 |
---|---|
1 <?xml version='1.0' encoding='utf-8'?> | 1 <?xml version='1.0' encoding='utf-8'?> |
2 <tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@TOOL_VERSION@"> | 2 <tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
3 <description>Concatenate or combine VCF/BCF files</description> | 3 <description>Concatenate or combine VCF/BCF files</description> |
4 <macros> | 4 <macros> |
5 <token name="@EXECUTABLE@">concat</token> | 5 <token name="@EXECUTABLE@">concat</token> |
6 <import>macros.xml</import> | 6 <import>macros.xml</import> |
7 </macros> | 7 </macros> |
27 #if $section.mode.overlaps.rm_dups: | 27 #if $section.mode.overlaps.rm_dups: |
28 --rm-dups $section.mode.overlaps.rm_dups | 28 --rm-dups $section.mode.overlaps.rm_dups |
29 #end if | 29 #end if |
30 #end if | 30 #end if |
31 ${section.mode.ligate} | 31 ${section.mode.ligate} |
32 #if $section.mode.ligate_mode | |
33 $section.mode.ligate_mode | |
34 #end if | |
32 #end if | 35 #end if |
33 ${section.compact_PS} | 36 ${section.compact_PS} |
34 #if str($section.min_PQ): | 37 #if str($section.min_PQ): |
35 --min-PQ ${section.min_PQ} | 38 --min-PQ ${section.min_PQ} |
36 #end if | 39 #end if |
54 <section name="sec_restrict" expanded="false" title="Restrict to"> | 57 <section name="sec_restrict" expanded="false" title="Restrict to"> |
55 <expand macro="macro_restrict" /> | 58 <expand macro="macro_restrict" /> |
56 </section> | 59 </section> |
57 <section name="sec_default" expanded="true" title="Concat Options"> | 60 <section name="sec_default" expanded="true" title="Concat Options"> |
58 <conditional name="mode"> | 61 <conditional name="mode"> |
59 <param name="naive" type="select" label="naive concat"> | 62 <param argument="--naive" type="select" label="Naive concat"> |
60 <help><![CDATA[ | 63 <help><![CDATA[ |
61 --naive concatenates VCF or BCF files without recompression. This can be used used to combine results that were generated separately for each chromosome. This is very fast but requires that all files are of the same type (all VCF or all BCF) and have the same headers. This is because all tags and chromosome names in the BCF body rely on the implicit order of the contig and tag definitions in the header. Currently no sanity checks are in place. Dangerous, use with caution. | 64 --naive concatenates VCF or BCF files without recompression. This can be used used to combine results that were generated separately for each chromosome. This is very fast but requires that all files are of the same type (all VCF or all BCF) and have the same headers. This is because all tags and chromosome names in the BCF body rely on the implicit order of the contig and tag definitions in the header. Currently no sanity checks are in place. Dangerous, use with caution. |
62 ]]></help> | 65 ]]></help> |
63 <option value="no">No </option> | 66 <option value="no">No </option> |
64 <option value="yes">Yes </option> | 67 <option value="yes">Yes </option> |
88 </when> | 91 </when> |
89 <when value="no"/> | 92 <when value="no"/> |
90 </conditional> | 93 </conditional> |
91 <param name="ligate" type="boolean" truevalue="--ligate" falsevalue="" label="Ligate" | 94 <param name="ligate" type="boolean" truevalue="--ligate" falsevalue="" label="Ligate" |
92 help="Ligate phased VCFs by matching phase at overlapping haplotypes" /> | 95 help="Ligate phased VCFs by matching phase at overlapping haplotypes" /> |
96 <param name="ligate_mode" type="select" optional="true" label="Ligate mode" help="It allows finer control of --ligate behavior"> | |
97 <option value="--ligate-warn">Ligate warn: Drop sites that are present in one chunk but absent in the other (--ligate-warn)</option> | |
98 <option value="--ligate-force">Ligate force: Kepp sites that are present only in one chunk (--ligate-force)</option> | |
99 </param> | |
93 </when> | 100 </when> |
94 </conditional> | 101 </conditional> |
95 <param name="compact_PS" type="boolean" truevalue="--compact-PS" falsevalue="" label="Compact Ps" | 102 <param name="compact_PS" type="boolean" truevalue="--compact-PS" falsevalue="" label="Compact Ps" |
96 help="Do not output PS tag at each site, only at the start of a new phase set block." /> | 103 help="Do not output PS tag at each site, only at the start of a new phase set block." /> |
97 <param name="min_PQ" type="integer" label="Min Pq" value="30" optional="true" | 104 <param name="min_PQ" type="integer" label="Min Pq" value="30" optional="true" |
113 </assert_contents> | 120 </assert_contents> |
114 </output> | 121 </output> |
115 </test> | 122 </test> |
116 <test> | 123 <test> |
117 <param name="input_files" ftype="vcf" value="concat.1.b.vcf,concat.1.a.vcf" /> | 124 <param name="input_files" ftype="vcf" value="concat.1.b.vcf,concat.1.a.vcf" /> |
118 <param name="naive" value="yes" /> | 125 <param name="naive" value="no" /> |
119 <param name="output_type" value="v" /> | 126 <param name="output_type" value="v" /> |
120 <output name="output_file"> | 127 <output name="output_file"> |
121 <assert_contents> | 128 <assert_contents> |
122 <has_text_matching expression="1\t100"/> | 129 <has_text_matching expression="1\t100"/> |
123 <has_text_matching expression="3\t192"/> | 130 <has_text_matching expression="3\t192"/> |
143 <output name="output_file"> | 150 <output name="output_file"> |
144 <assert_contents> | 151 <assert_contents> |
145 <has_text_matching expression="2\t160\t.\tTAAAA"/> | 152 <has_text_matching expression="2\t160\t.\tTAAAA"/> |
146 </assert_contents> | 153 </assert_contents> |
147 </output> | 154 </output> |
155 </test> | |
156 <!-- Test region overlap--> | |
157 <test> | |
158 <param name="input_files" ftype="vcf" value="concat.1.b.vcf,concat.1.a.vcf" /> | |
159 <param name="output_type" value="v" /> | |
160 <section name="sec_restrict"> | |
161 <param name="regions_overlap" value="1"/> | |
162 </section> | |
163 <output name="output_file"> | |
164 <assert_contents> | |
165 <has_text_matching expression="1\t100"/> | |
166 <has_text_matching expression="3\t192"/> | |
167 </assert_contents> | |
168 </output> | |
169 <assert_command> | |
170 <has_text text="--regions-overlap" /> | |
171 </assert_command> | |
172 </test> | |
173 <!-- Test ligate options --> | |
174 <test> | |
175 <param name="input_files" ftype="vcf" value="concat.1.b.vcf,concat.1.a.vcf" /> | |
176 <param name="output_type" value="v" /> | |
177 <section name="sec_default"> | |
178 <conditional name="mode"> | |
179 <conditional name="overlaps"> | |
180 <param name="allow_overlaps" value="no"/> | |
181 </conditional> | |
182 <param name="ligate" value="true"/> | |
183 <param name="ligate_mode" value="--ligate-warn"/> | |
184 </conditional> | |
185 </section> | |
186 <output name="output_file"> | |
187 <assert_contents> | |
188 <has_text_matching expression="1\t100"/> | |
189 <has_text_matching expression="3\t192"/> | |
190 </assert_contents> | |
191 </output> | |
192 <assert_command> | |
193 <has_text text="--ligate-warn" /> | |
194 </assert_command> | |
148 </test> | 195 </test> |
149 </tests> | 196 </tests> |
150 <help><![CDATA[ | 197 <help><![CDATA[ |
151 ===================================== | 198 ===================================== |
152 bcftools @EXECUTABLE@ plugin | 199 bcftools @EXECUTABLE@ plugin |