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

Before Change


    // Get ids to assign to the output sequences in the result Alignment object
    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
// will likely want to put these in a single object to make the naming a little
// less clunky.

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: 4

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: 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: 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: global_pairwise_align