Bioinformatics/Global alignment: Difference between revisions

m
mNo edit summary
Line 74:
end
 
"""Return the numberposition in s1 of charsthe start of overlap of tail of string s1 with head of string s2"""
function headtailoverlap(s1, s2, minimumoverlap=1)
start = 1
Line 104:
sup = first(perm)
for i in 1:length(ss)-1
overlaplenoverlap_position = headtailoverlap(perm[i], perm[i+1], 1)
sup *= perm[i + 1][overlaplenoverlap_position+1:end]
end
if length(sup) < length(shortestsuper)
4,104

edits