You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<liclass="toctree-l4"><aclass="reference internal" href="#generalized-pairwise-alignments-using-a-substitution-matrix-and-alphabet">Generalized pairwise alignments using a substitution matrix and alphabet</a></li>
77
-
<liclass="toctree-l4"><aclass="reference internal" href="#generalized-pairwise-alignments-using-match-mismatch-scores-and-an-alphabet">Generalized pairwise alignments using match/mismatch scores and an alphabet</a></li>
76
+
<liclass="toctree-l4"><aclass="reference internal" href="#generalized-pairwise-alignments-using-a-substitution-matrix">Generalized pairwise alignments using a substitution matrix</a></li>
77
+
<liclass="toctree-l4"><aclass="reference internal" href="#generalized-pairwise-alignments-using-match-mismatch-scores">Generalized pairwise alignments using match/mismatch scores</a></li>
78
78
<liclass="toctree-l4"><aclass="reference internal" href="#generalized-pairwise-alignments-using-match-mismatch-scores-and-integer-sequences">Generalized pairwise alignments using match/mismatch scores and integer sequences</a></li>
79
79
<liclass="toctree-l4"><aclass="reference internal" href="#generalized-pairwise-alignments-using-a-substitution-matrix-and-integer-sequences">Generalized pairwise alignments using a substitution matrix and integer sequences</a></li>
80
80
</ul>
@@ -1176,9 +1176,7 @@ <h3>Array objects<a class="headerlink" href="#array-objects" title="Link to this
1176
1176
<spanclass="go">'ACGT'</span>
1177
1177
</pre></div>
1178
1178
</div>
1179
-
<p>This property is read-only; modifying the underlying <codeclass="docutils literal notranslate"><spanclass="pre">_alphabet</span></code>
1180
-
attribute may lead to unexpected results. Elements can be accessed both
1181
-
by letter and by integer index:</p>
1179
+
<p>Elements can be accessed both by letter and by integer index:</p>
<h3>Generalized pairwise alignments using a substitution matrix and alphabet<aclass="headerlink" href="#generalized-pairwise-alignments-using-a-substitution-matrix-and-alphabet" title="Link to this heading"></a></h3>
<h3>Generalized pairwise alignments using a substitution matrix<aclass="headerlink" href="#generalized-pairwise-alignments-using-a-substitution-matrix" title="Link to this heading"></a></h3>
1815
1813
<p>Schneider <em>et al.</em><aclass="reference internal" href="chapter_bibliography.html#schneider2005" id="id11"><span>[Schneider2005]</span></a> created a
1816
1814
substitution matrix for aligning three-nucleotide codons (see
1817
1815
<aclass="reference external" href="#codonmatrix">below</a> in section <aclass="reference internal" href="#sec-substitution-matrices"><spanclass="std std-ref">Substitution matrices</span></a>
@@ -1877,28 +1875,19 @@ <h3>Generalized pairwise alignments using a substitution matrix and alphabet<a c
<h3>Generalized pairwise alignments using match/mismatch scores and an alphabet<aclass="headerlink" href="#generalized-pairwise-alignments-using-match-mismatch-scores-and-an-alphabet" title="Link to this heading"></a></h3>
<h3>Generalized pairwise alignments using match/mismatch scores<aclass="headerlink" href="#generalized-pairwise-alignments-using-match-mismatch-scores" title="Link to this heading"></a></h3>
1882
1880
<p>Using the three-letter amino acid symbols, the sequences above translate
<h3>Generalized pairwise alignments using match/mismatch scores and integer sequences<aclass="headerlink" href="#generalized-pairwise-alignments-using-match-mismatch-scores-and-integer-sequences" title="Link to this heading"></a></h3>
1923
-
<p>Internally, the first step when performing an alignment is to replace
1924
-
the two sequences by integer arrays consisting of the indices of each
1925
-
letter in each sequence in the alphabet associated with the aligner.
1912
+
<p>Internally, the first step when performing an alignment is to create a
1913
+
temporary alphabet consisting of the letters in the two sequences, and
1914
+
replacing the sequences by integer arrays consisting of the indices of each
1915
+
letter in the alphabet.
1926
1916
This step can be bypassed by passing integer arrays directly:</p>
0 commit comments