How to use cogent3 to perform pairwise alignment? #1015
Unanswered
xingjianleng
asked this question in
Q&A
Replies: 1 comment
-
|
The from cogent3.align.align import global_pairwise, make_dna_scoring_dict
s = make_dna_scoring_dict(10, -1, -8)
aln, score = global_pairwise(*seqs.seqs, s, 10, 2, return_score=True)(I'm assuming |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm using cogent3 to align two sequences from fasta. But using the code below it says that two sequences don't have the same length and throws an error.
I'm wondering how to align sequences with different length? Also, how to specify which alignment algorithm to use (e.g. Needleman Wunsch, partial order graph)?
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions