Repository 's_mart'
hg clone https://toolshed.g2.bx.psu.edu/repos/yufei-luo/s_mart

Changeset 43:b3f5a1cb4704 (2013-09-18)
Previous changeset 42:2abc37c27164 (2013-09-18) Next changeset 44:5f796c5c579f (2013-09-18)
Commit message:
Deleted selected files
removed:
SMART/galaxy/CompareOverlappingSmallQuery.xml
SMART/galaxy/CompareOverlappingSmallRef.xml
SMART/galaxy/compareOverlapping.xml
b
diff -r 2abc37c27164 -r b3f5a1cb4704 SMART/galaxy/CompareOverlappingSmallQuery.xml
--- a/SMART/galaxy/CompareOverlappingSmallQuery.xml Wed Sep 18 07:45:59 2013 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b
b'@@ -1,203 +0,0 @@\n-<tool id="CompareOverlappingSmallQuery" name="compare overlapping small query">\n-\t<description>Provide the queries that overlap with a reference, when the query data set is small.</description>  \n-\t<requirements>\n-\t\t<requirement type="set_environment">PYTHONPATH</requirement>\n-\t</requirements>\n-\t<command interpreter="python">\n-\t\t../Java/Python/CompareOverlappingSmallQuery.py -i $formatType.inputFileName1 \n-\t\t#if $formatType.FormatInputFileName1 == \'bed\':  \n-\t\t-f bed\n-\t\t#elif $formatType.FormatInputFileName1 == \'gff\':\n-\t\t\t-f gff\t\n-\t\t#elif $formatType.FormatInputFileName1 == \'gff2\':\n-\t\t\t-f gff2\n-\t\t#elif $formatType.FormatInputFileName1 == \'gff3\':\n-\t\t\t-f gff3\n-\t\t#elif $formatType.FormatInputFileName1 == \'sam\':\n-\t\t\t-f sam\n-\t\t#elif $formatType.FormatInputFileName1 == \'gtf\':\n-\t\t\t-f gtf\n-\t\t#end if\n-\t\t-j $formatType2.inputFileName2\n-\t\t#if $formatType2.FormatInputFileName2 == \'bed\':\n-\t\t\t-g bed\n-\t\t#elif $formatType2.FormatInputFileName2 == \'gff\':\n-\t\t\t-g gff\t\n-\t\t#elif $formatType2.FormatInputFileName2 == \'gff2\':\n-\t\t\t-g gff2\n-\t\t#elif $formatType2.FormatInputFileName2 == \'gff3\':\n-\t\t\t-g gff3\n-\t\t#elif $formatType2.FormatInputFileName2 == \'sam\':\n-\t\t\t-g sam\n-\t\t#elif $formatType2.FormatInputFileName2 == \'gtf\':\n-\t\t    -g gtf\n-\t\t#end if\n-\t\t-o $outputFileGff \n-\t\t#if $OptionDistance.Dist == \'Yes\':\n-\t\t\t-d $OptionDistance.distance\n-\t\t#end if\n-\t\t#if $OptionMinOverlap.present == \'Yes\':\n-\t\t\t-m $OptionMinOverlap.minOverlap\n-\t\t#end if\n-\t\t#if $OptionPcOverlapQuery.present == \'Yes\':\n-\t\t\t-p $OptionPcOverlapQuery.minOverlap\n-\t\t#end if\n-\t\t#if $OptionPcOverlapRef.present == \'Yes\':\n-\t\t\t-P $OptionPcOverlapRef.minOverlap\n-\t\t#end if\n-\t\t#if $OptionCollinearOrAntiSens.OptionCA == \'Collinear\':\n-\t\t\t-c \n-\t\t#elif $OptionCollinearOrAntiSens.OptionCA == \'AntiSens\':\n-\t\t\t-a\n-\t\t#end if\t\n-\t\t$InvertMatch\n-\t\t$NotOverlapping\n-\t\t$OptionInclusionQuery\n-\t\t$OptionInclusionRef\n-\t</command>\n-\n-\t<inputs>\n-\t\t<conditional name="formatType">\n-\t\t\t<param name="FormatInputFileName1" type="select" label="Input Query File Format">\n-\t\t\t\t<option value="bed">bed</option>\n-\t\t\t\t<option value="gff">gff</option>\n-\t\t\t\t<option value="gff2">gff2</option>\n-\t\t\t\t<option value="gff3">gff3</option>\n-\t\t\t\t<option value="sam">sam</option>\n-\t\t\t\t<option value="gtf">gtf</option>\n-\t\t\t</param>\n-\t\t\t<when value="bed">\n-\t\t\t\t<param name="inputFileName1" format="bed" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff">\n-\t\t\t\t<param name="inputFileName1" format="gff" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff2">\n-\t\t\t\t<param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff3">\n-\t\t\t\t<param name="inputFileName1" format="gff3" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="sam">\n-\t\t\t\t<param name="inputFileName1" format="sam" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="gtf">\n-\t\t\t\t<param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>\n-\t\t\t\t\t\t\t\t                        </when>\n-\t\t</conditional>\n-\n-\t\t<conditional name="formatType2">\n-\t\t\t<param name="FormatInputFileName2" type="select" label="Input Reference File Format">\n-\t\t\t\t<option value="bed">bed</option>\n-\t\t\t\t<option value="gff">gff</option>\n-\t\t\t\t<option value="gff2">gff2</option>\n-\t\t\t\t<option value="gff3">gff3</option>\n-\t\t\t\t<option value="sam">sam</option>\n-\t\t\t\t<option value="gtf">gtf</option>\n-\t\t\t</param>\n-\t\t\t<when value="bed">\n-\t\t\t\t<param name="inputFileName2" format="bed" type="data" label="Input File 2"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff">\n-\t\t\t\t<param name="inputFileName2" format="gff" type="data" label="Input File 2"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff2">\n-\t\t\t\t<param name="inputFileName2" format="gff2" type="data" label="Input File 2"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff3">\n-\t\t\t\t<param name="inputFileName2" format="gff3" type="data" label="Input File 2"/>\n-\t\t\t</when>\n-\t\t\t<when value="sam">\n-\t\t\t\t<param name="inputFileName2" format="sam" type="data" label="Input File 2"/>\n-\t\t\t</when>\n-\t\t\t<when value="gtf">'..b'\t\t\t</when>\n-\t\t</conditional>\n-\t\t<conditional name="OptionMinOverlap">\n-\t\t\t<param name="present" type="select" label="Minimum number of common nucleotides to declare an overlap">\n-\t\t\t\t<option value="Yes">Yes</option>\n-\t\t\t\t<option value="No" selected="true">No</option>\n-\t\t\t</param>\n-\t\t\t<when value="Yes">\n-\t\t\t\t<param name="minOverlap" type="integer" value="0"/>\n-\t\t\t</when>\n-\t\t\t<when value="No">\n-\t\t\t</when>\n-\t\t</conditional>\n-\t\t<conditional name="OptionPcOverlapQuery">\n-\t\t\t<param name="present" type="select" label="N% of the query must overlap">\n-\t\t\t\t<option value="Yes">Yes</option>\n-\t\t\t\t<option value="No" selected="true">No</option>\n-\t\t\t</param>\n-\t\t\t<when value="Yes">\n-\t\t\t\t<param name="minOverlap" type="integer" value="0"/>\n-\t\t\t</when>\n-\t\t\t<when value="No">\n-\t\t\t</when>\n-\t\t</conditional>\n-\t\t<conditional name="OptionPcOverlapRef">\n-\t\t\t<param name="present" type="select" label="N% of the reference must overlap">\n-\t\t\t\t<option value="Yes">Yes</option>\n-\t\t\t\t<option value="No" selected="true">No</option>\n-\t\t\t</param>\n-\t\t\t<when value="Yes">\n-\t\t\t\t<param name="minOverlap" type="integer" value="0"/>\n-\t\t\t</when>\n-\t\t\t<when value="No">\n-\t\t\t</when>\n-\t\t</conditional>\n-\t\t<param name="OptionInclusionQuery" type="boolean" truevalue="-k" falsevalue="" checked="false" label="The query must be nested in a query"/>\n-\t\t<param name="OptionInclusionRef" type="boolean" truevalue="-K" falsevalue="" checked="false" label="The reference must be nested in a query"/>\n-\t\t<conditional name="OptionCollinearOrAntiSens">\n-\t\t\t<param name="OptionCA" type="select" label="Collinear or anti-sens">\n-\t\t\t\t<option value="Collinear">Collinear</option>\n-\t\t\t\t<option value="AntiSens">AntiSens</option>\n-\t\t\t\t<option value="NONE" selected="true">NONE</option>\n-\t\t\t</param>\n-\t\t\t<when value="Collinear">\n-\t\t\t</when>\n-\t\t\t<when value="AntiSens">\n-\t\t\t</when>\n-\t\t\t<when value="NONE">\n-\t\t\t</when>\n-\t\t</conditional>\n-\t\t<param name="InvertMatch" type="boolean" truevalue="-x" falsevalue="" checked="false" label="Invert match: the output file will contain all query elements which do NOT overlap"/>\n-\t\t<param name="NotOverlapping" type="boolean" truevalue="-O" falsevalue="" checked="false" label="Also report the query data which do not overlap, with the nbOverlaps tag set to 0."/>\n-\t</inputs>\n-\n-\t<outputs>\n-\t\t<data name="outputFileGff" format="gff3"/>\n-\t</outputs> \n-\n-\t<help>\n-This script may be the most important one. It basically compares two sets of transcripts and keeps those from the first set which overlap with the second one. The first set is considered as the query set (basically, your data) and the second one is the reference set (RefSeq data, for example).\n-  \n-It is vital to understand that it will output the elements of the first file which overlap with the elements of the second one.\n-\n-Various modifiers are also available:\n-\n--Invert selection (report those which do not overlap).\n-\n--Restrict to colinear / anti-sense overlapping data.\n-\n--Keep the query data even if they do not strictly overlap with the reference data, but are located not further away than *n* nucleotide from some reference data.\n-\n--Keep the query data with are strictly included into reference data, meaning that a query transcript such that at least 1 nucleotide does not overlap with reference data will not be presented as a solution.\n-\n-The mechanism of shrinking and extending is also useful to make a fine grain comparison. For example, if you want to keep those such that the TSS is overlapping the reference set, you just shrink the query set to 1 nucleotide. Now, if you want to keep those which are overlapping you data or located 2kb downstream of it, just extend the query data in the downstream direction, and you will have what you want. You can also extend in the opposite direction to get the possible transcript factor sites which are upstream.\n-\n-Some option reverses the selection. Put in other words, it performs the comparison as usual, and outputs all those query data which do not overlap.\n-\t</help>\n-</tool>\n'
b
diff -r 2abc37c27164 -r b3f5a1cb4704 SMART/galaxy/CompareOverlappingSmallRef.xml
--- a/SMART/galaxy/CompareOverlappingSmallRef.xml Wed Sep 18 07:45:59 2013 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b
b'@@ -1,203 +0,0 @@\n-<tool id="CompareOverlappingSmallRef" name="compare overlapping small reference">\n-\t<description>Provide the queries that overlap with a reference, when the reference dataset is small.</description>  \n-\t<requirements>\n-\t\t<requirement type="set_environment">PYTHONPATH</requirement>\n-\t</requirements>\n-\t<command interpreter="python">\n-\t\t../Java/Python/CompareOverlappingSmallQuery.py -i $formatType.inputFileName1 \n-\t\t#if $formatType.FormatInputFileName1 == \'bed\':  \n-\t\t-f bed\n-\t\t#elif $formatType.FormatInputFileName1 == \'gff\':\n-\t\t\t-f gff\t\n-\t\t#elif $formatType.FormatInputFileName1 == \'gff2\':\n-\t\t\t-f gff2\n-\t\t#elif $formatType.FormatInputFileName1 == \'gff3\':\n-\t\t\t-f gff3\n-\t\t#elif $formatType.FormatInputFileName1 == \'sam\':\n-\t\t\t-f sam\n-\t\t#elif $formatType.FormatInputFileName1 == \'gtf\':\n-\t\t\t-f gtf\n-\t\t#end if\n-\t\t-j $formatType2.inputFileName2\n-\t\t#if $formatType2.FormatInputFileName2 == \'bed\':\n-\t\t\t-g bed\n-\t\t#elif $formatType2.FormatInputFileName2 == \'gff\':\n-\t\t\t-g gff\t\n-\t\t#elif $formatType2.FormatInputFileName2 == \'gff2\':\n-\t\t\t-g gff2\n-\t\t#elif $formatType2.FormatInputFileName2 == \'gff3\':\n-\t\t\t-g gff3\n-\t\t#elif $formatType2.FormatInputFileName2 == \'sam\':\n-\t\t\t-g sam\n-\t\t#elif $formatType2.FormatInputFileName2 == \'gtf\':\n-\t\t    -g gtf\n-\t\t#end if\n-\t\t-o $outputFileGff \n-\t\t#if $OptionDistance.Dist == \'Yes\':\n-\t\t\t-d $OptionDistance.distance\n-\t\t#end if\n-\t\t#if $OptionMinOverlap.present == \'Yes\':\n-\t\t\t-m $OptionMinOverlap.minOverlap\n-\t\t#end if\n-\t\t#if $OptionPcOverlapQuery.present == \'Yes\':\n-\t\t\t-p $OptionPcOverlapQuery.minOverlap\n-\t\t#end if\n-\t\t#if $OptionPcOverlapRef.present == \'Yes\':\n-\t\t\t-P $OptionPcOverlapRef.minOverlap\n-\t\t#end if\n-\t\t#if $OptionCollinearOrAntiSens.OptionCA == \'Collinear\':\n-\t\t\t-c \n-\t\t#elif $OptionCollinearOrAntiSens.OptionCA == \'AntiSens\':\n-\t\t\t-a\n-\t\t#end if\t\n-\t\t$InvertMatch\n-\t\t$NotOverlapping\n-\t\t$OptionInclusionQuery\n-\t\t$OptionInclusionRef\n-\t</command>\n-\n-\t<inputs>\n-\t\t<conditional name="formatType">\n-\t\t\t<param name="FormatInputFileName1" type="select" label="Input Query File Format">\n-\t\t\t\t<option value="bed">bed</option>\n-\t\t\t\t<option value="gff">gff</option>\n-\t\t\t\t<option value="gff2">gff2</option>\n-\t\t\t\t<option value="gff3">gff3</option>\n-\t\t\t\t<option value="sam">sam</option>\n-\t\t\t\t<option value="gtf">gtf</option>\n-\t\t\t</param>\n-\t\t\t<when value="bed">\n-\t\t\t\t<param name="inputFileName1" format="bed" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff">\n-\t\t\t\t<param name="inputFileName1" format="gff" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff2">\n-\t\t\t\t<param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff3">\n-\t\t\t\t<param name="inputFileName1" format="gff3" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="sam">\n-\t\t\t\t<param name="inputFileName1" format="sam" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="gtf">\n-\t\t\t\t<param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>\n-\t\t\t\t\t\t\t\t                        </when>\n-\t\t</conditional>\n-\n-\t\t<conditional name="formatType2">\n-\t\t\t<param name="FormatInputFileName2" type="select" label="Input Reference File Format">\n-\t\t\t\t<option value="bed">bed</option>\n-\t\t\t\t<option value="gff">gff</option>\n-\t\t\t\t<option value="gff2">gff2</option>\n-\t\t\t\t<option value="gff3">gff3</option>\n-\t\t\t\t<option value="sam">sam</option>\n-\t\t\t\t<option value="gtf">gtf</option>\n-\t\t\t</param>\n-\t\t\t<when value="bed">\n-\t\t\t\t<param name="inputFileName2" format="bed" type="data" label="Input File 2"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff">\n-\t\t\t\t<param name="inputFileName2" format="gff" type="data" label="Input File 2"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff2">\n-\t\t\t\t<param name="inputFileName2" format="gff2" type="data" label="Input File 2"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff3">\n-\t\t\t\t<param name="inputFileName2" format="gff3" type="data" label="Input File 2"/>\n-\t\t\t</when>\n-\t\t\t<when value="sam">\n-\t\t\t\t<param name="inputFileName2" format="sam" type="data" label="Input File 2"/>\n-\t\t\t</when>\n-\t\t\t<when value="'..b'\t\t\t</when>\n-\t\t</conditional>\n-\t\t<conditional name="OptionMinOverlap">\n-\t\t\t<param name="present" type="select" label="Minimum number of common nucleotides to declare an overlap">\n-\t\t\t\t<option value="Yes">Yes</option>\n-\t\t\t\t<option value="No" selected="true">No</option>\n-\t\t\t</param>\n-\t\t\t<when value="Yes">\n-\t\t\t\t<param name="minOverlap" type="integer" value="0"/>\n-\t\t\t</when>\n-\t\t\t<when value="No">\n-\t\t\t</when>\n-\t\t</conditional>\n-\t\t<conditional name="OptionPcOverlapQuery">\n-\t\t\t<param name="present" type="select" label="N% of the query must overlap">\n-\t\t\t\t<option value="Yes">Yes</option>\n-\t\t\t\t<option value="No" selected="true">No</option>\n-\t\t\t</param>\n-\t\t\t<when value="Yes">\n-\t\t\t\t<param name="minOverlap" type="integer" value="0"/>\n-\t\t\t</when>\n-\t\t\t<when value="No">\n-\t\t\t</when>\n-\t\t</conditional>\n-\t\t<conditional name="OptionPcOverlapRef">\n-\t\t\t<param name="present" type="select" label="N% of the reference must overlap">\n-\t\t\t\t<option value="Yes">Yes</option>\n-\t\t\t\t<option value="No" selected="true">No</option>\n-\t\t\t</param>\n-\t\t\t<when value="Yes">\n-\t\t\t\t<param name="minOverlap" type="integer" value="0"/>\n-\t\t\t</when>\n-\t\t\t<when value="No">\n-\t\t\t</when>\n-\t\t</conditional>\n-\t\t<param name="OptionInclusionQuery" type="boolean" truevalue="-k" falsevalue="" checked="false" label="The query must be nested in a query"/>\n-\t\t<param name="OptionInclusionRef" type="boolean" truevalue="-K" falsevalue="" checked="false" label="The reference must be nested in a query"/>\n-\t\t<conditional name="OptionCollinearOrAntiSens">\n-\t\t\t<param name="OptionCA" type="select" label="Collinear or anti-sens">\n-\t\t\t\t<option value="Collinear">Collinear</option>\n-\t\t\t\t<option value="AntiSens">AntiSens</option>\n-\t\t\t\t<option value="NONE" selected="true">NONE</option>\n-\t\t\t</param>\n-\t\t\t<when value="Collinear">\n-\t\t\t</when>\n-\t\t\t<when value="AntiSens">\n-\t\t\t</when>\n-\t\t\t<when value="NONE">\n-\t\t\t</when>\n-\t\t</conditional>\n-\t\t<param name="InvertMatch" type="boolean" truevalue="-x" falsevalue="" checked="false" label="Invert match: the output file will contain all query elements which do NOT overlap"/>\n-\t\t<param name="NotOverlapping" type="boolean" truevalue="-O" falsevalue="" checked="false" label="Also report the query data which do not overlap, with the nbOverlaps tag set to 0."/>\n-\t</inputs>\n-\n-\t<outputs>\n-\t\t<data name="outputFileGff" format="gff3"/>\n-\t</outputs> \n-\n-\t<help>\n-This script may be the most important one. It basically compares two sets of transcripts and keeps those from the first set which overlap with the second one. The first set is considered as the query set (basically, your data) and the second one is the reference set (RefSeq data, for example).\n-  \n-It is vital to understand that it will output the elements of the first file which overlap with the elements of the second one.\n-\n-Various modifiers are also available:\n-\n--Invert selection (report those which do not overlap).\n-\n--Restrict to colinear / anti-sense overlapping data.\n-\n--Keep the query data even if they do not strictly overlap with the reference data, but are located not further away than *n* nucleotide from some reference data.\n-\n--Keep the query data with are strictly included into reference data, meaning that a query transcript such that at least 1 nucleotide does not overlap with reference data will not be presented as a solution.\n-\n-The mechanism of shrinking and extending is also useful to make a fine grain comparison. For example, if you want to keep those such that the TSS is overlapping the reference set, you just shrink the query set to 1 nucleotide. Now, if you want to keep those which are overlapping you data or located 2kb downstream of it, just extend the query data in the downstream direction, and you will have what you want. You can also extend in the opposite direction to get the possible transcript factor sites which are upstream.\n-\n-Some option reverses the selection. Put in other words, it performs the comparison as usual, and outputs all those query data which do not overlap.\n-\t</help>\n-</tool>\n'
b
diff -r 2abc37c27164 -r b3f5a1cb4704 SMART/galaxy/compareOverlapping.xml
--- a/SMART/galaxy/compareOverlapping.xml Wed Sep 18 07:45:59 2013 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b
b'@@ -1,310 +0,0 @@\n-<tool id="CompareOverlapping" name="compare overlapping">\n-\t<description>Print all the transcripts from a first file which overlap with the transcripts from a second file.</description>\n-\t<requirements>\n-\t\t<requirement type="set_environment">PYTHONPATH</requirement>\n-\t</requirements>\n-\t<command interpreter="python">\n-\t\t../Java/Python/CompareOverlapping.py -i $formatType.inputFileName1\n-\t\t#if $formatType.FormatInputFileName1 == \'bed\':\n-\t\t\t-f bed\n-\t\t#elif $formatType.FormatInputFileName1 == \'gff\':\n-\t\t\t-f gff\t\n-\t\t#elif $formatType.FormatInputFileName1 == \'gff2\':\n-\t\t\t-f gff2\n-\t\t#elif $formatType.FormatInputFileName1 == \'gff3\':\n-\t\t\t-f gff3\n-\t\t#elif $formatType.FormatInputFileName1 == \'sam\':\n-\t\t\t-f sam\n-\t\t#elif $formatType.FormatInputFileName1 == \'gtf\':\n-\t\t\t-f gtf\n-\t\t#end if\n-\t\t\t\n-\t\t-j $formatType2.inputFileName2\n-\t\t#if $formatType2.FormatInputFileName2 == \'bed\':\n-\t\t\t-g bed\n-\t\t#elif $formatType2.FormatInputFileName2 == \'gff\':\n-\t\t\t-g gff\t\n-\t\t#elif $formatType2.FormatInputFileName2 == \'gff2\':\n-\t\t\t-g gff2\n-\t\t#elif $formatType2.FormatInputFileName2 == \'gff3\':\n-\t\t\t-g gff3\n-\t\t#elif $formatType2.FormatInputFileName2 == \'sam\':\n-\t\t\t-g sam\n-\t\t#elif $formatType2.FormatInputFileName2 == \'gtf\':\n-\t\t    -g gtf\n-\t\t#end if\n-\n-\t\t-o $outputFileGff \n-\n-\t\t#if $optionNFirstFile1.NFirstForFile1 == \'Yes\':\n-\t\t\t-S $optionNFirstFile1.firstNtFile1\n-\t\t#end if\n-\t\t#if $optionNFirstFile2.NFirstForFile2 == \'Yes\':\n-\t\t\t-s $optionNFirstFile2.firstNtFile2\n-\t\t#end if\n-\t\t#if $optionNLastFile1.NLastForFile1 == \'Yes\':\n-\t\t\t-U $optionNLastFile1.lastNtFile1\n-\t\t#end if\n-\t\t#if $optionNLastFile2.NLastForFile2 == \'Yes\':\n-\t\t\t-u $optionNLastFile2.lastNtFile2\n-\t\t#end if\n-\t\n-\t\t#if $optionExtentionCinqFile1.extentionFile1 == \'Yes\':\n-\t\t\t-E $optionExtentionCinqFile1.extention51\n-\t\t#end if\n-\t\t#if $optionExtentionCinqFile2.extentionFile2 == \'Yes\':\n-\t\t\t-e $optionExtentionCinqFile2.extention52\n-\t\t#end if\n-\n-\t\t#if $optionExtentionTroisFile1.extentionFile1 == \'Yes\':\n-\t\t\t-N $optionExtentionTroisFile1.extention31\n-\t\t#end if\n-\t\t#if $optionExtentionTroisFile2.extentionFile2 == \'Yes\':\n-\t\t\t-n $optionExtentionTroisFile2.extention32\n-\t\t#end if\t\n-\n-\t\t#if $OptionColinearOrAntiSens.OptionCA == \'Colinear\':\n-\t\t\t-c \n-\t\t#elif $OptionColinearOrAntiSens.OptionCA == \'AntiSens\':\n-\t\t\t-a\n-\t\t#end if\t\n-\n-\t\t#if $OptionDistance.Dist == \'Yes\':\n-\t\t\t-d $OptionDistance.distance\n-\t\t#end if\n-\n-\t\t#if $OptionMinOverlap.MO == \'Yes\':\n-\t\t\t-m $OptionMinOverlap.minOverlap\n-\t\t#end if\n-\n-\t\t$InvertMatch\n-\t\t$ReportIntron\n-\t\t$NotOverlapping\n-\t\t\n-\t</command>\n-\n-\t<inputs>\n-\t\t<conditional name="formatType">\n-\t\t\t<param name="FormatInputFileName1" type="select" label="Input File Format 1">\n-\t\t\t\t<option value="bed">bed</option>\n-\t\t\t\t<option value="gff">gff</option>\n-\t\t\t\t<option value="gff2">gff2</option>\n-\t\t\t\t<option value="gff3">gff3</option>\n-\t\t\t\t<option value="sam">sam</option>\n-\t\t\t\t<option value="gtf">gtf</option>\n-\t\t\t</param>\n-\t\t\t<when value="bed">\n-\t\t\t\t<param name="inputFileName1" format="bed" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff">\n-\t\t\t\t<param name="inputFileName1" format="gff" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff2">\n-\t\t\t\t<param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="gff3">\n-\t\t\t\t<param name="inputFileName1" format="gff3" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="sam">\n-\t\t\t\t<param name="inputFileName1" format="sam" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t\t<when value="gtf">\n-\t\t\t\t<param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>\n-\t\t\t</when>\n-\t\t</conditional>\n-\n-\t\t<conditional name="formatType2">\n-\t\t\t<param name="FormatInputFileName2" type="select" label="Input File Format 2">\n-\t\t\t\t<option value="bed">bed</option>\n-\t\t\t\t<option value="gff">gff</option>\n-\t\t\t\t<option value="gff2">gff2</option>\n-\t\t\t\t<option value="gff3">gff3</option>\n-\t\t\t\t<option value="sam">sam</option>\n-\t\t\t\t<option value="gtf">gtf</option>\n-\t\t\t</param>\n-\t\t\t<when value="bed">'..b's">\n-\t\t\t\t<param name="extention32" type="integer" value="1" label="in file 2" />\n-\t\t\t</when>\n-\t\t\t<when value="No">\n-\t\t\t</when>\n-\t\t</conditional>\n-\n-\t\t<conditional name="OptionColinearOrAntiSens">\n-\t\t\t<param name="OptionCA" type="select" label="Report queries which are collinear/antisens w.r.t. a reference">\n-\t\t\t\t<option value="Colinear">Colinear</option>\n-\t\t\t\t<option value="AntiSens">AntiSens</option>\n-\t\t\t\t<option value="NONE" selected="true">NONE</option>\n-\t\t\t</param>\n-\t\t\t<when value="Colinear">\n-\t\t\t</when>\n-\t\t\t<when value="AntiSens">\n-\t\t\t</when>\n-\t\t\t<when value="NONE">\n-\t\t\t</when>\n-\t\t</conditional>\n-\n-\t\t<conditional name="OptionDistance">\n-\t\t\t<param name="Dist" type="select" label="Maximum Distance between two reads">\n-\t\t\t\t<option value="Yes">Yes</option>\n-\t\t\t\t<option value="No" selected="true">No</option>\n-\t\t\t</param>\n-\t\t\t<when value="Yes">\n-\t\t\t\t<param name="distance" type="integer" value="0"/>\n-\t\t\t</when>\n-\t\t\t<when value="No">\n-\t\t\t</when>\n-\t\t</conditional>\n-\n-\t\t<conditional name="OptionMinOverlap">\n-\t\t\t<param name="MO" type="select" label="Minimum number of overlapping between two reads">\n-\t\t\t\t<option value="Yes">Yes</option>\n-\t\t\t\t<option value="No" selected="true">No</option>\n-\t\t\t</param>\n-\t\t\t<when value="Yes">\n-\t\t\t\t<param name="minOverlap" type="integer" value="1"/>\n-\t\t\t</when>\n-\t\t\t<when value="No">\n-\t\t\t</when>\n-\t\t</conditional>\n-\t\t<param name="ReportIntron" type="boolean" truevalue="-t" falsevalue="" checked="false" label="Also report queries which overlap with the introns of references, or queries such that a reference is in one of its intron"/>\n-\t\t<param name="InvertMatch" type="boolean" truevalue="-x" falsevalue="" checked="false" label="Invert match: the output file will contain all query elements which do NOT overlap"/>\n-\t\t<param name="NotOverlapping" type="boolean" truevalue="-O" falsevalue="" checked="false" label="Also report the query data which do not overlap, with the nbOverlaps tag set to 0."/>\n-\t</inputs>\n-\t\t\n-\t<outputs>\n-\t\t<data name="outputFileGff" format="gff3"/>\n-\t</outputs> \n-\t\n-\t<help>\n-This script may be the most important one. It basically compares two sets of transcripts and keeps those from the first set which overlap with the second one. The first set is considered as the query set (basically, your data) and the second one is the reference set (RefSeq data, for example).\n-  \n-It is vital to understand that it will output the elements of the first file which overlap with the elements of the second one.\n-\n-Various modifiers are also available:\n-\n--Restrict query / reference set to the first nucleotide. Useful to check if the TSS of one set overlap with the other one.\n-\n--Extend query / reference set on the 5\' / 3\' direction. Useful to check if one set is located upstream / downstream the other one.\n-\n--Include introns in the comparison.\n-\n--Invert selection (report those which do not overlap).\n-\n--Restrict to colinear / anti-sense overlapping data.\n-\n--Keep the query data even if they do not strictly overlap with the reference data, but are located not further away than *n* nucleotide from some reference data.\n-\n--Keep the query data with are strictly included into reference data, meaning that a query transcript such that at least 1 nucleotide does not overlap with reference data will not be presented as a solution.\n-\n-The mechanism of shrinking and extending is also useful to make a fine grain comparison. For example, if you want to keep those such that the TSS is overlapping the reference set, you just shrink the query set to 1 nucleotide. Now, if you want to keep those which are overlapping you data or located 2kb downstream of it, just extend the query data in the downstream direction, and you will have what you want. You can also extend in the opposite direction to get the possible transcript factor sites which are upstream.\n-\n-Some option reverses the selection. Put in other words, it performs the comparison as usual, and outputs all those query data which do not overlap.\n-\t</help>\n-</tool>\n'