Mercurial > repos > iuc > snpeff
diff snpEff.xml @ 28:6322be79bd8e draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 4bc3ef84687aa6a39f79c2497a5800a9718825cd
author | iuc |
---|---|
date | Sat, 28 Sep 2024 16:27:56 +0000 |
parents | 5b80f544c67f |
children | ca2b512e8d7c |
line wrap: on
line diff
--- a/snpEff.xml Wed Nov 22 19:44:16 2023 +0000 +++ b/snpEff.xml Sat Sep 28 16:27:56 2024 +0000 @@ -159,9 +159,6 @@ </when> <when value="history"> <param name="snpeff_db" type="data" format="snpeffdb" label="@SNPEFF_VERSION@ Genome Data"> - <options options_filter_attribute="metadata.snpeff_version" > - <filter type="add_value" value="@SNPEFF_VERSION@" /> - </options> <validator type="expression" message="This version of SnpEff will only work with @SNPEFF_VERSION@ genome databases">value is not None and value.metadata.snpeff_version == "@SNPEFF_VERSION@"</validator> </param> <section name="reg_section" expanded="false" title="Regulation options"> @@ -181,9 +178,6 @@ </when> <when value="custom"> <param name="snpeff_db" type="data" format="snpeffdb" label="@SNPEFF_VERSION@ Genome Data"> - <options options_filter_attribute="metadata.snpeff_version" > - <filter type="add_value" value="@SNPEFF_VERSION@" /> - </options> <validator type="expression" message="This version of SnpEff will only work with @SNPEFF_VERSION@ genome databases">value is not None and value.metadata.snpeff_version == "@SNPEFF_VERSION@"</validator> </param> <param name="codon_table" type="select" label="Select genetic code for this sequence" help="If this sequence uses non-standard genetic code, select one from these options"> @@ -364,30 +358,35 @@ </change_format> </data> <data name="statsFile" format="html" label="${tool.name} on ${on_string} - HTML stats"> - <filter>generate_stats == True</filter> + <filter>generate_stats</filter> </data> <data name="csvFile" format="csv" label="${tool.name} on ${on_string} - CSV stats"> - <filter>csvStats == True</filter> + <filter>csvStats</filter> </data> </outputs> <tests> - <test> + <test expect_num_outputs="2"> <param name="input" ftype="vcf" value="input.vcf"/> <param name="inputFormat" value="vcf"/> <param name="outputFormat" value="vcf"/> <param name="genomeSrc" value="named"/> <param name="genome_version" value="ebola_zaire"/> <param name="udLength" value="0"/> - <param name="generate_stats" value="false"/> + <param name="generate_stats" value="true"/> <output name="snpeff_output"> <assert_contents> <has_text_matching expression="KJ660346\t572\t.*missense_variant" /> <has_text_matching expression="KJ660346\t1024\t.*synonymous_variant" /> </assert_contents> </output> + <output name="statsFile"> + <assert_contents> + <has_text text="<b>"/> + </assert_contents> + </output> </test> <!-- Test interval option--> - <test> + <test expect_num_outputs="2"> <param name="input" ftype="vcf" value="input.vcf"/> <param name="inputFormat" value="vcf"/> <param name="outputFormat" value="vcf"/> @@ -396,12 +395,19 @@ <param name="genome_version" value="ebola_zaire"/> <param name="udLength" value="0"/> <param name="generate_stats" value="false"/> + <param name="csvStats" value="true"/> <output name="snpeff_output"> <assert_contents> <has_text_matching expression="KJ660346\t572\t.*missense_variant" /> <has_text_matching expression="KJ660346\t1024\t.*synonymous_variant" /> </assert_contents> </output> + <output name="csvFile"> + <assert_contents> + <has_n_lines n="185"/> + <has_n_columns n="1" sep=","/> + </assert_contents> + </output> </test> </tests> <help><![CDATA[