• Calculates the pixel coordinates for query and subject regions.

    Parameters

    • queryLen: number

      The length of the query.

    • subjLen: number

      The length of the subject.

    • subjHspLen: number

      The length of the subject HSP.

    • contentWidth: number

      The width of the content.

    • contentScoringWidth: number

      The width of the scoring content.

    • contentLabelWidth: number

      The width of the content label.

    • marginWidth: number

      The width of the margin.

    Returns number[]

    An array containing the start and end pixel coordinates for query and subject regions.