Mercurial > repos > iuc > bcftools_consensus
annotate bcftools_consensus.xml @ 19:d3081540d175 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit cdb4558db96dd58f9f85267488a1e27ad813fca4
author | iuc |
---|---|
date | Thu, 29 Sep 2022 09:12:03 +0000 |
parents | 95c6f3f4c77f |
children | 1171446da5db |
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'?> |
17
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
2 <tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
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 |
17
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
33 #if $section.mark_del |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
34 --mark-del '$section.mark_del' |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
35 #end if |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
36 |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
37 #if $section.mark_ins |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
38 --mark-ins $section.mark_ins |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
39 #end if |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
40 |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
41 #if $section.mark_snv |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
42 --mark-snv $section.mark_snv |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
43 #end if |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
44 |
0
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
45 #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
|
46 --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
|
47 #end if |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
48 @SAMPLE@ |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
49 |
13
d6dc477167f8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents:
12
diff
changeset
|
50 #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
|
51 @INCLUDE@ |
d6dc477167f8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents:
12
diff
changeset
|
52 @EXCLUDE@ |
d6dc477167f8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents:
12
diff
changeset
|
53 |
0
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
54 #if $chain: |
17
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
55 --chain '$chain_file' |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
56 #end if |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
57 |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
58 #if $absent |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
59 --absent '$absent' |
0
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
60 #end if |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
61 |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
62 ## 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
|
63 #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
|
64 --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
|
65 #end if |
0
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
66 @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
|
67 #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
|
68 #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
|
69 | 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
|
70 #end if |
0
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
71 ]]> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
72 </command> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
73 <inputs> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
74 <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
|
75 <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
|
76 <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
|
77 <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
|
78 <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
|
79 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
|
80 <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
|
81 <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
|
82 <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
|
83 <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
|
84 </param> |
17
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
85 <param argument="--mark-del" type="text" value="" optional="true" label="Mark deletions" help="Instead of removing sequence, insert CHAR for deletions"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
86 <sanitizer invalid_char=""> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
87 <valid initial="string.letters,string.digits"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
88 <add value="_" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
89 </valid> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
90 </sanitizer> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
91 <validator type="regex">[0-9a-zA-Z_]+</validator> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
92 </param> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
93 <param argument="--mark-ins" type="select" optional="true" label="Mark insertions" help="Highlight insertions in uppercase (uc) or lowercase (lc), leaving the rest as is"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
94 <option value="uc">Uppercase</option> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
95 <option value="lc">Lowercase</option> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
96 </param> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
97 <param argument="--mark-snv" type="select" optional="true" label="Mark substitutions" help="Highlight substitutions in uppercase (uc) or lowercase (lc), leaving the rest as is"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
98 <option value="uc">Uppercase</option> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
99 <option value="lc">Lowercase</option> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
100 </param> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
101 <conditional name="conditional_mask"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
102 <param name="selector" type="select" label="Mask file option"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
103 <option value="disabled">Disabled</option> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
104 <option value="enabled">Enabled</option> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
105 </param> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
106 <when value="disabled"/> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
107 <when value="enabled"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
108 <param argument="--mask" type="data" format="tabular" label="Mask" help="Replace regions according to the next --mask-with option" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
109 <param argument="--mask-with" type="text" value="N" optional="true" label="Mask with" help="Replace with CHAR (skips overlapping variants); change to uppercase (uc) or lowercase (lc)"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
110 <sanitizer invalid_char=""> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
111 <valid initial="string.letters,string.digits"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
112 <add value="_" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
113 </valid> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
114 </sanitizer> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
115 <validator type="regex">[0-9a-zA-Z_]+</validator> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
116 </param> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
117 </when> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
118 </conditional> |
0
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
119 </section> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
120 <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
|
121 <param name="rename" type="boolean" truevalue="yes" falsevalue="no" label="Set output FASTA ID from name of VCF" /> |
17
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
122 <param argument="--absent" type="text" value="" label="Absent" optional="true" help="It allows to set positions with no supporting evidence to N (or any other character)"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
123 <sanitizer invalid_char=""> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
124 <valid initial="string.letters,string.digits,string.punctuation"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
125 <remove value="@" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
126 <remove value="'" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
127 </valid> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
128 </sanitizer> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
129 </param> |
13
d6dc477167f8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents:
12
diff
changeset
|
130 <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
|
131 <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
|
132 <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
|
133 </section> |
0
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
134 </inputs> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
135 <outputs> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
136 <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
|
137 <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
|
138 <filter>chain</filter> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
139 </data> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
140 </outputs> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
141 <tests> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
142 <test> |
8
70b8e9908ea8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
7
diff
changeset
|
143 <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
|
144 <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
|
145 <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
|
146 <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
|
147 <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
|
148 <assert_contents> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
149 <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
|
150 </assert_contents> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
151 </output> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
152 <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
|
153 <assert_contents> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
154 <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
|
155 </assert_contents> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
156 </output> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
157 </test> |
8
70b8e9908ea8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
7
diff
changeset
|
158 <test> |
70b8e9908ea8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
7
diff
changeset
|
159 <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
|
160 <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
|
161 <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
|
162 <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
|
163 <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
|
164 <assert_contents> |
70b8e9908ea8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
7
diff
changeset
|
165 <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
|
166 </assert_contents> |
70b8e9908ea8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
7
diff
changeset
|
167 </output> |
70b8e9908ea8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
7
diff
changeset
|
168 <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
|
169 <assert_contents> |
70b8e9908ea8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
7
diff
changeset
|
170 <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
|
171 </assert_contents> |
70b8e9908ea8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
7
diff
changeset
|
172 </output> |
70b8e9908ea8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
7
diff
changeset
|
173 </test> |
11
a87ae767b01d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents:
8
diff
changeset
|
174 <test> |
a87ae767b01d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents:
8
diff
changeset
|
175 <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
|
176 <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
|
177 <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
|
178 <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
|
179 <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
|
180 <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
|
181 <assert_contents> |
a87ae767b01d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents:
8
diff
changeset
|
182 <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
|
183 </assert_contents> |
a87ae767b01d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents:
8
diff
changeset
|
184 <assert_contents> |
a87ae767b01d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents:
8
diff
changeset
|
185 <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
|
186 </assert_contents> |
a87ae767b01d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents:
8
diff
changeset
|
187 </output> |
a87ae767b01d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents:
8
diff
changeset
|
188 </test> |
13
d6dc477167f8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents:
12
diff
changeset
|
189 <test> |
d6dc477167f8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents:
12
diff
changeset
|
190 <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
|
191 <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
|
192 <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
|
193 <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
|
194 </section> |
d6dc477167f8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents:
12
diff
changeset
|
195 <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
|
196 <assert_contents> |
d6dc477167f8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents:
12
diff
changeset
|
197 <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
|
198 </assert_contents> |
d6dc477167f8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents:
12
diff
changeset
|
199 </output> |
d6dc477167f8
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8ad854180e3be0934cdb1f0021886199a2edf9c3"
iuc
parents:
12
diff
changeset
|
200 </test> |
17
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
201 <!--Test absent option--> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
202 <test> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
203 <expand macro="test_using_reference" ref="consensus.fa" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
204 <param name="input_file" ftype="vcf" value="consensus.vcf" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
205 <section name="sec_restrict"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
206 <param name="include" value='TYPE="snp"' /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
207 </section> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
208 <param name="absent" value="W"/> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
209 <output name="output_file"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
210 <assert_contents> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
211 <has_text text="WWWAWAWWAWWWWWWWWCWWWWWWWW" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
212 </assert_contents> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
213 </output> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
214 <assert_command> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
215 <has_text text="--absent" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
216 </assert_command> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
217 </test> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
218 <!--Test mask options --> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
219 <test> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
220 <expand macro="test_using_reference" ref="consensus.fa" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
221 <param name="input_file" ftype="vcf" value="consensus.vcf" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
222 <section name="sec_restrict"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
223 <param name="include" value='TYPE="snp"' /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
224 </section> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
225 <section name="sec_default"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
226 <param name="mark_del" value="DEL"/> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
227 <param name="mark_ins" value="uc"/> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
228 <param name="mark_snv" value="uc"/> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
229 </section> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
230 <output name="output_file"> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
231 <assert_contents> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
232 <has_text text="TACAAAATATGACATATCAAAAAGAACATAACCTACGTATCAACTAAAGTGGTTGTTTGA" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
233 </assert_contents> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
234 </output> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
235 <assert_command> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
236 <has_text text="--mark-del" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
237 <has_text text="--mark-ins" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
238 <has_text text="--mark-snv" /> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
239 </assert_command> |
95c6f3f4c77f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents:
15
diff
changeset
|
240 </test> |
0
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
241 </tests> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
242 <help><![CDATA[ |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
243 ===================================== |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
244 bcftools @EXECUTABLE@ plugin |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
245 ===================================== |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
246 |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
247 |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
248 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
|
249 |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
250 @BCFTOOLS_MANPAGE@#@EXECUTABLE@ |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
251 |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
252 @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
|
253 |
a87ae767b01d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 3c56c04b42c70a072429e4534a136dc28c98b642"
iuc
parents:
8
diff
changeset
|
254 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
|
255 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
|
256 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
|
257 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
|
258 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
|
259 ]]> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
260 </help> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
261 <expand macro="citations" /> |
74b27d899b85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
262 </tool> |