comparison bcftools_gtcheck.xml @ 2:025adf89e10d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 44bebb8a97d64015cbba59f0663e2541035112b6
author iuc
date Mon, 03 Oct 2016 12:15:51 -0400
parents 85dc172ae24f
children bf8c3c146a1c
comparison
equal deleted inserted replaced
1:247cc24f8b9e 2:025adf89e10d
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="@VERSION@.0"> 2 <tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@VERSION@.1">
3 <description>Check sample identity</description> 3 <description>Check sample identity</description>
4 <macros> 4 <macros>
5 <token name="@EXECUTABLE@">gtcheck</token> 5 <token name="@EXECUTABLE@">gtcheck</token>
6 <import>macros.xml</import> 6 <import>macros.xml</import>
7 </macros> 7 </macros>
81 </section> 81 </section>
82 <section name="sec_default" expanded="true" title="Default Options"> 82 <section name="sec_default" expanded="true" title="Default Options">
83 <param name="genotypes" type="data" format="vcf,bcf" label="Genotypes to compare against" optional="True" 83 <param name="genotypes" type="data" format="vcf,bcf" label="Genotypes to compare against" optional="True"
84 help="(-g) Checks sample identity or wehn omitted a multi-sample cross-check is performed"/> 84 help="(-g) Checks sample identity or wehn omitted a multi-sample cross-check is performed"/>
85 <param name="target_sample" type="text" label="Target Sample" optional="True" help="Target sample in the -g file (used only for plotting)" /> 85 <param name="target_sample" type="text" label="Target Sample" optional="True" help="Target sample in the -g file (used only for plotting)" />
86 <param name="GTs_only" type="integer" label="Gts Only" default="99" optional="True" help="Use GTs, ignore PLs, using &lt;int&gt; for unseen genotypes" /> 86 <param name="GTs_only" type="integer" label="Gts Only" value="99" optional="True" help="Use GTs, ignore PLs, using &lt;int&gt; for unseen genotypes" />
87 <param name="all_sites" type="boolean" truevalue="--all-sites" falsevalue="" label="All Sites" help="Output comparison for all sites" /> 87 <param name="all_sites" type="boolean" truevalue="--all-sites" falsevalue="" label="All Sites" help="Output comparison for all sites" />
88 <param name="homs_only" type="boolean" truevalue="--homs-only" falsevalue="" label="Homs Only" help="Homozygous genotypes only (useful for low coverage data)" /> 88 <param name="homs_only" type="boolean" truevalue="--homs-only" falsevalue="" label="Homs Only" help="Homozygous genotypes only (useful for low coverage data)" />
89 <param name="query_sample" type="text" label="Query Sample" optional="True" help="Query sample (by default the first sample is checked)" /> 89 <param name="query_sample" type="text" label="Query Sample" optional="True" help="Query sample (by default the first sample is checked)" />
90 <param name="plot" type="text" label="Plot" help="Prefix name for plot" /> 90 <param name="plot" type="text" label="Plot" help="Prefix name for plot" />
91 </section> 91 </section>
94 <data name="output_file" format="tabular" /> 94 <data name="output_file" format="tabular" />
95 </outputs> 95 </outputs>
96 <tests> 96 <tests>
97 <test> 97 <test>
98 <param name="input_file" ftype="vcf" value="view.vcf" /> 98 <param name="input_file" ftype="vcf" value="view.vcf" />
99 <param name="GTs_only" value="" />
99 <output name="output_file"> 100 <output name="output_file">
100 <assert_contents> 101 <assert_contents>
101 <has_text_matching expression="SM\t10328.0+\t80.68\t12\tNA00002\t0"/> 102 <has_text_matching expression="SM\t10328.0+\t80.68\t12\tNA00002\t0"/>
102 <has_text_matching expression="CN\t1174\t14\t75.57\tNA00002\tNA00001"/> 103 <has_text_matching expression="CN\t1174\t14\t75.57\tNA00002\tNA00001"/>
103 </assert_contents> 104 </assert_contents>