i found a wired problem, but i donot know if it is a bug

triming from left is different from triming from right, please see those
coding

such two sequence have distance of 3
AAAAAAAAAAAAAAACGACACAAGCCCGATCGGAAGAGCACACGTCTGAACTCCA
TCACATCACGATATCGTATGCCGTCTTCTGCTTG

 AGATCGGAAGAGCACACGTCTGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG

subject<-
DNAString("AAAAAAAAAAAAAAACGACACAAGCCCGATCGGAAGAGCACACGTCTGAACTCCATCACATCACGATATCGTATGCCGTCTTCTGCTTG")
PCR2rc <-
DNAString("AGATCGGAAGAGCACACGTCTGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG")
trimLRPatterns(Rpattern = PCR2rc, subject = subject,
max.Rmismatch=0.2,with.Rindels=T)
 or trimLRPatterns(Rpattern = PCR2rc, subject = subject,
max.Rmismatch=3,with.Rindels=T)
  25-letter "DNAString" instance
seq: AAAAAAAAAAAAAAACGACACAAGC

such two sequence are symitric of those above

 GATCGGAAGAGCACACGTCTGAACTCCA
TCACATCACGATATCGTATGCCGTCTTCTGCTTGAAAAAAAAAAAAAAACGACACAAGCCC
AGATCGGAAGAGCACACGTCTGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG

subject<-
DNAString("GATCGGAAGAGCACACGTCTGAACTCCATCACATCACGATATCGTATGCCGTCTTCTGCTTGAAAAAAAAAAAAAAACGACACAAGCCC")
PCR2rc <-
DNAString("AGATCGGAAGAGCACACGTCTGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG")
trimLRPatterns(Lpattern = PCR2rc, subject = subject,
max.Lmismatch=0.2,with.Rindels=T)

 88-letter "DNAString" instance
seq:
ATCGGAAGAGCACACGTCTGAACTCCATCACATCACGATATCGTATGCCGTCTTCTGCTTGAAAAAAAAAAAAAAACGACACAAGCCC

	[[alternative HTML version deleted]]

