view convert.xml @ 0:37392af48c37 draft default tip

Uploaded
author izsam
date Thu, 19 Mar 2015 11:46:50 -0400
parents
children
line wrap: on
line source

<tool id="phylogeny_converter" name="phylogeny_converter">
	<description></description>
	  <command interpreter="python">
		converter.py $input $output $filetype.inouttype $filetype.type
	  </command>
	<inputs>
        <conditional name="filetype">
                <param name="type" type="select" label="is this a multi-sequence file?">
                    <option value="multi">Multi sequence</option>
                    <option value="single">Single sequence</option>
                </param>
                <when value="single">
	                <param name="input" type="data" label="Original sigle sequence file"/>
                	<param name="inouttype" type="select" label="conversion">
                    		<option value="f-g">Fasta to GenBank</option>
                    		<option value="g-f">GenBank to Fasta</option>
                	</param>
                </when>
                <when value="multi">
	        	<param name="input" type="data" label="Original multi sequence file" help="Please note that Phylip and nexus limit sequence names to a maximum of 10 characters"/>
                	<param name="inouttype" type="select" label="conversion">
                	    <option value="f-g">Fasta to GenBank</option>
                	    <option value="g-f">GenBank to Fasta</option>
                	    <option value="f-p">Fasta to Phylip</option>
                	    <option value="f-n">Fasta to Nexus</option>
                	    <option value="p-f">Phylip to Fasta</option>
			    <option value="p-n">Phylip to Nexus</option>
			    <option value="n-p">Nexus to Phylip</option>
			    <option value="n-f">Nexus to Fasta</option>
                	</param>
                </when>
        </conditional>
	</inputs>
	<outputs>
		<data name="output" format="tabular"/>
	</outputs>
	<help>

What it does

This tool converts different file formats to allow the data-exchange from different philogeny tools.

Developed by 
Iolanda Mangone

	</help>
</tool>