NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include "ftacpp.hpp"
#include "index.h"
#include <objtools/flatfile/flatfile_parse_info.hpp>
#include "ftaerr.hpp"
#include "indx_blk.h"
#include "indx_def.h"
#include "utilfun.h"
#include <map>
Go to the source code of this file.
Go to the SVN repository for this file.
Macros | |
#define | THIS_FILE "indx_blk.cpp" |
Variables | |
static const char * | XML_STRAND_array [] |
static const char * | XML_TPG_array [] |
static const char * | ParFlat_NA_array_DDBJ [] |
static const char * | ParFlat_AA_array_DDBJ [] |
static const char * | ParFlat_NA_array [] |
static const char * | ParFlat_DIV_array [] |
static const char * | embl_accpref [] |
static const char * | lanl_accpref [] |
static const char * | sprot_accpref [] |
static const char * | ddbj_accpref [] |
static const char * | ncbi_accpref [] |
static const char * | refseq_accpref [] |
static const char * | acc_tsa_allowed [] |
static const char * | ncbi_tpa_accpref [] |
static const char * | ddbj_tpa_accpref [] |
static const char * | ncbi_wgs_accpref [] |
static const char * | ddbj_wgs_accpref [] |
static const set< string_view > | k_WgsScaffoldPrefix |
static const map< Parser::ESource, string > | sourceNames |
static const char * | month_name [] |
static const char * | ParFlat_RESIDUE_STR [] |
static const char * | ValidMolTypes [] |
#define THIS_FILE "indx_blk.cpp" |
Definition at line 51 of file indx_blk.cpp.
|
static |
Definition at line 1508 of file indx_blk.cpp.
References TokenBlk::c_str(), ERR_ACCESSION_BadAccessNum, ERR_ACCESSION_WGSProjectAccIsPri, ErrPostEx, fta_if_master_wgs_accession(), IsNewAccessFormat(), IsSPROTAccession(), len, TokenStatBlk::list, TokenBlk::next, Parser::Relaxed, SEV_ERROR, SEV_REJECT, sIsUpperAlpha(), sNotAllDigits(), rapidjson::source, Parser::SPROT, StringCpy(), and StringLen().
Referenced by GetAccession().
Definition at line 532 of file indx_blk.cpp.
References fta_StringMatch(), ParFlat_DIV_array, and str().
Referenced by CkLocusLinePos(), GetGBBlock(), and XMLGetGBBlock().
|
static |
Definition at line 379 of file indx_blk.cpp.
References Parser::DDBJ, ERR_LOCUS_BadLocusName, ErrPostEx, Parser::Flybase, Parser::NCBI, Parser::Refseq, SEV_ERROR, rapidjson::source, and StringEquN().
Referenced by InitialEntry().
Definition at line 419 of file indx_blk.cpp.
References ERR_LOCUS_BadLocusName, ErrPostEx, and SEV_ERROR.
Referenced by InitialEntry().
Definition at line 526 of file indx_blk.cpp.
References fta_StringMatch(), ParFlat_NA_array, and str().
Referenced by GetFlatBiomol().
Definition at line 520 of file indx_blk.cpp.
References fta_StringMatch(), ParFlat_NA_array_DDBJ, and str().
Referenced by GetFlatBiomol().
Definition at line 467 of file indx_blk.cpp.
References i, NStr::StartsWith(), str(), and NStr::ToLower().
Referenced by CkLocusLinePos(), GetEmblInst(), GetEmblMolInfo(), GetGenBankInst(), and Entry::xInitSeqInst().
Definition at line 502 of file indx_blk.cpp.
References i, NStr::StartsWith(), str(), and NStr::ToLower().
Referenced by CkLocusLinePos(), GetGenBankInst(), and Entry::xInitSeqInst().
Definition at line 454 of file indx_blk.cpp.
References isdigit(), MatchArraySubString(), and month_name.
Referenced by CkLocusLinePos(), and GetUpdateDate().
bool CkLocusLinePos | ( | char * | offset, |
Parser::ESource | source, | ||
LocusContPtr | lcp, | ||
bool | is_mga | ||
) |
Definition at line 538 of file indx_blk.cpp.
References LocusCont::bp, CheckDIV(), CheckSTRAND(), CheckTPG(), CkDateFormat(), LocusCont::date, Parser::DDBJ, LocusCont::div, ERR_FORMAT_IllegalCAGEMoltype, ERR_FORMAT_LocusLinePosition, ErrPostEx, i, Parser::LANL, MemCpy(), LocusCont::molecule, offset, ParFlat_AA_array_DDBJ, ParFlat_NA_array, ParFlat_NA_array_DDBJ, SEV_REJECT, SEV_WARNING, rapidjson::source, LocusCont::strand, StringChr, StringEquN(), StringEquNI(), StringMatchIcase(), and LocusCont::topology.
Referenced by GenBankIndex().
void CloseFiles | ( | ParserPtr | pp | ) |
void DelNonDigitTail | ( | string & | str | ) |
void DelNoneDigitTail | ( | char * | str | ) |
Definition at line 192 of file em_index.cpp.
References Parser::accver, CKeywordParser::AddDataLine(), TokenBlk::c_str(), checkedEmblKeywords, CheckLineType(), Parser::curindx, data, Indexblk::date, Parser::DDBJ, Indexblk::drop, em_err_field(), Parser::EMBL, Indexblk::embl_new_ID, EmblGetNewIDVersion(), emblKeywords, EmblSegment(), Parser::entrylist, ERR_ACCESSION_NoAccessNum, ERR_ENTRY_InvalidLineType, ERR_FORMAT_MissingEnd, ERR_FORMAT_Multiple_NI, ERR_FORMAT_Multiple_SV, ERR_ORGANISM_Multiple, ErrPostEx, ErrPostStr, Parser::ffbuf, FindNextEntryBuf(), FreeTokenstatblk(), FtaDeletePrefix(), FileBuf::get_offs(), GetAccession(), GetUpdateDate(), i, IndBlkNode::ibp, Parser::indx, InitialEntry(), Indexblk::is_contig, Indexblk::is_tpa, Indexblk::is_tpa_wgs_con, Indexblk::is_wgs, isalpha(), CKeywordParser::KeywordList(), Parser::KeywordParser(), Indexblk::len, FinfoBlk::line, TokenStatBlk::list, LoadEntry(), Indexblk::locusname, MemFree(), MsgSkipTitleFail(), TokenBlk::next, IndBlkNode::next, TokenStatBlk::num, Parser::num_drop, Indexblk::offset, Indexblk::origin, ParFlat_AC, ParFlat_AH, ParFlat_CO, ParFlat_COL_DATA_EMBL, ParFlat_DT, ParFlat_ID, ParFlat_KW, ParFlat_NI, ParFlat_OS, ParFlat_RN, ParFlat_SQ, ParFlat_SV, ParFlatEM_END, ParseEmblVersion(), PREFIX_ACCESSION, PREFIX_LOCUS, Parser::qsfd, QSIndex(), Parser::segment, SEV_ERROR, SEV_FATAL, SEV_INFO, SkipTitleBuf(), Parser::source, FinfoBlk::str, StringEquN(), StringNCpy(), StringNew(), TokenString(), Indexblk::tsa_allowed, xCheckEstStsGssTpaKeywords(), and XReadFileBuf().
Referenced by FlatFileIndex().
Definition at line 289 of file indx_blk.cpp.
References FileBuf::current, i, and ncbi::grid::netcache::search::fields::size.
Referenced by XReadFileBuf().
bool FindNextEntryBuf | ( | bool | end_of_file, |
FileBuf & | fbuf, | ||
FinfoBlk & | finfo, | ||
const CTempString & | keyword | ||
) |
Definition at line 2186 of file indx_blk.cpp.
References CTempString::data(), done, len, CTempString::size(), FinfoBlk::str, StringEquN(), and XReadFileBuf().
Referenced by EmblIndex(), GenBankIndex(), and SprotIndex().
Definition at line 2205 of file indx_blk.cpp.
References Parser::EMBL, EmblIndex(), Parser::format, Parser::GenBank, GenBankIndex(), Parser::SPROT, SprotIndex(), Parser::XML, and XMLIndex().
Referenced by fta_parse_buf(), and sParseFlatfile().
Definition at line 633 of file indx_blk.cpp.
References b, ERR_FORMAT_InvalidIDlineMolType, ErrPostEx, SEV_REJECT, str(), StringChr, StringEqu(), and ValidMolTypes.
Referenced by InitialEntry().
Definition at line 1064 of file indx_blk.cpp.
Referenced by CheckAccession().
int fta_if_wgs_acc | ( | string_view | accession | ) |
Definition at line 1191 of file indx_blk.cpp.
References i, isalpha(), NStr::IsBlank(), isdigit(), k_WgsScaffoldPrefix, s_IsVDBWGSScaffold(), and s_RefineWGSType().
Referenced by BOOST_AUTO_TEST_CASE(), fta_add_hist(), fta_check_con_for_wgs(), fta_create_wgs_seqid(), fta_fix_secondaries(), fta_ranges_to_hist(), GetDescrEmblBlock(), GetExtraAccession(), IsTLSAccPrefix(), IsTSAAccPrefix(), and XMLGetEMBLBlock().
Definition at line 343 of file gb_index.cpp.
References Parser::accver, Indexblk::acnum, Indexblk::assembly, check_est_sts_gss_tpa_kwds(), CheckLineType(), CkLocusLinePos(), ConstructValNode(), Parser::curindx, Parser::DDBJ, Indexblk::drop, e_not_set, Parser::EMBL, Parser::entrylist, ERR_ACCESSION_NoAccessNum, ERR_ENTRY_InvalidLineType, ERR_FORMAT_ContigInSegset, ERR_FORMAT_IncorrectMGALine, ERR_FORMAT_LineTypeOrder, ErrPostEx, Indexblk::experimental, Parser::ffbuf, FindNextEntryBuf(), Parser::Flybase, fta_check_mga_line(), FtaDeletePrefix(), gb_err_field(), genbankKeywords, FileBuf::get_offs(), GetAccession(), GetSegment(), Parser::HTGSCON, i, IndBlkNode::ibp, if(), Parser::ign_toks, Parser::indx, Indexblk::inferential, InitialEntry(), Indexblk::is_contig, Indexblk::is_mga, Indexblk::is_tpa, Indexblk::is_tpa_wgs_con, Indexblk::is_wgs, NStr::IsBlank(), Indexblk::lc, Indexblk::len, FinfoBlk::line, Indexblk::linenum, MemFree(), Parser::mode, MsgSkipTitleFail(), IndBlkNode::next, Parser::num_drop, Indexblk::offset, Indexblk::origin, ParFlat_ACCESSION, ParFlat_COL_DATA, ParFlat_COMMENT, ParFlat_CONTIG, ParFlat_DBLINK, ParFlat_DEFINITION, ParFlat_END, ParFlat_FEATURES, ParFlat_KEYWORDS, ParFlat_LOCUS, ParFlat_MGA, ParFlat_NCBI_GI, ParFlat_ORIGIN, ParFlat_PRIMARY, ParFlat_REFERENCE, ParFlat_SEGMENT, ParFlat_SOURCE, ParFlat_UNKW, ParFlat_USER, ParFlat_VERSION, ParseGenBankVersion(), PREFIX_ACCESSION, PREFIX_LOCUS, Parser::qsfd, QSIndex(), Parser::Refseq, Parser::Relaxed, Indexblk::segnum, SEV_ERROR, SEV_REJECT, SkipTitleBuf(), Parser::source, Indexblk::specialist_db, SrchKeyword(), FinfoBlk::str, StringEquN(), StringLen(), StringNCpy(), StringNew(), StringSave, StringStr, Indexblk::tsa_allowed, ValNodeFreeData(), ValNodeNew(), Indexblk::vernum, Indexblk::wgs_and_gi, and XReadFileBuf().
Referenced by FlatFileIndex().
const char** GetAccArray | ( | Parser::ESource | source | ) |
Definition at line 2231 of file indx_blk.cpp.
References Parser::DDBJ, ddbj_accpref, Parser::EMBL, embl_accpref, Parser::LANL, lanl_accpref, Parser::NCBI, ncbi_accpref, Parser::Refseq, refseq_accpref, rapidjson::source, Parser::SPROT, and sprot_accpref.
Referenced by FillAccsBySource().
bool GetAccession | ( | ParserPtr | pp, |
const char * | str, | ||
IndexblkPtr | entry, | ||
unsigned | skip | ||
) |
Definition at line 1937 of file indx_blk.cpp.
References Parser::accpref, Parser::accver, Indexblk::acnum, Parser::acprefix, TokenBlk::c_str(), CheckAccession(), Parser::DDBJ, DelNoneDigitTail(), Indexblk::drop, ERR_ACCESSION_BadAccessNum, ERR_ACCESSION_NoAccessNum, ErrPostEx, Parser::Flybase, Parser::format, FreeTokenstatblk(), FtaInstallPrefix(), i, Indexblk::is_mga, Indexblk::is_pat, Indexblk::is_tpa, Indexblk::is_wgs, IsNewAccessFormat(), IsPatentedAccPrefix(), IsTLSAccPrefix(), IsTPAAccPrefix(), IsTSAAccPrefix(), IsValidAccessPrefix(), IsWGSAccPrefix(), Indexblk::linenum, TokenStatBlk::list, Indexblk::locusname, MemFree(), Parser::mode, TokenBlk::next, TokenStatBlk::num, ParseAccessionRange(), PREFIX_ACCESSION, Parser::Relaxed, Indexblk::secaccs, SEV_ERROR, Parser::source, sourceNames, str(), StringChr, StringCpy(), StringEqu(), StringLen(), StringSave, TokenString(), Parser::USPTO, Indexblk::vernum, Indexblk::wgs_and_gi, and Parser::XML.
CSeq_id::E_Choice GetNucAccOwner | ( | const CTempString & | acc | ) |
Definition at line 2268 of file indx_blk.cpp.
References CSeq_id_Base::e_not_set, CSeq_id::fAcc_prot, CSeq_id::GetAccType(), CSeq_id::IdentifyAccession(), info, isSupportedAccession(), and type.
Referenced by fta_add_hist(), fta_check_compare_qual(), fta_check_non_tpa_tsa_tls_locations(), fta_parse_tpa_tsa_block(), GetDRlineDataSP(), GetExtraAccession(), and GetProtRefSeqId().
CSeq_id::E_Choice GetProtAccOwner | ( | const CTempString & | acc | ) |
Definition at line 2285 of file indx_blk.cpp.
References CSeq_id_Base::e_not_set, CSeq_id::fAcc_prot, CSeq_id::GetAccType(), CSeq_id::IdentifyAccession(), info, isSupportedAccession(), and type.
Referenced by fta_check_embl_drxref_dups(), GetDRlineDataSP(), and GetProtRefSeqId().
|
static |
Definition at line 234 of file indx_blk.cpp.
References b, TokenBlk::c_str(), NStr::CompareNocase(), i, TokenStatBlk::list, TokenBlk::next, TokenStatBlk::num, and ParFlat_RESIDUE_STR.
Referenced by InitialEntry(), and TestUtil::PrintSequence().
CRef<CDate_std> GetUpdateDate | ( | const char * | ptr, |
Parser::ESource | source | ||
) |
Definition at line 611 of file indx_blk.cpp.
References CkDateFormat(), CTime::eCurrent, get_full_date(), MemCpy(), rapidjson::source, Parser::SPROT, and StringEquN().
Referenced by EmblIndex(), GetEmblDate(), GetGenBankDescr(), GetSPDate(), InitialEntry(), SprotIndex(), XMLGetDescr(), XMLGetEMBLBlock(), and XMLInitialEntry().
IndexblkPtr InitialEntry | ( | ParserPtr | pp, |
FinfoBlk & | finfo | ||
) |
Definition at line 788 of file indx_blk.cpp.
References LocusCont::bases, Indexblk::bases, Indexblk::blocusname, LocusCont::bp, TokenBlk::c_str(), CheckLocus(), CheckLocusSP(), TokenBlk::data(), LocusCont::date, Indexblk::date, Parser::DDBJ, LocusCont::div, Parser::EMBL, Indexblk::embl_new_ID, TokenBlk::empty(), ERR_ENTRY_Skipped, ERR_FORMAT_BadlyFormattedIDLine, ERR_LOCUS_NoLocusName, ErrPostEx, ErrPostStr, Indexblk::EST, Parser::format, FreeTokenstatblk(), fta_check_embl_moltype(), FtaInstallPrefix(), Parser::GenBank, GetResidue(), GetUpdateDate(), Indexblk::GSS, Indexblk::HTC, i, Indexblk::is_pat, Indexblk::is_tls, Indexblk::is_tsa, Indexblk::lc, FinfoBlk::line, Indexblk::linenum, TokenStatBlk::list, Indexblk::locusname, Parser::mode, LocusCont::molecule, TokenBlk::next, TokenStatBlk::num, Indexblk::offset, ParFlat_COL_BASES, ParFlat_COL_BASES_NEW, ParFlat_COL_BP, ParFlat_COL_BP_NEW, ParFlat_COL_DATE, ParFlat_COL_DATE_NEW, ParFlat_COL_DIV, ParFlat_COL_DIV_NEW, ParFlat_COL_MOLECULE, ParFlat_COL_MOLECULE_NEW, ParFlat_COL_STRAND, ParFlat_COL_STRAND_NEW, ParFlat_COL_TOPOLOGY, ParFlat_COL_TOPOLOGY_NEW, FinfoBlk::pos, Indexblk::ppp, PREFIX_ACCESSION, PREFIX_LOCUS, Parser::Relaxed, SEV_ERROR, SEV_REJECT, Parser::source, Parser::SPROT, sSetLocusLineOffsets(), FinfoBlk::str, LocusCont::strand, StringChr, StringCpy(), StringEqu(), StringEquNI(), StringLen(), Indexblk::STS, TokenString(), and LocusCont::topology.
Referenced by EmblIndex(), GenBankIndex(), and SprotIndex().
Definition at line 993 of file indx_blk.cpp.
References isdigit(), and sIsUpperAlpha().
Referenced by CheckAccession(), fta_fix_seq_id(), fta_fix_seq_loc_id(), get_sub(), GetAccession(), GetGBBlock(), IsValidAccessPrefix(), and XMLGetGBBlock().
Definition at line 1606 of file indx_blk.cpp.
References Parser::all, Parser::DDBJ, Parser::EMBL, Parser::NCBI, Parser::source, StringEqu(), and StringEquN().
Referenced by GetAccession().
Definition at line 675 of file indx_blk.cpp.
References isspace().
Referenced by sFindNextNonSpace(), and sFindNextSpace().
Definition at line 1255 of file indx_blk.cpp.
References b, len, sprot_accpref, StringEquN(), and StringLen().
Referenced by CheckAccession(), and GetSprotDescr().
bool isSupportedAccession | ( | CSeq_id::E_Choice | type | ) |
Definition at line 2248 of file indx_blk.cpp.
References CSeq_id_Base::e_Ddbj, CSeq_id_Base::e_Embl, CSeq_id_Base::e_Genbank, CSeq_id_Base::e_Other, CSeq_id_Base::e_Tpd, CSeq_id_Base::e_Tpe, and CSeq_id_Base::e_Tpg.
Referenced by fta_fix_seq_id(), GetNucAccOwner(), and GetProtAccOwner().
|
static |
Definition at line 1772 of file indx_blk.cpp.
References Indexblk::acnum, Parser::all, Parser::DDBJ, fta_if_wgs_acc(), Indexblk::is_tls, Parser::NCBI, Parser::source, and StringLen().
Referenced by GetAccession().
Definition at line 1673 of file indx_blk.cpp.
References Parser::all, Parser::DDBJ, ddbj_tpa_accpref, fta_StringMatch(), i, Parser::NCBI, ncbi_tpa_accpref, Parser::source, and StringLen().
Referenced by GetAccession().
|
static |
Definition at line 1717 of file indx_blk.cpp.
References acc_tsa_allowed, Indexblk::acnum, Parser::all, Parser::DDBJ, Parser::EMBL, fta_if_wgs_acc(), fta_StringMatch(), Indexblk::is_tsa, Parser::NCBI, Parser::source, StringEqu(), StringEquN(), StringLen(), and Indexblk::tsa_allowed.
Referenced by GetAccession().
Definition at line 1045 of file indx_blk.cpp.
References b, i, IsNewAccessFormat(), StringEquN(), and StringLen().
Referenced by GetAccession().
Definition at line 1702 of file indx_blk.cpp.
References Parser::all, Parser::DDBJ, ddbj_wgs_accpref, fta_StringMatch(), Parser::NCBI, ncbi_wgs_accpref, Parser::source, and StringLen().
Referenced by GetAccession().
Definition at line 2178 of file indx_blk.cpp.
References ERR_ENTRY_Begin, ErrPostEx, and SEV_ERROR.
Referenced by EmblIndex(), GenBankIndex(), and SprotIndex().
void ResetParserStruct | ( | ParserPtr | pp | ) |
Definition at line 2111 of file indx_blk.cpp.
References Parser::curindx, Parser::entrylist, FreeIndexblk(), ProtBlk::ibp, Parser::indx, and Parser::pbp.
Referenced by fta_parse_buf(), and Parser::~Parser().
Definition at line 1088 of file indx_blk.cpp.
References isalpha(), and isdigit().
Referenced by fta_if_wgs_acc().
Definition at line 1130 of file indx_blk.cpp.
Referenced by fta_if_wgs_acc().
|
static |
Definition at line 689 of file indx_blk.cpp.
References CTempString::end(), and isSpace().
Referenced by sSetLocusLineOffsets().
|
static |
Definition at line 681 of file indx_blk.cpp.
References CTempString::end(), and isSpace().
Referenced by sSetLocusLineOffsets().
Definition at line 988 of file indx_blk.cpp.
Referenced by CheckAccession(), and IsNewAccessFormat().
NCBI_UNUSED bool SkipTitle | ( | FILE * | fp, |
FinfoBlk & | finfo, | ||
const char * | str, | ||
size_t | len | ||
) |
Definition at line 342 of file indx_blk.cpp.
References fp, len, str(), FinfoBlk::str, StringEquN(), and XReadFile().
Referenced by SkipTitle().
NCBI_UNUSED bool SkipTitle | ( | FILE * | fp, |
FinfoBlk & | finfo, | ||
const CTempString & | keyword | ||
) |
Definition at line 352 of file indx_blk.cpp.
References CTempString::data(), fp, CTempString::size(), and SkipTitle().
bool SkipTitleBuf | ( | FileBuf & | fbuf, |
FinfoBlk & | finfo, | ||
const CTempString & | keyword | ||
) |
Definition at line 358 of file indx_blk.cpp.
References CTempString::data(), len, CTempString::size(), FinfoBlk::str, StringEquN(), and XReadFileBuf().
Referenced by EmblIndex(), GenBankIndex(), and SprotIndex().
Definition at line 1491 of file indx_blk.cpp.
References first(), isdigit(), and last().
Referenced by CheckAccession().
Definition at line 109 of file sp_index.cpp.
References TokenBlk::c_str(), Parser::curindx, data, Indexblk::date, Indexblk::drop, Parser::entrylist, ERR_ACCESSION_NoAccessNum, ERR_ENTRY_InvalidLineType, ERR_FORMAT_MissingEnd, ErrPostEx, ErrPostStr, Parser::ffbuf, FindNextEntryBuf(), FreeTokenstatblk(), FileBuf::get_offs(), GetAccession(), GetUpdateDate(), i, IndBlkNode::ibp, Parser::indx, InitialEntry(), isalpha(), Indexblk::len, TokenStatBlk::list, LoadEntry(), MsgSkipTitleFail(), TokenBlk::next, IndBlkNode::next, TokenStatBlk::num, Parser::num_drop, Indexblk::offset, ParFlat_COL_DATA_SP, ParFlatSP_AC, ParFlatSP_DT, ParFlatSP_END, ParFlatSP_ID, ParFlatSP_OS, ParFlatSP_RN, ParFlatSP_SQ, PointToNextToken(), SEV_ERROR, SkipTitleBuf(), Parser::source, Parser::sp_dt_seq_ver, sp_err_field(), SPGetVerNum(), FinfoBlk::str, StringEquN(), StringEquNI(), swissProtKeywords, TokenString(), Indexblk::vernum, and XReadFileBuf().
Referenced by FlatFileIndex().
|
static |
Definition at line 696 of file indx_blk.cpp.
References LocusCont::bases, CTempString::begin(), LocusCont::bp, LocusCont::date, LocusCont::div, CTempString::end(), LocusCont::molecule, sFindNextNonSpace(), sFindNextSpace(), LocusCont::strand, NStr::StringToNonNegativeInt(), CTempString::substr(), and LocusCont::topology.
Referenced by InitialEntry().
USING_SCOPE | ( | objects | ) |
Definition at line 485 of file indx_blk.cpp.
References str(), StringMatchIcase(), and XML_STRAND_array.
Referenced by XMLGetInst().
Definition at line 491 of file indx_blk.cpp.
References i, str(), StringMatchIcase(), and XML_TPG_array.
Referenced by XMLGetInst().
Definition at line 1420 of file xm_index.cpp.
References Parser::accver, Indexblk::bases, Parser::curindx, Indexblk::drop, Parser::entrylist, ERR_FORMAT_MissingEnd, ERR_FORMAT_XMLFormatError, ERR_INPUT_CannotReadEntry, ErrPostEx, Parser::indx, Indexblk::len, Indexblk::linenum, MemFree(), Parser::num_drop, SEV_ERROR, SEV_FATAL, Parser::source, Indexblk::xip, xmkwl, XMLAccessionsCheck(), XMLCheckRequiredTags(), XMLGetSegment(), XMLIndexFeatures(), XMLIndexReferences(), XMLInitialEntry(), XMLKeywordsCheck(), XMLLoadEntry(), XMLPerformIndex(), and XMLTagCheck().
Referenced by FlatFileIndex().
Definition at line 263 of file indx_blk.cpp.
References fp, FinfoBlk::line, n, FinfoBlk::pos, FinfoBlk::str, StringCpy(), and StringEquN().
Referenced by SkipTitle().
Definition at line 314 of file indx_blk.cpp.
References FileGetsBuf(), FileBuf::get_offs(), FinfoBlk::line, FinfoBlk::pos, FinfoBlk::str, StringCpy(), and StringEquN().
Referenced by EmblIndex(), FindNextEntryBuf(), GenBankIndex(), SkipTitleBuf(), and SprotIndex().
|
static |
Definition at line 145 of file indx_blk.cpp.
Referenced by IsTSAAccPrefix().
|
static |
Definition at line 104 of file indx_blk.cpp.
Referenced by GetAccArray().
|
static |
Definition at line 155 of file indx_blk.cpp.
Referenced by IsTPAAccPrefix().
|
static |
Definition at line 163 of file indx_blk.cpp.
Referenced by IsWGSAccPrefix().
|
static |
Definition at line 87 of file indx_blk.cpp.
Referenced by GetAccArray().
Definition at line 167 of file indx_blk.cpp.
Referenced by fta_if_wgs_acc().
|
static |
Definition at line 96 of file indx_blk.cpp.
Referenced by GetAccArray().
|
static |
Definition at line 187 of file indx_blk.cpp.
Referenced by CkDateFormat(), and get_month_code_by_name().
|
static |
Definition at line 114 of file indx_blk.cpp.
Referenced by GetAccArray().
|
static |
Definition at line 151 of file indx_blk.cpp.
Referenced by IsTPAAccPrefix().
|
static |
Definition at line 159 of file indx_blk.cpp.
Referenced by IsWGSAccPrefix().
|
static |
Definition at line 70 of file indx_blk.cpp.
Referenced by CkLocusLinePos().
|
static |
Definition at line 81 of file indx_blk.cpp.
Referenced by CheckDIV().
|
static |
Definition at line 74 of file indx_blk.cpp.
Referenced by CheckNA(), and CkLocusLinePos().
|
static |
Definition at line 66 of file indx_blk.cpp.
Referenced by CheckNADDBJ(), and CkLocusLinePos().
|
static |
Definition at line 191 of file indx_blk.cpp.
Referenced by GetResidue().
|
static |
Definition at line 134 of file indx_blk.cpp.
Referenced by GetAccArray().
|
static |
Definition at line 176 of file indx_blk.cpp.
Referenced by GetAccession().
|
static |
Definition at line 100 of file indx_blk.cpp.
Referenced by GetAccArray(), and IsSPROTAccession().
|
static |
Definition at line 195 of file indx_blk.cpp.
Referenced by fta_check_embl_moltype().
|
static |
Definition at line 58 of file indx_blk.cpp.
Referenced by XMLCheckSTRAND().
|
static |
Definition at line 62 of file indx_blk.cpp.
Referenced by XMLCheckTPG().