"be consistent" | |
PerlMonks |
Finding Overlapping Regions on Genomeby oxydeepu (Novice) |
on Jul 11, 2013 at 09:45 UTC ( [id://1043671]=perlquestion: print w/replies, xml ) | Need Help?? |
oxydeepu has asked for the wisdom of the Perl Monks concerning the following question: Hi all, I have a small problem, I am not able to find a logic to do it. Question is: I have a file of exons like this where col1 is chromosome name col2 is orientation and rest are start and stop. Contig0 + 127874 130761 As this coordinates have overlapping Contig0 + 127874 130761 It will be Contig0 + 127874 130767 then Contig0 + 130784 130818 doesn't have any over lap. Then, Contig0 + 130832 130866 will be Contig0 + 130832 130867 After that no overlap for Contig0 + 130893 130928 and for Contig0 + 130970 131004 it will be Contig0 + 130970 131017 So at last the result for the example block will be Contig0 + 127874 130767 I hope the question is clear.
Back to
Seekers of Perl Wisdom
|
|