a17d0725f0883ca835800b2645b05c6f29703fbd,skbio/core/alignment/pairwise.py,,global_pairwise_align,#Any#Any#Any#Any#Any#Any#,470

Before Change


    seq1_id, seq2_id = _get_seq_ids(seq1, seq2)

    return Alignment(
        [BiologicalSequence(aligned1, id=seq1_id),
         BiologicalSequence(aligned2, id=seq2_id)],
        score=score, start_end_positions=start_end_positions)

// Functions from here allow for generalized (global or local) alignment. I

After Change


         "to track progress on this).", EfficiencyWarning)

    if isinstance(seq1, unicode) or isinstance(seq1, str):
        seq1 = Alignment([BiologicalSequence(seq1)])
    elif isinstance(seq1, BiologicalSequence):
        seq1 = Alignment([seq1])
    else:
        pass
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


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: cf8db1f7c86d0f201cbae9d599367b4d497f92c5
Time: 2014-03-28
Author: yoshiki89@gmail.com
File Name: skbio/parse/tests/test_sequences.py
Class Name: RfamParserTests
Method Name: test_MinimalRfamParser_w_valid_data


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