TRNAGene#

class pyaragorn.TRNAGene(Gene)#

A transfer RNA (tRNA) gene.

sequence()#

Retrieve the full sequence of the RNA gene.

amino_acid#

The 3-letter amino-acid(s) for this gene.

Hint

If the anticodon loop contains 6 or 8 bases, ??? is returned.

Type:

str

amino_acids#

All possible 3-letter amino-acids for this gene.

Hint

If the anticodon loop contains 6 or 8 bases, a tuple of two amino-acid is returned, otherwise a tuple with a single element is returned.

Type:

tuple of str

anticodon#

The anticodon of the tRNA gene.

Type:

str

anticodon_length#

The length of the anticodon (in nucleotides).

Type:

int

anticodon_offset#

The offset in the gene at which the anticodon starts.

Type:

int

begin#

The sequence coordinate at which the gene begins.

Hint

This coordinate is 1-based, inclusive. To use it to index a Python array or string, subtract one.

Type:

int

end#

The sequence coordinate at which the gene end.

Hint

This coordinate is 1-based, inclusive. To use it to index a Python array or string, subtract one.

Type:

int

energy#

The approximated normalised energy of the RNA structure.

Type:

float

length#

The length of the RNA gene.

Type:

int

raw_energy#

The un-normalized energy value of the RNA structure.

Type:

float

strand#

-1 if the gene is on the reverse strand, +1 otherwise.

Type:

int