Hi Aaron,

I just tested this small example and it reported one region as the result of the intersect: https://main.g2.bx.psu.edu/u/dan/h/aaron-quinlan-intersect-test-02-08-2013

Do you have a history available that you can share (privately if you desire) where you see the issue, and we'll take a look.


Thanks for using Galaxy,

Dan


On Feb 8, 2013, at 10:23 AM, Aaron Quinlan wrote:

Dear list,

I have a student that found an unexplained discrepancy between the results produced by the "Operate on Genomic Intervals" (OGI) intersect operation versus the OGI join operation.  In particular, we know for certain that there are exactly 1105 intersection of at least 1bp between the two files we are testing, as we have confirmed this with our own bedtools and the ucsc table browser.  An example intersection (intersecting positions: 10012008 - 10012013):

file 1:
chr1 10012008 10012021 5.6186

file 2:
chr1 10011813 10012013 5_Strong_Enhancer 0 + 10011813 10012013 250,202,0

However, OGI intersect find 0 intersections between the files (settings: return overlapping intervals, >= 1bp).  In an effort to make sure we didn't goof up on file formats (BED) or genome builds (hg19), we tested the exact same two files with the OGI join operation and found 1105 intersections as expected.

I also tested the files with the bx-python bed_intersect.py and bed_intersect_basewise.py scripts and get the expected results.

Does anyone have a suggestion for how to resolve this?

Thanks for your help and for providing such a fantastic resource to the genomics community.

Best,

___________________________________________________________
The Galaxy User list should be used for the discussion of
Galaxy analysis and other features on the public server
at usegalaxy.org.  Please keep all replies on the list by
using "reply all" in your mail client.  For discussion of
local Galaxy instances and the Galaxy source code, please
use the Galaxy Development list:

 http://lists.bx.psu.edu/listinfo/galaxy-dev

To manage your subscriptions to this and other Galaxy lists,
please use the interface at:

 http://lists.bx.psu.edu/