Skip to content
Snippets Groups Projects
Commit ac7f08ac authored by nina.marthe_ird.fr's avatar nina.marthe_ird.fr
Browse files

emptied this file by putting the functions in other files

parent 419e7704
No related branches found
No related tags found
No related merge requests found
from .intersect import Segments
# not used.
# get all the segments from a list that are not on the target genome
def get_list_segments_missing(list_seg,segments_on_target_genome):
segments_missing=[]
for segment in list_seg:
if segment not in segments_on_target_genome:
segments_missing.append(Segments[segment])
return segments_missing
# for two segments on the target genome, find a walk that has both
def find_common_walk(seg1,seg2,segments_on_target_genome):
for walk in segments_on_target_genome[seg1]:
if walk in segments_on_target_genome[seg2]:
return walk
return False
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment