Mercurial > repos > devteam > vcffilter
diff vcffilter.xml @ 8:81972652519c draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcffilter commit 393a497b224cd86285052e5ca2f41edc01125503
author | iuc |
---|---|
date | Tue, 07 May 2019 12:01:04 -0400 |
parents | eae7c08ebb6f |
children | fa24bf0598f4 |
line wrap: on
line diff
--- a/vcffilter.xml Thu May 02 18:33:46 2019 -0400 +++ b/vcffilter.xml Tue May 07 12:01:04 2019 -0400 @@ -1,4 +1,4 @@ -<tool id="vcffilter2" name="VCFfilter:" version="@WRAPPER_VERSION@+galaxy2"> +<tool id="vcffilter2" name="VCFfilter:" version="@WRAPPER_VERSION@+galaxy3"> <description>filter VCF data in a variety of attributes</description> <macros> <import>macros.xml</import> @@ -35,7 +35,7 @@ <option value="-f">Info filter (-f)</option> <option value="-g">Genotype filter (-g)</option> </param> - <param name="filter_value" type="text" value="DP > 10" label="Specify filterting value" help="See explanation of filtering options below"> + <param name="filter_value" type="text" value="DP > 10" label="Specify filtering value" help="See explanation of filtering options below"> <sanitizer> <valid initial="string.printable"> <remove value="'"/> @@ -46,6 +46,7 @@ <add source=""" target=""/> </mapping> </sanitizer> + <validator type="expression" message="Invalid operator provided, valid operators are =, !, <, >, |, &.">value is not None and not any(x in value for x in ["<=", "=<", ">=", "=>"])</validator> </param> </repeat> <param name="filter_sites" argument="--filter-sites" type="boolean" truevalue="--filter-sites" falsevalue="" label="Filter entire records, not just alleles"/> @@ -67,6 +68,13 @@ <param name="input1" value="vcflib.vcf"/> <output name="out_file1" file="vcffilter-test1.vcf"/> </test> + <test> + <param name="filter_repeat_0|filter_type" value="-f"/> + <param name="filter_repeat_0|filter_value" value="!( DP > 10 )"/> + <param name="invert" value="true"/> + <param name="input1" value="vcflib.vcf"/> + <output name="out_file1" file="vcffilter-test2.vcf"/> + </test> </tests> <help><![CDATA[ You can specify the following options within the **Specify filtering expression** box in any combination::