P is for Practical | |
PerlMonks |
Re: output the overlapping regions to new fileby bioinformatics (Friar) |
on Jan 24, 2014 at 00:21 UTC ( [id://1071856]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|