Mercurial > repos > iuc > bcftools_gtcheck
comparison bcftools_gtcheck.xml @ 16:a29a2f40b665 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
author | iuc |
---|---|
date | Tue, 20 Sep 2022 13:09:16 +0000 |
parents | 64778f8899cc |
children |
comparison
equal
deleted
inserted
replaced
15:5a321fab1fe4 | 16:a29a2f40b665 |
---|---|
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>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> |
45 --genotypes '${section.genotypes}' | 45 --genotypes '${section.genotypes}' |
46 #end if | 46 #end if |
47 | 47 |
48 ${section.all_sites} | 48 ${section.all_sites} |
49 | 49 |
50 #if $section.GTs_only: | |
51 --GTs-only '${section.GTs_only}' | |
52 #end if | |
53 | |
54 ${section.homs_only} | 50 ${section.homs_only} |
55 | 51 |
56 #if $section.plot: | 52 #if $section.plot: |
57 --plot '${section.plot}' | 53 --plot '${section.plot}' |
58 #end if | 54 #end if |
83 </section> | 79 </section> |
84 <section name="sec_default" expanded="true" title="Default Options"> | 80 <section name="sec_default" expanded="true" title="Default Options"> |
85 <param name="genotypes" type="data" format="vcf,bcf" label="Genotypes to compare against" optional="True" | 81 <param name="genotypes" type="data" format="vcf,bcf" label="Genotypes to compare against" optional="True" |
86 help="(-g) Checks sample identity or wehn omitted a multi-sample cross-check is performed"/> | 82 help="(-g) Checks sample identity or wehn omitted a multi-sample cross-check is performed"/> |
87 <param name="target_sample" type="text" label="Target Sample" optional="True" help="Target sample in the -g file (used only for plotting)" /> | 83 <param name="target_sample" type="text" label="Target Sample" optional="True" help="Target sample in the -g file (used only for plotting)" /> |
88 <param name="GTs_only" type="integer" label="Gts Only" value="99" optional="True" help="Use GTs, ignore PLs, using <int> for unseen genotypes" /> | |
89 <param name="all_sites" type="boolean" truevalue="--all-sites" falsevalue="" label="All Sites" help="Output comparison for all sites" /> | 84 <param name="all_sites" type="boolean" truevalue="--all-sites" falsevalue="" label="All Sites" help="Output comparison for all sites" /> |
90 <param name="homs_only" type="boolean" truevalue="--homs-only" falsevalue="" label="Homs Only" help="Homozygous genotypes only (useful for low coverage data)" /> | 85 <param name="homs_only" type="boolean" truevalue="--homs-only" falsevalue="" label="Homs Only" help="Homozygous genotypes only (useful for low coverage data)" /> |
91 <param name="query_sample" type="text" label="Query Sample" optional="True" help="Query sample (by default the first sample is checked)" /> | 86 <param name="query_sample" type="text" label="Query Sample" optional="True" help="Query sample (by default the first sample is checked)" /> |
92 <param name="plot" type="text" label="Plot" help="Prefix name for plot" /> | 87 <param name="plot" type="text" label="Plot" help="Prefix name for plot" /> |
93 </section> | 88 </section> |
96 <data name="output_file" format="tabular" /> | 91 <data name="output_file" format="tabular" /> |
97 </outputs> | 92 </outputs> |
98 <tests> | 93 <tests> |
99 <test> | 94 <test> |
100 <param name="input_file" ftype="vcf" value="view.vcf" /> | 95 <param name="input_file" ftype="vcf" value="view.vcf" /> |
101 <param name="GTs_only" value="99" /> | |
102 <output name="output_file"> | 96 <output name="output_file"> |
103 <assert_contents> | 97 <assert_contents> |
104 <has_text_matching expression="CN\t3\t10\t0\tNA00002\tNA00001"/> | 98 <has_text_matching expression="DC\tNA00002\tNA00001\t6"/> |
105 </assert_contents> | 99 </assert_contents> |
106 </output> | 100 </output> |
107 </test> | 101 </test> |
108 </tests> | 102 </tests> |
109 <help><![CDATA[ | 103 <help><![CDATA[ |