diff SMART/DiffExpAnal/compareOverlapping_parallel.xml @ 31:0ab839023fe4

Uploaded
author m-zytnicki
date Tue, 30 Apr 2013 14:33:21 -0400
parents 94ab73e8a190
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SMART/DiffExpAnal/compareOverlapping_parallel.xml	Tue Apr 30 14:33:21 2013 -0400
@@ -0,0 +1,251 @@
+<tool id="CompareOverlapping_parallel" name="CompareOverlapping (for DEA)">
+	<description>Shrink or extend the sets of genomic coordinates to get the information between starts of reads and starts of genes.</description>
+	<command interpreter="python">
+		compareOverlapping_parallel.py -i $formatType.inputFileName1
+		#if $formatType.FormatInputFileName1 == 'bed':
+			-f bed
+		#elif $formatType.FormatInputFileName1 == 'gff':
+			-f gff	
+		#elif $formatType.FormatInputFileName1 == 'gff2':
+			-f gff2
+		#elif $formatType.FormatInputFileName1 == 'gff3':
+			-f gff3
+		#elif $formatType.FormatInputFileName1 == 'sam':
+			-f sam
+		#elif $formatType.FormatInputFileName1 == 'gtf':
+			-f gtf
+		#end if
+			
+		--inputTxt $inputTxt 
+		
+		-g $format2
+
+		--outTxt $outTxtFile
+
+		#if $optionNFirstFile1.NFirstForFile1 == 'Yes':
+			-S $optionNFirstFile1.firstNtFile1
+		#end if
+		#if $optionNFirstFile2.NFirstForFile2 == 'Yes':
+			-s $optionNFirstFile2.firstNtFile2
+		#end if
+		#if $optionNLastFile1.NLastForFile1 == 'Yes':
+			-U $optionNLastFile1.lastNtFile1
+		#end if
+		#if $optionNLastFile2.NLastForFile2 == 'Yes':
+			-u $optionNLastFile2.lastNtFile2
+		#end if
+	
+		#if $optionExtentionCinqFile1.extentionFile1 == 'Yes':
+			-E $optionExtentionCinqFile1.extention51
+		#end if
+		#if $optionExtentionCinqFile2.extentionFile2 == 'Yes':
+			-e $optionExtentionCinqFile2.extention52
+		#end if
+
+		#if $optionExtentionTroisFile1.extentionFile1 == 'Yes':
+			-N $optionExtentionTroisFile1.extention31
+		#end if
+		#if $optionExtentionTroisFile2.extentionFile2 == 'Yes':
+			-n $optionExtentionTroisFile2.extention32
+		#end if	
+
+		#if $OptionColinearOrAntiSens.OptionCA == 'Colinear':
+			-c 
+		#elif $OptionColinearOrAntiSens.OptionCA == 'AntiSens':
+			-a
+		#end if	
+
+		#if $OptionDistance.Dist == 'Yes':
+			-d $OptionDistance.distance
+		#end if
+
+		#if $OptionMinOverlap.MO == 'Yes':
+			-m $OptionMinOverlap.minOverlap
+		#end if
+
+		$InvertMatch
+		$ReportIntron
+		$NotOverlapping
+		$tar $outputTarFile
+	</command>
+
+	<inputs>
+
+		<conditional name="formatType">
+			<param name="FormatInputFileName1" type="select" label="Input File Format 1">
+				<option value="bed">bed</option>
+				<option value="gff">gff</option>
+				<option value="gff2">gff2</option>
+				<option value="gff3">gff3</option>
+				<option value="sam">sam</option>
+				<option value="gtf">gtf</option>
+			</param>
+			<when value="bed">
+				<param name="inputFileName1" format="bed" type="data" label="Input File 1"/>
+			</when>
+			<when value="gff">
+				<param name="inputFileName1" format="gff" type="data" label="Input File 1"/>
+			</when>
+			<when value="gff2">
+				<param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>
+			</when>
+			<when value="gff3">
+				<param name="inputFileName1" format="gff3" type="data" label="Input File 1"/>
+			</when>
+			<when value="sam">
+				<param name="inputFileName1" format="sam" type="data" label="Input File 1"/>
+			</when>
+			<when value="gtf">
+				<param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>
+            </when>
+		</conditional>
+		
+		<param name="inputTxt" type="data" format="txt" label="A txt file contains a list of several input transcripts files." />
+		
+		<param name="format2" type="text" value="bed" label="format for  File 2, you can choose [bed, gff, gff2, gff3, sam, gtf]"/>
+		
+		<conditional name="optionNFirstFile1">
+			<param name="NFirstForFile1" type="select" label="NFirst for file 1" help="only consider the n first nucleotides of the transcripts in file 1">
+					<option value="Yes">Yes</option>
+					<option value="No" selected="true">No</option>
+			</param>
+			<when value="Yes">
+				<param name="firstNtFile1" type="integer" value="1" label="n first nucleotides for input file 1" />
+			</when>
+			<when value="No">
+			</when>
+		</conditional>
+		<conditional name="optionNFirstFile2">
+			<param name="NFirstForFile2" type="select" label="NFirst for file 2" help="only consider the n first nucleotides of the transcripts in file 2">
+				<option value="Yes">Yes</option>
+				<option value="No" selected="true">No</option>
+			</param>
+			<when value="Yes">
+				<param name="firstNtFile2" type="integer" value="1" label="n first nucleotides for input file 1" />
+			</when>
+			<when value="No">
+			</when>
+		</conditional>
+
+		<conditional name="optionNLastFile1">
+			<param name="NLastForFile1" type="select" label="NLast for file 1">
+					<option value="Yes">Yes</option>
+					<option value="No" selected="true">No</option>
+			</param>
+			<when value="Yes">
+				<param name="lastNtFile1" type="integer" value="1" label="n last nucleotides for input file 1" help="only consider the n last nucleotides of the transcripts in file 1"/>
+			</when>
+			<when value="No">
+			</when>
+		</conditional>
+		<conditional name="optionNLastFile2">
+			<param name="NLastForFile2" type="select" label="NLast for file 2">
+				<option value="Yes">Yes</option>
+				<option value="No" selected="true">No</option>
+			</param>
+			<when value="Yes">
+				<param name="lastNtFile2" type="integer" value="1" label="n last nucleotides for input file 2" help="only consider the n last nucleotides of the transcripts in file 2"/>
+			</when>
+			<when value="No">
+			</when>
+		</conditional>
+
+		<conditional name="optionExtentionCinqFile1">
+			<param name="extentionFile1" type="select" label="Extension towards 5 for file 1">
+					<option value="Yes">Yes</option>
+					<option value="No" selected="true">No</option>
+			</param>
+			<when value="Yes">
+				<param name="extention51" type="integer" value="1" label="in file 1" />
+			</when>
+			<when value="No">
+			</when>
+		</conditional>
+
+		<conditional name="optionExtentionCinqFile2">
+			<param name="extentionFile2" type="select" label="Extension towards 5 for file 2">
+				<option value="Yes">Yes</option>
+				<option value="No" selected="true">No</option>
+			</param>
+			<when value="Yes">
+				<param name="extention52" type="integer" value="1" label="in file 2"/>
+			</when>
+			<when value="No">
+			</when>
+		</conditional>
+
+		<conditional name="optionExtentionTroisFile1">
+			<param name="extentionFile1" type="select" label="Extension towards 3 for file 1">
+					<option value="Yes">Yes</option>
+					<option value="No" selected="true">No</option>
+			</param>
+			<when value="Yes">
+				<param name="extention31" type="integer" value="1" label="in file 1" />
+			</when>
+			<when value="No">
+			</when>
+		</conditional>
+
+		<conditional name="optionExtentionTroisFile2">
+			<param name="extentionFile2" type="select" label="Extension towards 3 for file 2">
+				<option value="Yes">Yes</option>
+				<option value="No" selected="true">No</option>
+			</param>
+			<when value="Yes">
+				<param name="extention32" type="integer" value="1" label="in file 2" />
+			</when>
+			<when value="No">
+			</when>
+		</conditional>
+
+		<conditional name="OptionColinearOrAntiSens">
+			<param name="OptionCA" type="select" label="Colinear or anti-sens">
+				<option value="Colinear">Colinear</option>
+				<option value="AntiSens">AntiSens</option>
+				<option value="NONE" selected="true">NONE</option>
+			</param>
+			<when value="Colinear">
+			</when>
+			<when value="AntiSens">
+			</when>
+			<when value="NONE">
+			</when>
+		</conditional>
+
+		<conditional name="OptionDistance">
+			<param name="Dist" type="select" label="Maximum Distance between two reads">
+				<option value="Yes">Yes</option>
+				<option value="No" selected="true">No</option>
+			</param>
+			<when value="Yes">
+				<param name="distance" type="integer" value="0"/>
+			</when>
+			<when value="No">
+			</when>
+		</conditional>
+
+		<conditional name="OptionMinOverlap">
+			<param name="MO" type="select" label="Minimum number of overlapping between two reads">
+				<option value="Yes">Yes</option>
+				<option value="No" selected="true">No</option>
+			</param>
+			<when value="Yes">
+				<param name="minOverlap" type="integer" value="1"/>
+			</when>
+			<when value="No">
+			</when>
+		</conditional>
+		<param name="InvertMatch" type="boolean" truevalue="-x" falsevalue="" checked="false" label="Invert match"/>
+		<param name="ReportIntron" type="boolean" truevalue="-t" falsevalue="" checked="false" label="Report intron"/>
+		<param name="NotOverlapping" type="boolean" truevalue="-O" falsevalue="" checked="false" label="When there is no overlapping, the number of Overlapping will be set to 0 by defalt."/>
+		<param name="tar" type="boolean" truevalue="--tar" falsevalue="" checked="false" label="tar option" help="This option creates a tar file for all out results." />
+	</inputs>
+
+	<outputs>
+		<data name="outTxtFile" format="txt" label="overlapping output files "/>
+		<data name="outputTarFile" format="tar">
+		  <filter>tar</filter>
+	  </data>
+	</outputs> 
+	
+</tool>