1101d1c040850b51c9864da8b105450606591d9a,skbio/core/alignment/tests/test_pairwise.py,PairwiseAlignmentTests,test_traceback,#PairwiseAlignmentTests#,397
Before Change
[2, 2, 2, 2]]
tback_m = np.array(tback_m)
// start at bottom-right
expected = ("ACG-", "ACGT", 1, 0, 0)
actual = _traceback(tback_m, score_m, Alignment([DNA("ACG")]),
Alignment([DNA("ACGT")]), 4, 3)
self.assertEqual(actual, expected)
After Change
[2, 2, 2, 2]]
tback_m = np.array(tback_m)
expected = ("G", "G", 6, 2, 2)
expected = (Alignment([BiologicalSequence("G")]),
Alignment([BiologicalSequence("G")]), 6, 2, 2)
actual = _traceback(tback_m, score_m, Alignment([DNA("ACG")]),
Alignment([DNA("ACGT")]), 3, 3)
self.assertEqual(actual, expected)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 5
Instances
Project Name: biocore/scikit-bio
Commit Name: 1101d1c040850b51c9864da8b105450606591d9a
Time: 2014-08-05
Author: gregcaporaso@gmail.com
File Name: skbio/core/alignment/tests/test_pairwise.py
Class Name: PairwiseAlignmentTests
Method Name: test_traceback
Project Name: biocore/scikit-bio
Commit Name: a17d0725f0883ca835800b2645b05c6f29703fbd
Time: 2014-08-05
Author: gregcaporaso@gmail.com
File Name: skbio/core/alignment/pairwise.py
Class Name:
Method Name: global_pairwise_align
Project Name: biocore/scikit-bio
Commit Name: a17d0725f0883ca835800b2645b05c6f29703fbd
Time: 2014-08-05
Author: gregcaporaso@gmail.com
File Name: skbio/core/alignment/pairwise.py
Class Name:
Method Name: local_pairwise_align
Project Name: biocore/scikit-bio
Commit Name: 36c8e0b8b19bdb0ab611873c0fd0c6134072d109
Time: 2014-06-23
Author: gregcaporaso@gmail.com
File Name: skbio/core/alignment/pairwise.py
Class Name:
Method Name: local_pairwise_align
Project Name: biocore/scikit-bio
Commit Name: 36c8e0b8b19bdb0ab611873c0fd0c6134072d109
Time: 2014-06-23
Author: gregcaporaso@gmail.com
File Name: skbio/core/alignment/pairwise.py
Class Name:
Method Name: global_pairwise_align