NCBI C++ ToolKit
Typedefs | Functions | Variables
RNA_ref.cpp File Reference
#include <ncbi_pch.hpp>
#include <objects/seqfeat/RNA_ref.hpp>
#include <objects/seqfeat/Trna_ext.hpp>
+ Include dependency graph for RNA_ref.cpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Typedefs

typedef CStaticPairArrayMap< CRNA_ref::EType, const char * > TRnaTypeMap
 

Functions

 DEFINE_STATIC_ARRAY_MAP (TRnaTypeMap, sc_RnaTypeMap, sc_rna_type_map)
 
static CTempString s_AaName (int aa)
 
static CTempString s_GetTrnaProduct (const CTrna_ext &trna)
 
static void s_SetTrnaProduct (CTrna_ext &trna, const string &product, string &remainder)
 

Variables

static const SStaticPair< CRNA_ref::EType, const char * > sc_rna_type_map []
 
static const char * sc_TrnaList []
 

Typedef Documentation

◆ TRnaTypeMap

Definition at line 70 of file RNA_ref.cpp.

Function Documentation

◆ DEFINE_STATIC_ARRAY_MAP()

DEFINE_STATIC_ARRAY_MAP ( TRnaTypeMap  ,
sc_RnaTypeMap  ,
sc_rna_type_map   
)

◆ s_AaName()

static CTempString s_AaName ( int  aa)
static

Definition at line 114 of file RNA_ref.cpp.

References ArraySize(), kEmptyStr, and sc_TrnaList.

Referenced by s_GetTrnaProduct().

◆ s_GetTrnaProduct()

static CTempString s_GetTrnaProduct ( const CTrna_ext trna)
static

◆ s_SetTrnaProduct()

static void s_SetTrnaProduct ( CTrna_ext trna,
const string product,
string remainder 
)
static

Variable Documentation

◆ sc_rna_type_map

const SStaticPair<CRNA_ref::EType, const char*> sc_rna_type_map[]
static
Initial value:
= {
{ CRNA_ref::eType_premsg, "precursor_RNA" },
{ CRNA_ref::eType_mRNA, "mRNA" },
{ CRNA_ref::eType_tRNA, "tRNA" },
{ CRNA_ref::eType_rRNA, "rRNA" },
{ CRNA_ref::eType_snRNA, "snRNA" },
{ CRNA_ref::eType_scRNA, "scRNA" },
{ CRNA_ref::eType_snoRNA, "snoRNA" },
{ CRNA_ref::eType_ncRNA, "ncRNA" },
{ CRNA_ref::eType_tmRNA, "tmRNA" },
{ CRNA_ref::eType_miscRNA, "misc_RNA" },
{ CRNA_ref::eType_other, "misc_RNA" }
}
@ eType_scRNA
will become ncRNA, with RNA-gen.class = scRNA
Definition: RNA_ref_.hpp:102
@ eType_snoRNA
will become ncRNA, with RNA-gen.class = snoRNA
Definition: RNA_ref_.hpp:103
@ eType_ncRNA
non-coding RNA; subsumes snRNA, scRNA, snoRNA
Definition: RNA_ref_.hpp:104
@ eType_snRNA
will become ncRNA, with RNA-gen.class = snRNA
Definition: RNA_ref_.hpp:101

Definition at line 56 of file RNA_ref.cpp.

◆ sc_TrnaList

const char* sc_TrnaList[]
static
Initial value:
= {
"tRNA-Gap",
"tRNA-Ala",
"tRNA-Asx",
"tRNA-Cys",
"tRNA-Asp",
"tRNA-Glu",
"tRNA-Phe",
"tRNA-Gly",
"tRNA-His",
"tRNA-Ile",
"tRNA-Xle",
"tRNA-Lys",
"tRNA-Leu",
"tRNA-Met",
"tRNA-Asn",
"tRNA-Pyl",
"tRNA-Pro",
"tRNA-Gln",
"tRNA-Arg",
"tRNA-Ser",
"tRNA-Thr",
"tRNA-Sec",
"tRNA-Val",
"tRNA-Trp",
"tRNA-OTHER",
"tRNA-Tyr",
"tRNA-Glx",
"tRNA-TERM"
}

Definition at line 83 of file RNA_ref.cpp.

Referenced by s_AaName(), and s_SetTrnaProduct().

Modified on Mon May 20 05:05:07 2024 by modify_doxy.py rev. 669887