in reply to Per residue sequence alignment - per character string comparison?
I was thinking of using substr initially, but was having difficulty with the presence of gaps in the alignment throwing off the numbering. Thus I was going through the string counting non-gap characters, and figured it would be faster and easier to read in the strings and generate a lookup hash.
The expected output for T281 would be a gap without a position number, or just return false. Based on how the alignments are done, it would be highly unlikely for a desired residue in the query strand to align with a gap in the subject strand. Likewise, K280 would return Q137, and I282 would return F138.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Per residue sequence alignment - per character string comparison?
by perldigious (Priest) on Aug 10, 2016 at 13:04 UTC | |
by proteins (Novice) on Aug 10, 2016 at 13:30 UTC |