view wgmlst_msa.xml @ 2:4394da33d837 draft default tip

planemo upload for repository https://github.com/bvalot/pyMLST commit 142042a3856f8886031cacaa4fb28743a1bcd540
author bvalot
date Wed, 15 Nov 2023 12:22:07 +0000
parents 5b2c48fa0175
children
line wrap: on
line source

<tool id="wgmlst_msa_wrapper" name="MSA of cg/wgMLST database"
	  version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05">
  <description></description>
  <macros>
    <import>macro.xml</import>
  </macros>
  <expand macro="requirements" />
  <stdio>
    <exit_code range="1:" level="fatal" />
  </stdio>
  <version_command>wgMLST -v</version_command>
  <command>
    wgMLST msa
	#if str($genes)
	  -f '${genes}'
	#end if
	#if $realign
	  --realign
	#end if  
	'${database}' > '${msa}'
	#if $log
    2> '${logfile}'
    #end if
  </command>
  <inputs>
	<param name="database" type="data"
           format="sqlite"
           label="cg/wgMLST database"
           help="Sqlite format from cg/wgMLST database" />
	<param name="genes" type="data"
           format="txt"
           label="Genes list"
           help="File containing list of genes to extract" />
	<param name="realign" type="boolean" checked="false"
           label="Realign genes with same length" />
	<param name="log" type="boolean" checked="false"
           label="Write log file" /> 
  </inputs>
  <outputs>
    <data name="logfile" format="txt" label="Sequence of
											 ${database.name}: log">
	  <filter>log</filter>
	</data>
	<data name="msa" format="fasta" label="MSA of ${database.name}: fasta" />
  </outputs>
  <tests>
	<test expect_num_outputs="1">
      <param name="database" value="wgmlst_ecoli.db" />
	  <param name="genes" value="wgmlst_ecoli.db.gene" />
	  <param name="realign" value="true" />
      <output name="msa" ftype="fasta" file="wgmlst_ecoli.db.msa" />
    </test>
  </tests>
  <help>
**What it does**

Compute Multiple Sequence Alignment from a wgMLST DATABASE

**Options**

  -f, --file FILENAME    File containing list of coregenes to extract
                         (default:all coregenes).
  -r, --realign          Realign genes with same length (Default:No).

**License and citation**

This Galaxy tool is Copyright © 2022 `B. Valot` and is released under the `GPL3 license`.
  </help>
  <citations>
  </citations>
</tool>