Mercurial > repos > jjohnson > snpsift
comparison snpSift_filter.xml @ 6:824f78c0d0df
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit 915e0f28e6bc2701ca8f333d7b30cf399cd6e9da-dirty
author | jjohnson |
---|---|
date | Mon, 25 Jan 2016 17:40:56 -0500 |
parents | baf6602903e1 |
children | c29f29a6f26c |
comparison
equal
deleted
inserted
replaced
4:baf6602903e1 | 6:824f78c0d0df |
---|---|
26 > $output | 26 > $output |
27 ]]> | 27 ]]> |
28 </command> | 28 </command> |
29 <inputs> | 29 <inputs> |
30 <param format="vcf" name="input" type="data" label="Variant input file in VCF format"/> | 30 <param format="vcf" name="input" type="data" label="Variant input file in VCF format"/> |
31 <param name="expr" type="text" label="Filter criteria" size="160" help="Need help? See below a few examples." /> | 31 <param name="expr" type="text" label="Filter criteria" help="Need help? See below a few examples." /> |
32 <param name="inverse" type="boolean" truevalue="--inverse" falsevalue="" checked="false" label="Inverse filter" help="Show lines that do not match filter expression" /> | 32 <param name="inverse" type="boolean" truevalue="--inverse" falsevalue="" checked="false" label="Inverse filter" help="Show lines that do not match filter expression" /> |
33 <conditional name="filtering"> | 33 <conditional name="filtering"> |
34 <param name="mode" type="select" label="Filter mode"> | 34 <param name="mode" type="select" label="Filter mode"> |
35 <option value="entries" selected="true">Retain entries that pass filter, remove other entries</option> | 35 <option value="entries" selected="true">Retain entries that pass filter, remove other entries</option> |
36 <option value="field">Change the FILTER field, but retain all entries</option> | 36 <option value="field">Change the FILTER field, but retain all entries</option> |
40 <conditional name="replace"> | 40 <conditional name="replace"> |
41 <param name="pass" type="boolean" truevalue="yes" falsevalue="no" checked="false" label="Set matching entry FILTER to 'PASS'" | 41 <param name="pass" type="boolean" truevalue="yes" falsevalue="no" checked="false" label="Set matching entry FILTER to 'PASS'" |
42 help="appends an ID tag to non-matching entry FILTER "/> | 42 help="appends an ID tag to non-matching entry FILTER "/> |
43 <when value="no"/> | 43 <when value="no"/> |
44 <when value="yes"> | 44 <when value="yes"> |
45 <param name="filterId" type="text" value="" optional="true" label="ID appended to non-matching (##FILTER tag in header and FILTER VCF field)." size="10" | 45 <param name="filterId" type="text" value="" optional="true" label="ID appended to non-matching (##FILTER tag in header and FILTER VCF field)." |
46 help="Default ID is 'SnpSift'"/> | 46 help="Default ID is 'SnpSift'"/> |
47 </when> | 47 </when> |
48 </conditional> | 48 </conditional> |
49 <param name="addFilter" type="text" value="" optional="true" label="Add a string to FILTER VCF field if 'expression' is true." size="10"/> | 49 <param name="addFilter" type="text" value="" optional="true" label="Add a string to FILTER VCF field if 'expression' is true." /> |
50 <param name="rmFilter" type="text" value="" optional="true" label="Remove a string from FILTER VCF field if 'expression' is true (and 'str' is in the field)." size="10"/> | 50 <param name="rmFilter" type="text" value="" optional="true" label="Remove a string from FILTER VCF field if 'expression' is true (and 'str' is in the field)." /> |
51 </when> | 51 </when> |
52 </conditional> | 52 </conditional> |
53 </inputs> | 53 </inputs> |
54 <configfiles> | 54 <configfiles> |
55 <configfile name="exprFile"> | 55 <configfile name="exprFile"> |
85 </output> | 85 </output> |
86 </test> | 86 </test> |
87 | 87 |
88 <test> | 88 <test> |
89 <param name="input" ftype="vcf" value="test01.vcf"/> | 89 <param name="input" ftype="vcf" value="test01.vcf"/> |
90 <param name="expr" value="(POS >= 20175) & (POS <= 35549)"/> | 90 <param name="expr" value="(POS >= 20175) & (POS < 35549)"/> |
91 <param name="mode" value="entries"/> | 91 <param name="mode" value="entries"/> |
92 <output name="output"> | 92 <output name="output"> |
93 <assert_contents> | 93 <assert_contents> |
94 <has_text text="20175" /> | 94 <has_text text="20175" /> |
95 <has_text text="35549" /> | 95 <has_text text="35549" /> |