Mercurial > repos > iuc > gemini
diff gemini_macros.xml @ 11:53a5647e5271 draft
Uploaded
author | iuc |
---|---|
date | Wed, 18 Feb 2015 11:36:37 -0500 |
parents | 0f1bcedd836f |
children | ce61d4876838 |
line wrap: on
line diff
--- a/gemini_macros.xml Mon Aug 25 16:37:46 2014 -0400 +++ b/gemini_macros.xml Wed Feb 18 11:36:37 2015 -0500 @@ -88,11 +88,17 @@ <xml name="sanitize_query"> <sanitizer invalid_char=""> - <valid initial="string.printable"> - </valid> + <valid initial="string.printable"/> </sanitizer> </xml> + <token name="@CMDLN_SQL_FILTER_FILTER_OPTION@"> + #if str($filter.filter_selector) == 'yes' and $filter.filter: + #import pipes + --filter ${ pipes.quote( str( $filter.filter ) ) or "''" } + #end if + </token> + <xml name="min_sequence_depth"> <param name="d" type="integer" value="0" size="5" label="The minimum aligned sequence depth (genotype DP) required for each sample" help="default: 0 (-d)"> @@ -100,7 +106,7 @@ </param> </xml> - <token name="@VERSION@">0.10.0</token> + <token name="@VERSION@">0.10.1</token> <token name="@CITATION@">------ @@ -115,4 +121,14 @@ <yield /> </citations> </xml> + + <xml name="infile"> + <param name="infile" type="data" format="gemini.sqlite" label="GEMINI database" help="Only files with version @VERSION@ are accepted." > + <options options_filter_attribute="metadata.gemini_version" > + <filter type="add_value" value="@VERSION@" /> + </options> + <validator type="expression" message="This version of Gemini will only work with Gemini files that are for version @VERSION@.">value is not None and value.metadata.gemini_version == "@VERSION@"</validator> + </param> + </xml> + </macros>