70 rval =
"completedness";
82 rval =
"representation";
94 rval =
"\"descr..molinfo.biomol\"";
97 rval =
"\"descr..molinfo.tech\"";
100 rval =
"\"descr..molinfo.completeness\"";
103 rval =
"\"inst.mol\"";
106 rval =
"\"inst.topology\"";
109 rval =
"\"inst.strand\"";
112 rval =
"\"inst.repr\"";
160 if (it->second == biomol) {
217 if (it->second == tech) {
264 if (it->second ==
val) {
306 if (it->second ==
val) {
347 if (it->second ==
val) {
388 if (it->second ==
val) {
430 for (
auto& it: k_repr_names) {
431 if (it.second == repr) {
443 for (
auto& it : k_repr_names) {
455 vector<string> choices;
457 switch (field_type) {
460 choices.push_back(it->first);
466 choices.push_back(it->first);
472 choices.push_back(it->first);
478 choices.push_back(it->first);
484 choices.push_back(it->first);
489 choices.push_back(it->first);
494 for (
auto& it : k_repr_names) {
495 choices.push_back(it.first);
507 vector<string> values;
508 switch (field_type) {
511 values.push_back(
"unknown");
512 values.push_back(
"cRNA");
513 values.push_back(
"genomic");
514 values.push_back(
"genomic-mRNA");
515 values.push_back(
"mRNA");
516 values.push_back(
"ncRNA");
517 values.push_back(
"other");
518 values.push_back(
"other-genetic");
519 values.push_back(
"peptide");
520 values.push_back(
"pre-RNA");
521 values.push_back(
"rRNA");
522 values.push_back(
"scRNA");
523 values.push_back(
"snRNA");
524 values.push_back(
"snoRNA");
525 values.push_back(
"tRNA");
526 values.push_back(
"tmRNA");
527 values.push_back(
"transcribed-RNA");
532 values.push_back(
"unknown");
533 values.push_back(
"est");
534 values.push_back(
"fli-cdna");
535 values.push_back(
"htc");
536 values.push_back(
"htgs-0");
537 values.push_back(
"htgs-1");
538 values.push_back(
"htgs-2");
539 values.push_back(
"htgs-3");
540 values.push_back(
"sts");
541 values.push_back(
"tsa");
542 values.push_back(
"wgs");
543 values.push_back(
"both");
544 values.push_back(
"composite-wgs-htgs");
545 values.push_back(
"concept-trans");
546 values.push_back(
"concept-trans-a");
547 values.push_back(
"derived");
548 values.push_back(
"genemap");
549 values.push_back(
"physmap");
550 values.push_back(
"seq-pept");
551 values.push_back(
"seq-pept-homol");
552 values.push_back(
"seq-pept-overlap");
553 values.push_back(
"standard");
554 values.push_back(
"survey");
559 values.push_back(
"unknown");
560 values.push_back(
"complete");
561 values.push_back(
"has-left");
562 values.push_back(
"has-right");
563 values.push_back(
"no-ends");
564 values.push_back(
"no-left");
565 values.push_back(
"no-right");
566 values.push_back(
"other");
567 values.push_back(
"partial");
572 values.push_back(
"not-set");
573 values.push_back(
"dna");
574 values.push_back(
"rna");
575 values.push_back(
"na");
576 values.push_back(
"other");
577 values.push_back(
"aa");
582 values.push_back(
"not-set");
583 values.push_back(
"circular");
584 values.push_back(
"linear");
585 values.push_back(
"other");
586 values.push_back(
"tandem");
591 values.push_back(
"not-set");
592 values.push_back(
"ds");
593 values.push_back(
"mixed");
594 values.push_back(
"other");
595 values.push_back(
"ss");
600 values.push_back(
"not-set");
601 values.push_back(
"virtual");
602 values.push_back(
"raw");
603 values.push_back(
"seg");
604 values.push_back(
"const");
605 values.push_back(
"ref");
606 values.push_back(
"consen");
607 values.push_back(
"map");
608 values.push_back(
"delta");
609 values.push_back(
"other");
static string GetBiomolLabel(objects::CMolInfo::TBiomol biomol)
static objects::CSeq_inst::TStrand GetStrandFromLabel(const string &val)
static objects::CSeq_inst::TMol GetMolFromLabel(const string &val)
static vector< string > GetFieldNames()
static vector< string > GetMacroFieldNames()
static string GetTechLabel(objects::CMolInfo::TTech tech)
static objects::CSeq_inst::TTopology GetTopologyFromLabel(const string &val)
static objects::CSeq_inst::TRepr GetReprFromLabel(const string &val)
static EMolInfoFieldType GetFieldType(const string &field_name)
static string GetReprLabel(objects::CSeq_inst::TRepr val)
static objects::CMolInfo::TTech GetTechFromLabel(const string &val)
static string GetStrandLabel(objects::CSeq_inst::TStrand val)
static string GetMolLabel(objects::CSeq_inst::TMol val)
static string GetTopologyLabel(objects::CSeq_inst::TTopology tech)
static objects::CMolInfo::TCompleteness GetCompletenessFromLabel(const string &val)
static string GetMacroFieldName(EMolInfoFieldType field_type)
static objects::CMolInfo::TBiomol GetBiomolFromLabel(const string &val)
static string GetFieldName(EMolInfoFieldType field_type)
static vector< string > GetChoicesForField(CMolInfoFieldType::EMolInfoFieldType field_type, bool &allow_other)
static string GetCompletenessLabel(objects::CMolInfo::TCompleteness tech)
static vector< string > GetValuesForField(EMolInfoFieldType field_type)
class CStaticArrayMap<> is an array adaptor that provides an STLish interface to statically-defined a...
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)
Check if a string is blank (has no text).
static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
ERepr
representation class
ETopology
topology of molecule
EMol
molecule class in living organism
EStrand
strandedness in living organism
@ eRepr_const
constructed sequence
@ eRepr_ref
reference to another sequence
@ eRepr_seg
segmented sequence
@ eRepr_delta
sequence made by changes (delta) to others
@ eRepr_map
ordered map of any kind
@ eRepr_consen
consensus sequence or pattern
@ eRepr_raw
continuous sequence
@ eRepr_virtual
no seq data
@ eCompleteness_has_left
5' or NH3 end present
@ eCompleteness_complete
complete biological entity
@ eCompleteness_has_right
3' or COOH end present
@ eCompleteness_no_left
missing 5' or NH3 end
@ eCompleteness_partial
partial but no details given
@ eCompleteness_no_right
missing 3' or COOH end
@ eCompleteness_no_ends
missing both ends
@ eTech_htgs_2
ordered High Throughput sequence contig
@ eTech_physmap
from physical mapping techniques
@ eTech_other
use Source.techexp
@ eTech_htc
high throughput cDNA
@ eTech_both
concept transl. w/ partial pept. seq.
@ eTech_seq_pept_homol
sequenced peptide, ordered by homology
@ eTech_composite_wgs_htgs
composite of WGS and HTGS
@ eTech_sts
Sequence Tagged Site.
@ eTech_htgs_3
finished High Throughput sequence
@ eTech_seq_pept_overlap
sequenced peptide, ordered by overlap
@ eTech_htgs_1
unordered High Throughput sequence contig
@ eTech_concept_trans
conceptual translation
@ eTech_tsa
transcriptome shotgun assembly
@ eTech_standard
standard sequencing
@ eTech_wgs
whole genome shotgun sequencing
@ eTech_seq_pept
peptide was sequenced
@ eTech_survey
one-pass genomic sequence
@ eTech_htgs_0
single genomic reads for coordination
@ eTech_derived
derived from other data, not a primary entity
@ eTech_fli_cdna
full length insert cDNA
@ eTech_est
Expressed Sequence Tag.
@ eTech_concept_trans_a
conceptual transl. supplied by author
@ eTech_genemap
from genetic mapping techniques
@ eBiomol_pre_RNA
precursor RNA of any sort really
@ eBiomol_cRNA
viral RNA genome copy intermediate
@ eBiomol_snoRNA
small nucleolar RNA
@ eBiomol_genomic_mRNA
reported a mix of genomic and cdna sequence
@ eBiomol_transcribed_RNA
transcribed RNA other than existing classes
@ eBiomol_other_genetic
other genetic material
@ eTopology_tandem
some part of tandem repeat
@ eMol_not_set
> cdna = rna
@ eMol_na
just a nucleic acid
@ eStrand_other
default ds for DNA, ss for RNA, pept
@ eStrand_ds
double strand
@ eStrand_ss
single strand
CStaticPairArrayMap< const char *, CSeq_inst::TRepr, PCase_CStr > TCStringReprPairsMap
CStaticPairArrayMap< const char *, CSeq_inst::TMol, PCase_CStr > TCStringMolPairsMap
static const SStaticPair< const char *, CMolInfo::TCompleteness > s_map_completeness_names[]
CStaticPairArrayMap< const char *, CSeq_inst::TTopology, PCase_CStr > TCStringTopologyPairsMap
static const SStaticPair< const char *, CSeq_inst::TTopology > s_map_topology_names[]
DEFINE_STATIC_ARRAY_MAP(TCStringBiomolPairsMap, k_biomol_names, s_map_biomol_names)
static const SStaticPair< const char *, CSeq_inst::TRepr > s_map_repr_names[]
CStaticPairArrayMap< const char *, CMolInfo::TCompleteness, PCase_CStr > TCStringCompletenessPairsMap
static const SStaticPair< const char *, CSeq_inst::TMol > s_map_mol_names[]
CStaticPairArrayMap< const char *, CSeq_inst::TStrand, PCase_CStr > TCStringStrandPairsMap
CStaticPairArrayMap< const char *, CMolInfo::TBiomol, PCase_CStr > TCStringBiomolPairsMap
static const SStaticPair< const char *, CMolInfo::TBiomol > s_map_biomol_names[]
static const SStaticPair< const char *, CMolInfo::TTech > s_map_tech_names[]
static const SStaticPair< const char *, CSeq_inst::TStrand > s_map_strand_names[]
CStaticPairArrayMap< const char *, CMolInfo::TBiomol, PCase_CStr > TCStringTechPairsMap
static int match(register const pcre_uchar *eptr, register const pcre_uchar *ecode, const pcre_uchar *mstart, int offset_top, match_data *md, eptrblock *eptrb, unsigned int rdepth)
bool QualifierNamesAreEquivalent(string name1, string name2)
Template structure SStaticPair is simlified replacement of STL pair<> Main reason of introducing this...