[BioC] a problem of trimLRPatterns still confused me

Wang Peter wng.peter at gmail.com
Sat Dec 1 18:00:00 CET 2012


dear Harris
thank you so much for your kindly explanation
i am so ashamed to disturb u again.

my understanding is

when they low-level function to caculate the distance between S and P

S= CAAGATC     AAG
P=     AGATCGGAAG


it will try
CAAGATCAAG
AAGATCAAG
AGATCAAG
GATCAAG
...
G

and get all the edit distance
but 2 is the smallest one

so it will take 2 as the distance between S and P
S'= AGATC     AAG
P= AGATCGGAAG

and then trim the whole S, rather than S'


-- 
shan gao
Room 231(Dr.Fei lab)
Boyce Thompson Institute
Cornell University
Tower Road, Ithaca, NY 14853-1801
Office phone: 1-607-254-1267(day)
Official email:sg839 at cornell.edu
Facebook:http://www.facebook.com/profile.php?id=100001986532253



More information about the Bioconductor mailing list