Mercurial > repos > iuc > snipit
diff snipit.xml @ 2:92b9fd5f1f9f draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
author | iuc |
---|---|
date | Sat, 27 Jan 2024 23:29:55 +0000 |
parents | 9f23fe0cb70b |
children |
line wrap: on
line diff
--- a/snipit.xml Fri Oct 28 20:58:45 2022 +0000 +++ b/snipit.xml Sat Jan 27 23:29:55 2024 +0000 @@ -1,18 +1,22 @@ <tool id="snipit" name="snipit" version="@TOOL_VERSION@+galaxy0"> <description>Summarise snps relative to a reference sequence</description> <macros> - <token name="@TOOL_VERSION@">1.0.7</token> + <token name="@TOOL_VERSION@">1.2</token> <xml name="handle_background" tokens="format"> <when value="@FORMAT@"> <param argument="--solid-background" name="transparent_background" type="boolean" truevalue="" falsevalue="--solid-background" label="Plot on transparent background?" /> </when> </xml> </macros> + <xrefs> + <xref type="bio.tools">snipit</xref> + </xrefs> <requirements> <requirement type="package" version="@TOOL_VERSION@">snipit</requirement> </requirements> + <version_command>snipit -v</version_command> <command detect_errors="exit_code"><![CDATA[ - MPLCONFIGDIR=.matplotlib snipit '$alignment' + snipit '$alignment' #if str($ref.select) == 'by_id' -r '$ref.id' #end if @@ -35,6 +39,7 @@ #end if $dims.size_option $style.flip_vertical + $show_indels #if len($pos_restrict.include_positions) --include-positions #for $p in $pos_restrict.include_positions @@ -61,10 +66,14 @@ -c $style.colouring.palette #end if ]]></command> + <environment_variables> + <environment_variable name="MPLCONFIGDIR">.matplotlib</environment_variable> + </environment_variables> <inputs> <param name="alignment" format="fasta" type="data" label="Input alignment fasta file" /> <conditional name="ref"> - <param name="select" type="select" label="The reference sequence ..."> + <param name="select" type="select" label="The reference sequence ..." + help="Please note that you will HAVE to specify the reference explicitly via its ID if you choose the 'recombinant mutations colouring' scheme and in this case the reference can NOT be one of the recombinant parents."> <option value="first">is the first sequence in the input</option> <option value="by_id">should be picked via its ID</option> </param> @@ -167,6 +176,7 @@ <option value="" selected="true">scale</option> </param> </section> + <param argument="--show-indels" type="boolean" truevalue="--show-indels" falsevalue="" label="Try to plot indels" help="This is newly introduced functionality for which you may encounter bugs still." /> <param argument="--write-snps" type="boolean" truevalue="-s" falsevalue="" label="Write out SNPs?" help="Produces extra CSV output with lists of SNPs per sequence in the alignment if enabled." /> </inputs> <outputs> @@ -279,6 +289,10 @@ </test> <test expect_num_outputs="1"> <param name="alignment" value="input.fasta" /> + <conditional name="ref"> + <param name="select" value="by_id" /> + <param name="id" value="reference" /> + </conditional> <section name="style"> <conditional name="colouring"> <param name="palette" value="" />