Skip to content

Main content

Protein Residue Position Label

Label an explicitly supplied protein residue symbol and one-based position without checking a sequence or inferring a substitution.

Loading tool…

Description

Format a supplied protein-residue position and zero-based index.

Sequence formats distinguish coordinate origins, included endpoints, allele separators and identifier grammars. A genomic interbase position differs from a base number, and a parsed optional-field value may still violate its declared type. Local token checks preserve representation without validating a complete file, sequence, reference assembly or biological interpretation.

Format a supplied protein-residue position and zero-based index.

When to use this tool

Use Protein Residue Position Label when you already have sequenceId, residue, oneBasedPosition and need to format a supplied protein-residue position and zero-based index.

How to use the tool and how it works

  1. Enter sequenceId, residue, oneBasedPosition. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read label, zeroBasedIndex. Use the output convention below.

Require nonempty sequenceId, one ASCII uppercase letter or * residue, and a positive safe whole oneBasedPosition. Format sequenceId:residuePosition and return position-1.1

Input fieldMeaning and unitsAccepted input
sequenceIdSequence IdRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
residueOne ASCII uppercase letter or *, without sequence or amino-acid vocabulary verification.Required. Text; maximum UTF-16 length 8192.
oneBasedPositionOne Based PositionRequired. Safe integer; minimum 1.
Output fieldInterpretationReturned shape
labelLabelRequired. Text; maximum UTF-16 length 8192.
zeroBasedIndexZero Based IndexRequired. Safe integer.
json
{
  "input": {
    "sequenceId": "P17",
    "residue": "K",
    "oneBasedPosition": 42
  },
  "output": {
    "label": "P17:K42",
    "zeroBasedIndex": 41
  }
}

Limitations and assumptions

  • The letter is not checked against a specific amino-acid alphabet or sequence. No sequence lookup, residue verification, variant interpretation or length bound is established.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use the complete applicable file specification and a full format validator for conformance. Verify reference assembly, sequence bounds, annotation and database context before interpreting local fields or coordinate transformations.

References

  1. Calculation and input contract: bioinformatics/protein-residue-position-label — tool.io

Similar or alternative tools