You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Pairwise alignment does not correctly score gap opening. Instead of making a low cost, big gap it tends to make smaller gaps where single positions match.
To Reproduce
lets1="NLFVAAAAQTKNGQGWVPSNYITPVNSAAA"|> BioArray.ofAminoAcidSymbolString
lets2="NLFVALYDFVASGDNTLSITKGEKLRVLGYNHNGEWCEAQTKNGQGWVPSNYITPVNS"|> BioArray.ofAminoAcidSymbolString
letaaCosts={
Open =-15000// Notice exremely high gap opening cost but normal gap continuation cost
Continuation =-2
Similarity =(fun a b ->if a = b then2else-3)//aaScoring }leta= NeedlemanWunsch.runAminoAcidSymbol aaCosts s1 s2
Expected behavior
One big gap, as gap continuation should be favoured over opening new gaps in every case.
Describe the bug
Pairwise alignment does not correctly score gap opening. Instead of making a low cost, big gap it tends to make smaller gaps where single positions match.
To Reproduce
Expected behavior
One big gap, as gap continuation should be favoured over opening new gaps in every case.
Actual behavior
Many small gaps. As can be seen by the score. Only one gap opening cost was counted. Also notice that gaps are caused by single matching positions.
The text was updated successfully, but these errors were encountered: