I have two DNA sequences (seqA and seqB) deriving respectively from two longer fragments (fullA and fullB) and a phylogenetic tree from which I can obtain the evolutionary distance from fullA and fullB (dist(fullA,fullB)).
I'm then interested in calculating the probability of the fragments seqA and seqB having less nucleotide dissimilarity than expected given the observed overall nucleotide dissimilarity between fullA and fullB and the evolutionary distance between them (dist(fullA,fullB) which is a proxy of the 'available time to generate dissimilarities').
Do you know of an implementation or model to calculate this probability? any reference to a published work addressing a similar question?
Thank you so much in advance.