Mercurial > repos > iuc > bcftools_consensus
comparison bcftools_consensus.xml @ 13:d6dc477167f8 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
author | iuc |
---|---|
date | Fri, 05 Feb 2021 19:48:42 +0000 |
parents | e522022137f6 |
children | 92182c270ce4 |
comparison
equal
deleted
inserted
replaced
12:e522022137f6 | 13:d6dc477167f8 |
---|---|
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@+galaxy1"> |
3 <description>Create consensus sequence by applying VCF variants to a reference fasta file</description> | 3 <description>Create consensus sequence by applying VCF variants to a reference fasta file</description> |
4 <macros> | 4 <macros> |
5 <token name="@EXECUTABLE@">consensus</token> | 5 <token name="@EXECUTABLE@">consensus</token> |
6 <import>macros.xml</import> | 6 <import>macros.xml</import> |
7 </macros> | 7 </macros> |
32 #if $section.select_haplotype: | 32 #if $section.select_haplotype: |
33 --haplotype '${section.select_haplotype}' | 33 --haplotype '${section.select_haplotype}' |
34 #end if | 34 #end if |
35 @SAMPLE@ | 35 @SAMPLE@ |
36 | 36 |
37 #set $section = $sec_restrict | |
38 @INCLUDE@ | |
39 @EXCLUDE@ | |
40 | |
37 #if $chain: | 41 #if $chain: |
38 --chain '$chain_file' | 42 --chain '$chain_file' |
39 #end if | 43 #end if |
40 | 44 |
41 ## Primary Input/Outputs | 45 ## Primary Input/Outputs |
62 <option value="2">2</option> | 66 <option value="2">2</option> |
63 </param> | 67 </param> |
64 </section> | 68 </section> |
65 <param name="chain" type="boolean" truevalue="yes" falsevalue="no" label="Write a chain file for liftover" /> | 69 <param name="chain" type="boolean" truevalue="yes" falsevalue="no" label="Write a chain file for liftover" /> |
66 <param name="rename" type="boolean" truevalue="yes" falsevalue="no" label="Set output FASTA ID from name of VCF" /> | 70 <param name="rename" type="boolean" truevalue="yes" falsevalue="no" label="Set output FASTA ID from name of VCF" /> |
71 <section name="sec_restrict" expanded="false" title="Restrict to"> | |
72 <expand macro="macro_include" /> | |
73 <expand macro="macro_exclude" /> | |
74 </section> | |
67 </inputs> | 75 </inputs> |
68 <outputs> | 76 <outputs> |
69 <data name="output_file" format="fasta" label="${tool.name} on ${on_string}: consensus fasta"/> | 77 <data name="output_file" format="fasta" label="${tool.name} on ${on_string}: consensus fasta"/> |
70 <data name="chain_file" format="txt" label="${tool.name} on ${on_string}: chain"> | 78 <data name="chain_file" format="txt" label="${tool.name} on ${on_string}: chain"> |
71 <filter>chain</filter> | 79 <filter>chain</filter> |
117 <assert_contents> | 125 <assert_contents> |
118 <has_text text=">consensus.vcf-2" /> | 126 <has_text text=">consensus.vcf-2" /> |
119 </assert_contents> | 127 </assert_contents> |
120 </output> | 128 </output> |
121 </test> | 129 </test> |
130 <test> | |
131 <expand macro="test_using_reference" ref="consensus.fa" /> | |
132 <param name="input_file" ftype="vcf" value="consensus.vcf" /> | |
133 <section name="sec_restrict"> | |
134 <param name="include" value='TYPE="snp"' /> | |
135 </section> | |
136 <output name="output_file"> | |
137 <assert_contents> | |
138 <has_text text="TACAAAATATGACATATCAAAAAGAACATAACCTACGTATCAACTAAAGTGGTTGTTTGA" /> | |
139 </assert_contents> | |
140 </output> | |
141 </test> | |
122 </tests> | 142 </tests> |
123 <help><![CDATA[ | 143 <help><![CDATA[ |
124 ===================================== | 144 ===================================== |
125 bcftools @EXECUTABLE@ plugin | 145 bcftools @EXECUTABLE@ plugin |
126 ===================================== | 146 ===================================== |