annotate bcftools_consensus.xml @ 16:d37e313a41be draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
author iuc
date Sat, 23 Jul 2022 13:32:35 +0000
parents edc3d484b99a
children 95c6f3f4c77f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
1 <?xml version='1.0' encoding='utf-8'?>
13
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
2 <tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@TOOL_VERSION@+galaxy1">
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
3 <description>Create consensus sequence by applying VCF variants to a reference fasta file</description>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
4 <macros>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
5 <token name="@EXECUTABLE@">consensus</token>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
6 <import>macros.xml</import>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
7 </macros>
15
edc3d484b99a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit af43d9cf6824f88726900857116f333ff4cdd336"
iuc
parents: 14
diff changeset
8 <expand macro="bio_tools" />
4
5410e1408bce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3edcac645f34d5a94884dedaf95c5774f4afc5c7
iuc
parents: 0
diff changeset
9 <expand macro="requirements">
5
858a3580dc70 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 4
diff changeset
10 <expand macro="samtools_requirement"/>
11
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
11 <requirement type="package" version="5.0.1">gawk</requirement>
4
5410e1408bce planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3edcac645f34d5a94884dedaf95c5774f4afc5c7
iuc
parents: 0
diff changeset
12 </expand>
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
13 <expand macro="version_command" />
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
14 <command detect_errors="aggressive"><![CDATA[
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
15 @PREPARE_ENV@
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
16 @PREPARE_INPUT_FILE@
8
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
17 #set $section = $reference_source
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
18 @PREPARE_FASTA_REF@
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
19
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
20 bcftools @EXECUTABLE@
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
21
8
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
22 @FASTA_REF@
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
23
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
24 ## Default section
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
25 #set $section = $sec_default
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
26
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
27 ${section.iupac_codes}
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
28
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
29 #if $section.mask:
11
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
30 --mask '${section.mask}'
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
31 #end if
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
32
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
33 #if $section.select_haplotype:
11
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
34 --haplotype '${section.select_haplotype}'
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
35 #end if
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
36 @SAMPLE@
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
37
13
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
38 #set $section = $sec_restrict
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
39 @INCLUDE@
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
40 @EXCLUDE@
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
41
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
42 #if $chain:
11
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
43 --chain '$chain_file'
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
44 #end if
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
45
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
46 ## Primary Input/Outputs
11
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
47 #if str($rename) == "no"
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
48 --output '$output_file'
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
49 #end if
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
50 @INPUT_FILE@
11
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
51 #if str($rename) == "yes":
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
52 #set basename=$input_file.element_identifier
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
53 | awk 'BEGIN {i=1} {if (match($0, /^>/)) {if (i==1) {name="${basename}"} else {name=sprintf("%s-%d","${basename}",i);} print(gensub(/>[^ ]+( ?.*)/, ">" name "\\1", 1)); i=i+1;} else {print}}' > '$output_file'
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
54 #end if
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
55 ]]>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
56 </command>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
57 <inputs>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
58 <expand macro="macro_input" />
8
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
59 <expand macro="macro_fasta_ref" />
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
60 <section name="sec_default" expanded="true" title="Default Options">
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
61 <param name="mask" type="data" format="tabular" label="Mask" optional="True" help="Replace regions with N" />
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
62 <param name="iupac_codes" type="boolean" truevalue="--iupac-codes" falsevalue="" label="Iupac Codes"
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
63 help="Output variants in the form of IUPAC ambiguity codes" />
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
64 <expand macro="macro_sample" />
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
65 <param name="select_haplotype" type="select" optional="true">
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
66 <option value="1">1</option>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
67 <option value="2">2</option>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
68 </param>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
69 </section>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
70 <param name="chain" type="boolean" truevalue="yes" falsevalue="no" label="Write a chain file for liftover" />
11
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
71 <param name="rename" type="boolean" truevalue="yes" falsevalue="no" label="Set output FASTA ID from name of VCF" />
13
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
72 <section name="sec_restrict" expanded="false" title="Restrict to">
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
73 <expand macro="macro_include" />
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
74 <expand macro="macro_exclude" />
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
75 </section>
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
76 </inputs>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
77 <outputs>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
78 <data name="output_file" format="fasta" label="${tool.name} on ${on_string}: consensus fasta"/>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
79 <data name="chain_file" format="txt" label="${tool.name} on ${on_string}: chain">
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
80 <filter>chain</filter>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
81 </data>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
82 </outputs>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
83 <tests>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
84 <test>
8
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
85 <expand macro="test_using_reference" ref="consensus.fa" />
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
86 <param name="input_file" ftype="vcf" value="consensus.vcf" />
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
87 <param name="mask" ftype="tabular" value="consensus.tab" />
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
88 <param name="chain" value="True" />
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
89 <output name="output_file">
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
90 <assert_contents>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
91 <has_text text="NNNNNNNNNNNNNNNNNNNNNNNNNN" />
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
92 </assert_contents>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
93 </output>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
94 <output name="chain_file">
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
95 <assert_contents>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
96 <has_text text="chain 497 1 501 + 1 501 1 502 + 1 502 1" />
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
97 </assert_contents>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
98 </output>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
99 </test>
8
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
100 <test>
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
101 <expand macro="test_using_reference" select_from="cached" ref="consensus" />
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
102 <param name="input_file" ftype="vcf" dbkey="?" value="consensus.vcf" />
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
103 <param name="mask" ftype="tabular" value="consensus.tab" />
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
104 <param name="chain" value="True" />
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
105 <output name="output_file">
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
106 <assert_contents>
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
107 <has_text text="NNNNNNNNNNNNNNNNNNNNNNNNNN" />
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
108 </assert_contents>
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
109 </output>
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
110 <output name="chain_file">
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
111 <assert_contents>
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
112 <has_text text="chain 497 1 501 + 1 501 1 502 + 1 502 1" />
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
113 </assert_contents>
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
114 </output>
70b8e9908ea8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 7
diff changeset
115 </test>
11
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
116 <test>
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
117 <expand macro="test_using_reference" ref="consensus.fa" />
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
118 <param name="input_file" ftype="vcf" value="consensus.vcf" />
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
119 <param name="mask" ftype="tabular" value="consensus.tab" />
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
120 <param name="chain" value="False" />
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
121 <param name="rename" value="True" />
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
122 <output name="output_file">
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
123 <assert_contents>
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
124 <has_text text=">consensus.vcf" />
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
125 </assert_contents>
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
126 <assert_contents>
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
127 <has_text text=">consensus.vcf-2" />
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
128 </assert_contents>
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
129 </output>
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
130 </test>
13
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
131 <test>
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
132 <expand macro="test_using_reference" ref="consensus.fa" />
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
133 <param name="input_file" ftype="vcf" value="consensus.vcf" />
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
134 <section name="sec_restrict">
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
135 <param name="include" value='TYPE="snp"' />
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
136 </section>
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
137 <output name="output_file">
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
138 <assert_contents>
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
139 <has_text text="TACAAAATATGACATATCAAAAAGAACATAACCTACGTATCAACTAAAGTGGTTGTTTGA" />
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
140 </assert_contents>
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
141 </output>
d6dc477167f8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents: 12
diff changeset
142 </test>
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
143 </tests>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
144 <help><![CDATA[
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
145 =====================================
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
146 bcftools @EXECUTABLE@ plugin
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
147 =====================================
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
148
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
149
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
150 Create consensus sequence by applying VCF variants to a reference fasta file.
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
151
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
152 @BCFTOOLS_MANPAGE@#@EXECUTABLE@
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
153
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
154 @BCFTOOLS_WIKI@
11
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
155
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
156 The option to set the new consensus' FASTA ID from the name of the VCF is provided by post-processing
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
157 the bcftools consensus output. It is primarily intended for use when the VCF is coming from a list
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
158 collection where the elements of the list are named meaningfully (e.g. named after sample names). This
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
159 is useful when consensus sequences are being prepared for, for example, feeding a multiple sequence
a87ae767b01d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents: 8
diff changeset
160 alignment to a phylogeny program.
0
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
161 ]]>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
162 </help>
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
163 <expand macro="citations" />
74b27d899b85 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
164 </tool>