Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: output the overlapping regions to new file

by bioinformatics (Friar)
on Jan 24, 2014 at 00:21 UTC ( [id://1071856]=note: print w/replies, xml ) Need Help??


in reply to output the overlapping regions to new file

There are plenty of tools to do this already, such as bed tools; you can use pybedtools (python wrapper for bedtools) and perform the comparisons in ipython. While not using Perl, pybedtools will allow you to compare multiple BED files at the same time (i.e., more than 2), and is both fast and simple to use. While what you are trying to do isn't bad, there are better tools for the job.

Bioinformatics
  • Comment on Re: output the overlapping regions to new file

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1071856]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-25 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found