the intervals of two queries gops_subtract.py $input1 $input2 $output #if isinstance( $input1.datatype, $__app__.datatypes_registry.get_datatype_by_extension('gff').__class__): -1 1,4,5,7 --gff1 #else: -1 ${input1.metadata.chromCol},${input1.metadata.startCol},${input1.metadata.endCol},${input1.metadata.strandCol} #end if #if isinstance( $input2.datatype, $__app__.datatypes_registry.get_datatype_by_extension('gff').__class__): -2 1,4,5,7 --gff2 #else: -2 ${input2.metadata.chromCol},${input2.metadata.startCol},${input2.metadata.endCol},${input2.metadata.strandCol} #end if -m $min $returntype .. class:: infomark **TIP:** If your query does not appear in the pulldown menu, it means that it is not in interval format. Use "edit attributes" to set chromosome, start, end, and strand columns. ----- **Screencasts!** See Galaxy Interval Operation Screencasts_ (right click to open this link in another window). .. _Screencasts: http://bitbucket.org/galaxy/galaxy-central/wiki/GopsDesc ----- **Syntax** - **Where overlap is at least** sets the minimum length (in base pairs) of overlap between elements of the two queries. - **Intervals with no overlap** returns entire intervals from the first query that do not overlap the second query. The returned intervals are completely unchanged, and this option only filters out intervals that overlap with the second query. - **Non-overlapping pieces of intervals** returns intervals from the first query that have the intervals from the second query removed. Any overlapping base pairs are removed from the range of the interval. All fields besides start and end are guaranteed to remain unchanged. ----- **Example** .. image:: ../static/operation_icons/gops_subtract.gif