Class ProteinRange

  • All Implemented Interfaces:
    ConvertibleToHGVSString

    public class ProteinRange
    extends Object
    implements ConvertibleToHGVSString
    Represent a range in a protein.

    Note that contrary to Java-style, we represent the first and last character of the range instead of the begin and end position. Thus, we use inclusive positions. This is also reflected by the members being named first and last instead of begin and end.

    In the case of the first position being equal to the last one, the ProteinRange degrades to a point when toHGVSString() is called.

    Author:
    Manuel Holtgrewe