# takes two lists of segments for two genes, check if the first list is an inversion of the second one (if the segments in common are on the opposite strand)
# takes two lists of segments for two genes, check if the first list is an inversion of the second one (if the segments in common are on the opposite strand)
defdetect_feature_inversion(list_1,list_2):
defdetect_feature_inversion(list_1,list_2):
# target_dict=dict.fromkeys(target_list,"")
# check if we have an inversion of the orientation of the segments
# check if we have an inversion of the orientation of the segments