view SMART/galaxy/WrappGetLetterDistribution.xml @ 8:4dded8b1fbc4

Deleted selected files
author m-zytnicki
date Fri, 18 Jan 2013 09:01:47 -0500
parents 769e306b7933
children 440ceca58672
line wrap: on
line source

<tool id="getLetterDistribution1" name="Get Letter Distribution">
    <description>Calculate distribution for each nucleotide per position for all short reads (S-MART)</description>
    <command interpreter="python">
	    WrappGetLetterDistribution.py -i $inputFileName
	#if $formatType.FormatInputFileName == 'fasta':
		-f fasta
	#else :
		-f fastq
	#end if
	-c $ouputFileNameCSV -a $ouputFileNamePNG1 -b $ouputFileNamePNG2
    </command>
    <inputs>
             <conditional name="formatType">
      			<param name="FormatInputFileName" type="select" label="Input File Format">
	        		<option value="fasta">fasta</option>
       				<option value="fastq" selected="true">fastq</option>
      			</param>
      			<when value="fasta">
             			<param name="inputFileName" format="fasta" type="data" label="Fasta Input File"/>
      			</when>
      			<when value="fastq">
             			<param name="inputFileName" format="fastq" type="data" label="Fastq Input File"/>
      			</when>
             </conditional>
    </inputs>
        
    <outputs>
               	<data name="ouputFileNameCSV" format="tabular" label="[getLetterDistribution] CSV File"/>
               	<data name="ouputFileNamePNG1" format="png" label="[getLetterDistribution] PNG File 1"/>
               	<data name="ouputFileNamePNG2" format="png" label="[getLetterDistribution] PNG File 2"/>
    </outputs> 
</tool>