This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Biopython separate gap score functions for border/internal gaps

Hi,

I would like to define different gap score functions for left/right/internal gaps in Biopython.

After reading the documentation (http://biopython.org/DIST/docs/tutorial/Tutorial.html#sec101, section 6.6.2.5), I found out I can define a gap scoring function for a Bio.Align.PairwiseAligner object. However, it seems like only aligner.query_gap_score or aligner.target_gap_score attribute can be assigned a function. When I try to assign a function to aligner.query_left_gap_score, it fails.

Is there any way to specify different gap scoring functions for internal and end gaps?

Thank you.

pairwise_alignment biopython gap_score

0 answers

No answers yet.

Log in to answer this question.