Class InteractionType

    • Field Detail

      • BASE_BASE

        public static final InteractionType BASE_BASE
        A base-base interaction, base pair.
      • BASE_BASE_1H

        public static final InteractionType BASE_BASE_1H
        A weak base-base interaction, based on a single hydrogen bond only.
      • BASE_PHOSPHATE

        public static final InteractionType BASE_PHOSPHATE
        A base-phosphate interaction (see BPh).
      • BASE_RIBOSE

        public static final InteractionType BASE_RIBOSE
        A base-ribose interaction (see BR).
      • SUGAR_SUGAR

        public static final InteractionType SUGAR_SUGAR
        A ribose-ribose interaction.
      • STACKING

        public static final InteractionType STACKING
        A stacking interaction.
      • OTHER

        public static final InteractionType OTHER
        Another interaction type.
    • Constructor Detail

      • InteractionType

        public InteractionType()
    • Method Detail

      • isPairing

        public abstract boolean isPairing()
        Checks if this interaction is a basis for base pairing.
        Returns:
        True for BASE_BASE, false for all other types.
      • description

        @Default
        public String description()
        Returns:
        The description of this interaction type.
      • invert

        public final InteractionType invert()
        Returns:
        An instance where first and second interacting partners are inverted.