annotate bcftools_plugin_split_vep.xml @ 3:91c5e4de195a 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:13:57 +0000
parents 70276425d001
children 7b71281eb0ca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
1 <?xml version='1.0' encoding='utf-8'?>
1
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
2 <tool name="bcftools @EXECUTABLE@" id="bcftools_plugin_@PLUGIN_ID@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
0
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
3 <description>plugin Extracts fields from structured annotations such as INFO/CSQ</description>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
4 <macros>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
5 <token name="@EXECUTABLE@">split-vep</token>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
6 <token name="@PLUGIN_ID@">split_vep</token>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
7 <import>macros.xml</import>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
8 </macros>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
9 <expand macro="bio_tools" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
10 <expand macro="requirements" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
11 <expand macro="version_command" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
12 <command detect_errors="aggressive"><![CDATA[
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
13 @PREPARE_ENV@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
14 @PREPARE_INPUT_FILE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
15 #set $section = $sec_restrict
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
16 @PREPARE_TARGETS_FILE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
17 @PREPARE_REGIONS_FILE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
18
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
19 bcftools plugin @EXECUTABLE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
20 ## VCF input section
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
21 #set $section = $sec_restrict
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
22 @INCLUDE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
23 @EXCLUDE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
24 @REGIONS@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
25 @TARGETS@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
26
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
27 @OUTPUT_TYPE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
28
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
29 ## Primary Input/Outputs
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
30 @INPUT_FILE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
31 ## Plugin options
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
32 ## ToDo: Parameters not wrapped yet: -A, -f (not for BCF/VCF output!), -l, -S, -x
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
33 -a '$a'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
34 -c '$c'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
35 $d
1
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
36 $allow_undef_tags
0
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
37 #if $p:
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
38 -p '$p'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
39 #end if
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
40 #if $s:
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
41 -s '$s'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
42 #end if
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
43 > '$output_file'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
44 ]]>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
45 </command>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
46 <inputs>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
47 <expand macro="macro_input" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
48 <param argument="-a" type="text" value="CSQ" label="Select INFO annotation to parse" help="Usually, annotations are located in the CSQ, ANN or EFF INFO field, though any arbitrary tag may be entered here." />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
49 <param argument="-c" type="text" label="Enter fields to be extracted, listed either as indexes or names" help="The default type of the new annotation is String but can be also set to Integer/Int or Float/Real by adding ':type' to the field name or index. Examples can be found in the tool help." />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
50 <param argument="-d" type="boolean" label="Enable Output per transcript/allele consequences on a new line rather rather than as comma-separated fields on a single line" truevalue="-d" falsevalue="" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
51 <param argument="-p" type="text" optional="true" label="Enter prefix of INFO annotations to be created after splitting the CSQ string (optional)" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
52 <param argument="-s" type="text" optional="true" label="Select transcripts to extract by type and/or consequence (optional)" help="Argument has the form TR:CSQ. TR = transcript: worst,primary,all (default: all). CSQ = consequence: any,missense,missense+,etc (default: any). Examples can be found in the tool help." />
1
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
53 <param argument="--allow-undef-tags" type="boolean" truevalue="--allow-undef-tags" falsevalue="" checked="false" label="Allow undefined tags" help='Print "." for undefined tags' />
0
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
54 <section name="sec_restrict" expanded="false" title="Restrict to">
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
55 <expand macro="macro_restrict" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
56 <expand macro="macro_restrict" type="target" label_type="Target" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
57 <expand macro="macro_include" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
58 <expand macro="macro_exclude" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
59 </section>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
60 <expand macro="macro_select_output_type" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
61 </inputs>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
62 <outputs>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
63 <expand macro="macro_vcf_output" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
64 </outputs>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
65 <tests>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
66 <test>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
67 <param name="input_file" ftype="vcf" value="plugin2.vcf" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
68 <param name="a" value="ANN" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
69 <param name="c" value="IMPACT,gnomAD_AF:Float" />
1
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
70 <!-- <param name="p" value="NW_"/> This parameter trigger core dump error -->
0
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
71 <param name="s" value="worst" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
72 <param name="output_type" value="v" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
73 <output name="output_file" ftype="vcf">
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
74 <assert_contents>
1
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
75 <has_line_matching expression="##INFO=&lt;ID=IMPACT,.+" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
76 <has_line_matching expression="##INFO=&lt;ID=gnomAD_AF,.+" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
77 <has_line_matching expression=".+IMPACT=MODERATE;gnomAD_AF=0\.08.+" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
78 <has_line_matching expression=".+IMPACT=LOW;gnomAD_AF=0\.9443.+" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
79 <has_line_matching expression=".+IMPACT=MODIFIER;gnomAD_AF=\..+" />
0
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
80 </assert_contents>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
81 </output>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
82 </test>
1
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
83 <!-- Test allow undefined tags option -->
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
84 <test>
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
85 <param name="input_file" ftype="vcf" value="plugin2.vcf" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
86 <param name="a" value="ANN" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
87 <param name="c" value="IMPACT,gnomAD_AF:Float" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
88 <!-- <param name="p" value="NW_"/> This parameter trigger core dump error -->
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
89 <param name="s" value="worst" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
90 <param name="allow_undef_tags" value="true"/>
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
91 <param name="output_type" value="v" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
92 <output name="output_file" ftype="vcf">
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
93 <assert_contents>
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
94 <has_line_matching expression="##INFO=&lt;ID=IMPACT,.+" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
95 <has_line_matching expression="##INFO=&lt;ID=gnomAD_AF,.+" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
96 <has_line_matching expression=".+IMPACT=MODERATE;gnomAD_AF=0\.08.+" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
97 <has_line_matching expression=".+IMPACT=LOW;gnomAD_AF=0\.9443.+" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
98 <has_line_matching expression=".+IMPACT=MODIFIER;gnomAD_AF=\..+" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
99 </assert_contents>
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
100 </output>
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
101 <assert_command>
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
102 <has_text text="--allow-undef-tags" />
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
103 </assert_command>
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
104 </test>
0
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
105 </tests>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
106 <help><![CDATA[
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
107 =====================================
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
108 bcftools @EXECUTABLE@ plugin
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
109 =====================================
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
110
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
111 This plugin allows to extract fields from structured annotations such as ``INFO/CSQ`` created by bcftools/csq or VEP. These fields are then added to the VCF as new ``INFO`` fields.
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
112
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
113 Examples::
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
114
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
115 # Extract Consequence, IMPACT and gene SYMBOL of the most severe consequence into
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
116 # INFO annotations starting with the prefix "vep". For brevity, the columns can
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
117 # be given also as 0-based indexes
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
118 bcftools +split-vep -c Consequence,IMPACT,SYMBOL -s worst -p vep file.vcf.gz
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
119 bcftools +split-vep -c 1-3 -s worst -p vep file.vcf.gz
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
120
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
121 # Extract gnomAD_AF subfield into a new INFO/gnomAD_AF annotation of Type=Float so that
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
122 # numeric filtering can be used.
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
123 bcftools +split-vep -c gnomAD_AF:Float file.vcf.gz -i 'gnomAD_AF<0.001'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
124
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
125 # Similar to above, but add the annotation only if the consequence severity is missense
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
126 # or equivalent.
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
127 bcftools +split-vep -c gnomAD_AF:Float -s :missense file.vcf.gz
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
128
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
129 @REGIONS_HELP@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
130 @TARGETS_HELP@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
131 @EXPRESSIONS_HELP@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
132
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
133 ]]></help>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
134 <expand macro="citations" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
135 </tool>