Skip to content

Commit

Permalink
Additional test for alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
nmih committed Dec 12, 2018
1 parent e245242 commit fa5600f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ssbio/protein/sequence/utils/alignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,8 @@ def map_resnum_a_to_resnum_b(resnums, a_aln, b_aln):
{}
>>> map_resnum_a_to_resnum_b(5, 'ABCDEF--', 'ABCD--GH')
{}
>>> map_resnum_a_to_resnum_b([9,10], '--MKCDLHRLE-E', 'VSNEYSFEGYKLD')
{9: 11, 10: 13}
Args:
resnums (int, list): Residue number or numbers in the first aligned sequence
Expand Down

0 comments on commit fa5600f

Please sign in to comment.