annotate bcftools_plugin_split_vep.xml @ 7:7b71281eb0ca draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 784611c9caf2680d41414ca2880b93a69d719701
author iuc
date Sun, 18 Aug 2024 10:04:02 +0000
parents 70276425d001
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
1 <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
2 <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
3 <macros>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
4 <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
5 <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
6 <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
7 </macros>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
8 <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
9 <expand macro="requirements" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
10 <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
11 <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
12 @PREPARE_ENV@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
13 @PREPARE_INPUT_FILE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
14 #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
15 @PREPARE_TARGETS_FILE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
16 @PREPARE_REGIONS_FILE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
17
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
18 bcftools plugin @EXECUTABLE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
19 ## VCF input section
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
20 #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
21 @INCLUDE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
22 @EXCLUDE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
23 @REGIONS@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
24 @TARGETS@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
25
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
26 @OUTPUT_TYPE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
27
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
28 ## Primary Input/Outputs
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
29 @INPUT_FILE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
30 ## Plugin options
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
31 ## 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
32 -a '$a'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
33 -c '$c'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
34 $d
1
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
35 $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
36 #if $p:
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
37 -p '$p'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
38 #end if
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
39 #if $s:
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
40 -s '$s'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
41 #end if
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
42 > '$output_file'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
43 ]]>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
44 </command>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
45 <inputs>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
46 <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
47 <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
48 <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
49 <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
50 <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
51 <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
52 <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
53 <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
54 <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
55 <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
56 <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
57 <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
58 </section>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
59 <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
60 </inputs>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
61 <outputs>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
62 <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
63 </outputs>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
64 <tests>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
65 <test>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
66 <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
67 <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
68 <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
69 <!-- <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
70 <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
71 <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
72 <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
73 <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
74 <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
75 <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
76 <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
77 <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
78 <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
79 </assert_contents>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
80 </output>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
81 </test>
1
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
82 <!-- 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
83 <test>
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
84 <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
85 <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
86 <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
87 <!-- <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
88 <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
89 <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
90 <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
91 <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
92 <assert_contents>
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
93 <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
94 <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
95 <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
96 <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
97 <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
98 </assert_contents>
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
99 </output>
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
100 <assert_command>
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
101 <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
102 </assert_command>
70276425d001 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 0
diff changeset
103 </test>
0
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
104 </tests>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
105 <help><![CDATA[
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
106 =====================================
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
107 bcftools @EXECUTABLE@ plugin
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
108 =====================================
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 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
111
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
112 Examples::
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
113
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
114 # 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
115 # 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
116 # 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
117 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
118 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
119
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
120 # 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
121 # 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
122 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
123
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
124 # 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
125 # or equivalent.
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
126 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
127
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
128 @REGIONS_HELP@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
129 @TARGETS_HELP@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
130 @EXPRESSIONS_HELP@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
131
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
132 ]]></help>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
133 <expand macro="citations" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
134 </tool>