ConductScience Sequences
Contents

User guide · Search methods

Within k changes

List every stored sequence that differs from your query by at most k changes.

Within k changes lists every stored sequence that differs from your query by at most k changes, which fits a claim such as "up to 3 substitutions". It covers every stored sequence of the set and applies no score, E-value or rank cut, so its counts are complete. It compares DNA with DNA or protein with protein.

Choose k, from 0 to 5, and what counts as a change:

  • Substitutions only: a letter changed in place. The match is a stretch of the stored sequence as long as your query, with at most k letters that differ.
  • Substitutions, insertions and deletions: your whole query, aligned anywhere in the stored sequence, with at most k changes of the three kinds in all.
  • | Same letter
  • ≠ Substitution: a letter changed in place, one change

Within k changes of the query, k from 0 to 5

  • k = 0 Not within
  • k = 1 Not within
  • k = 2 Within
  • k = 3 Within
  • k = 4 Within
  • k = 5 Within
Changes
2
Substitutions
2
Insertions
0
Deletions
0
Wildcard matches
0
Identity
93.5%
Table view
Each column of the GLP-1 query over WO 2021214220-A1, read with Substitutions only
Query positionQuery letterHit letterHit positionChange
1HH1Same letter
2AA2Same letter
3EE3Same letter
4GG4Same letter
5TT5Same letter
6FF6Same letter
7TT7Same letter
8SS8Same letter
9DD9Same letter
10VV10Same letter
11SS11Same letter
12SS12Same letter
13YY13Same letter
14LL14Same letter
15EE15Same letter
16GG16Same letter
17QQ17Same letter
18AA18Same letter
19AA19Same letter
20KK20Same letter
21EE21Same letter
22FF22Same letter
23IL23Substitution
24AA24Same letter
25WW25Same letter
26LL26Same letter
27VV27Same letter
28KR28Substitution
29GG29Same letter
30RR30Same letter
31GG31Same letter
With Substitutions only, the GLP-1(7-37) query, numbered from 1 here, over a stretch of WO 2021214220-A1 as long as itself: 2 letters differ, each a substitution, so a search with k of 2 or more lists it.

In a set with a DNA fragment index, with Substitutions only and k of 0, 1 or 2, when each DNA query has 15 to 50 bases, all A, C, G or T, the queries are first looked up in the index, and only the stored sequences it finds are read, with the same results.

An N, an X or another IUPAC code in your query matches any letter it stands for, so it is never a change. In a stored protein, an X or another code also matches any letter it stands for. Stored DNA is read letter for letter: a stored N or other code matches only the same code in your query, so against any other letter it counts as one change. A DNA query is searched on both strands, and RNA U is searched as T.

Each row is one stored sequence on one strand, with its closest match to your query. Changes counts that match's substitutions, insertions and deletions, and the list goes fewest changes first. The detail pane gives each kind of change, the Wildcard matches, the identity and the alignment. In the alignment, a wildcard match shows as a differing letter that is not a change. A stored sequence with a long run of X can match a query with no change at all, so rows with as many changes go fewest wildcard matches first, and a match letter for letter comes before one made of X. The CSV export adds the columns changes, substitutions, insertions, deletions and wildcard_matches. On Patents, families and publications sort by their best identity.

A query takes at most 64 letters, and k must be below its length. Each query lists up to 50,000 hits, a stored sequence on one strand each. A query with more lists its 50,000 closest: the fewest changes, then the fewest wildcard matches, then the set's order. It says how many stored sequences it found, and names the largest smaller k that would list every hit, or asks for a longer query when even k = 0 finds more. Its counts by number of changes stay complete in the search record.

To find its closest, a query with more than 1,000,000 hits reads the set a second time, so it takes up to twice as long, and it sorts at most 1,000,000 hits. When more than that have as few changes as its 50,000th closest or fewer, the list holds only the hits with fewer changes, or, at no change, the closest of the first 1,000,000 in the set's order, and the query says so.

Within k changes runs only where its scanner, kscan, is installed, and the Sequences container image includes it. Where kscan is missing, the method is greyed out with a note that says so.

Guide version 1.91.0 · For Sequences 0.155.0