Skip to content

Main content

Reverse Strand One Coordinate Transform Tool

Reflect a zero-based base index within a sequence, rather than converting a one-based coordinate.

Loading tool…

Description

Reverse one zero-based sequence coordinate.

Genome annotations depend on coordinate origin, endpoint inclusion, strand and reading-phase conventions. A local offset or phase token can be handled precisely while a complete transcript, reference identity and biological reading frame remain separate validation questions.

Reverse one zero-based sequence coordinate.

When to use this tool

Use Reverse Strand One Coordinate Transform when checking the stated genomic coordinate, annotation phase or attribute-value convention.

How to use the tool and how it works

  1. Enter position, sequenceLength. 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 reversePosition. Use the output convention below.

Reverse one zero-based sequence coordinate. Require positive whole sequenceLength and position in [0,length); reversePosition = length-1-position.1

Input fieldMeaning and unitsAccepted input
positionPositionRequired. Safe integer; minimum 0.
sequenceLengthSequence LengthRequired. Safe integer; minimum 1.
Output fieldInterpretationReturned shape
reversePositionReverse PositionRequired. Safe integer.
json
{
  "input": {
    "position": 2,
    "sequenceLength": 10
  },
  "output": {
    "reversePosition": 7
  }
}

Limitations and assumptions

  • Only one coordinate is transformed; intervals, strand annotations, sequence content and reference identity are not validated.
  • 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 intended complete BED/GFF/GTF format, reference assembly and transcript model to validate full annotations and biological meaning.

References

  1. Calculation and input contract: bioinformatics/reverse-strand-one-coordinate-transform — tool.io

Similar or alternative tools