Skip to content

Discrepancy between "query_end" value in "ChainAlignment" and the length of the output sequence #93

@abualrou

Description

@abualrou

ANARCI displays an inconsistency in some cases between the query_end value from the ChainAlignment and the length of the generated output sequence.

Example:

input_seq = 'AQEVTQIPAALSVPEGENLVLNCSFTDSAIYNLQWFRQDPGKGLTSLLLIQSSQREQTSGRLNASLDKSSGRSTLYIAASQPGDSATYLCAVTNQAGTALIFGKGTTLSVSSNIQNPDPAVYQLRDSKSSDKSVCLFTDFDSQTNVSQSKDSDVYITDKCVLDMRSMDFKSNSAVAWSNKSDFACANAFN'

Result:

  • anarci_output_seq = 'AQEVTQIPAALSVPEGENLVLNCSFTDSAIYNLQWFRQDPGKGLTSLLLIQSSQREQTSGRLNASLDKSSGRSTLYIAASQPGDSATYLCAVTNQAGTALIFGKGTTLSVSS'

  • query_end = 111

When the query_end value is used to slice the input_seq, the resulting sequence does not match the anarci_output_seq. For instance, input_seq[0:query_end] produces 'AQEVTQIPAALSVPEGENLVLNCSFTDSAIYNLQWFRQDPGKGLTSLLLIQSSQREQTSGRLNASLDKSSGRSTLYIAASQPGDSATYLCAVTNQAGTALIFGKGTTLSVS', which is not the same as the expected anarci_output_seq.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions