![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is it possible to convert a SNP.txt to a bed file or get a SNP.bed from samtools? | Ling | Bioinformatics | 7 | 04-02-2015 07:17 AM |
Updated How to convert .txt file to .bed .GFF or .BAR file format, | forevermark4 | Bioinformatics | 2 | 06-30-2014 06:02 AM |
Is there a BED file format validator? Does a BED file have to be sorted position? | LauraSmith | Bioinformatics | 3 | 05-21-2013 12:54 PM |
Does standalone Blat can take multiple chromosome in one command line, find matches? | ketan_bnf | Bioinformatics | 2 | 06-07-2012 01:12 AM |
program to find common secondary structure of RNA from many sequences | zhlyang | Bioinformatics | 3 | 06-17-2010 08:10 PM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: USA Join Date: Jan 2012
Posts: 38
|
![]()
Does anyway have experience to find commonalies (or overlaps) between bed files. I have 4 bed files and want to find what intervals are common to all.
And I don't have any rigid criteria for overlap, any intersection will do. Appreciate any answers. |
![]() |
![]() |
![]() |
#3 |
Senior Member
Location: East Coast USA Join Date: Feb 2008
Posts: 7,080
|
![]()
http://pypi.python.org/pypi/pybedtools is a python extension of the bedtools that was mentioned in the post #2 by dpryan.
|
![]() |
![]() |
![]() |
#4 | |
Member
Location: cinci Join Date: Apr 2010
Posts: 66
|
![]() Quote:
here is example ![]() http://main.g2.bx.psu.edu/ Last edited by husamia; 01-23-2012 at 07:03 AM. Reason: corrected intersect instead of merege for overlapping bed files |
|
![]() |
![]() |
![]() |
#5 | |
Member
Location: USA Join Date: Jan 2012
Posts: 38
|
![]() Quote:
I could implement intersectBed as pairwise. And to find common among 4, I can do multiple pairwise, but it seems there is some chance for false negatives. I dint get chance to look at the python script so far, I wonder if that adresses this issue. |
|
![]() |
![]() |
![]() |
#6 |
Member
Location: cinci Join Date: Apr 2010
Posts: 66
|
![]()
I mentioned the wrong function, I modified my response above to reflect the correct reference function. Sorry for confusion
|
![]() |
![]() |
![]() |
#7 | |
Devon Ryan
Location: Freiburg, Germany Join Date: Jul 2011
Posts: 3,480
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Member
Location: USA Join Date: Jan 2012
Posts: 38
|
![]() Quote:
This is chip-seq analysis for which I have bed files (peaks). There could be a situation when peak 1 intersect peak 3 at 5' and peak 2 intersect peak 3 at 3`. but peak 1 and peak 2 do not intersect. Read Peak1, Peak2 and Peak3 coming form Samples 1,2 and 3 please. intersectBed will not reveal these peaks on my first paiwise comparison (peak1 and peak2) so it will be gone. Logically, it seems they come from same region so I was wondering if there is a tool that could capture those. I must mention that this is not a real example, just i theoretical possibility which crossed my mind. May b I am just too obsessed over it ![]() |
|
![]() |
![]() |
![]() |
#9 |
Senior Member
Location: Kansas City Join Date: Mar 2008
Posts: 197
|
![]() |
![]() |
![]() |
![]() |
#10 | |
Senior Member
Location: Berlin Join Date: Jul 2011
Posts: 156
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#11 | |
Member
Location: USA Join Date: Jan 2012
Posts: 38
|
![]() Quote:
Looks like can the job, will try it out ... appreciate your response |
|
![]() |
![]() |
![]() |
#12 |
Junior Member
Location: seattle, wa Join Date: Jan 2013
Posts: 2
|
![]()
If you prefer a much more scalable solution that can do this simple intersection (and any other set-like operation) on any number of bedfiles at once, check out BEDOPS.
http://code.google.com/p/bedops/ |
![]() |
![]() |
![]() |
Thread Tools | |
|
|