mythos.energy.na1.utils

Utility functions for oxNA energy calculations.

Functions

is_rna_pair(→ jax.numpy.ndarray)

Checks if both nucleotides at i and j are RNA.

is_dna_rna_pair(→ jax.numpy.ndarray)

Checks if i is DNA and j is RNA.

Module Contents

mythos.energy.na1.utils.is_rna_pair(i: int, j: int, nt_type: mythos.utils.types.Arr_Nucleotide) jax.numpy.ndarray[source]

Checks if both nucleotides at i and j are RNA.

mythos.energy.na1.utils.is_dna_rna_pair(i: int, j: int, nt_type: mythos.utils.types.Arr_Nucleotide) jax.numpy.ndarray[source]

Checks if i is DNA and j is RNA.