I am new to programming. I need to write program in python which do following:
Read the lines of the file where in each line there are 4 colums:
1st one is a name of protein,
the second one is a name of domain in the protein(the building block of protein, as protein can be created by several domain),
the third one is a start location of the domain(number) in the protein and
the fourth one is a end location (number) of the domain in the protein.
I need to check if domains in the same protein ( so for the same id in colum 1) overlap. The rule is: two domains overlap if more then 10% of of the predicted
domain locations were overlapping (based on the relative length of the
Can you help me to write this code please.