view SMART/galaxy/trimAdaptor.xml @ 9:1eb55963fe39

Updated CompareOverlappingSmall*.py
author m-zytnicki
date Thu, 14 Mar 2013 05:23:05 -0400
parents 769e306b7933
children 440ceca58672
line wrap: on
line source

<tool id="trimAdaptor" name="trim adaptors">
  <description>Remove the 3' adaptor of a list of reads.</description>
  <command interpreter="python"> ../Java/Python/trimAdaptor.py -i $inputFile -f fastq
  	-a $adaptor
  	#if $OptionError.Error == "Yes":
		-e $OptionError.ErrorVal
	#end if	
  	$noAdaptor $noAdaptorFile
  	-o $outputFile  
  </command>
  
  
  <inputs>
    <param name="inputFile" type="data" label="Input fastq File" format="fastq"/>
	<param name="adaptor" type="text" value="None" label="adaptor [compulsory option]"/> 
	<conditional name="OptionError">
		<param name="Error" type="select" label="number of errors in percent">
			<option value="Yes">Yes</option>
			<option value="No" selected="true">No</option>
		</param>
		<when value="Yes">
			<param name="ErrorVal" type="integer" value="0" />
		</when>
		<when value="No">
		</when>
	</conditional>	
	<param name="noAdaptor" type="boolean" truevalue="-n" falsevalue="" checked="false" label="log option" help="file name where to print sequences with no adaptor"/>
  </inputs>

  <outputs>
    <data format="fastq" name="outputFile" label="[trimAdaptor] Output File"/>
	<data name="noAdaptorFile" format="fastq" label="[trimAdaptor] Log File">
		<filter>noAdaptor</filter>
	</data>
  </outputs>

  <help>
  </help>
</tool>