Go to the source code of this file.
Go to the SVN repository for this file.
CRef< objects::CDate_std > get_full_date (string_view date_view, bool is_ref, Parser::ESource source) TokenStatBlk TokenString (string_view str, Char delimiter) bool ParseAccessionRange (TokenStatBlk &, unsigned skip) void UnwrapAccessionRange (const objects::CGB_block::TExtra_accessions &extra_accs, objects::CGB_block::TExtra_accessions &hist) Int2 fta_StringMatch (const Char **array, string_view text) Int2 StringMatchIcase (const Char **array, string_view text) char * StringIStr (const Char *where, const Char *what) Int2 MatchArrayString (const Char **array, string_view text) Int2 MatchArrayIString (const Char **array, string_view text) Int2 MatchArraySubString (const Char **array, string_view text) Int2 MatchArrayISubString (const Char **array, string_view text) string GetBlkDataReplaceNewLine (string_view, Uint2 indent) void CleanTailNonAlphaChar (std::string &str) void PointToNextToken (char *&ptr) string GetTheCurrentToken (char **ptr) char * SrchTheChar (string_view where, Char letter) char * SrchTheStr (string_view where, string_view what) void CpSeqId (InfoBioseq *ibp, const objects::CSeq_id &id) int SrchKeyword (string_view, const vector< string > &keywordList) bool CheckLineType (string_view str, Int4 type, const vector< string > &keywordList, bool after_origin) bool SrchNodeType (const DataBlk &entry, Int4 type, size_t *len, char **) string_view GetNodeData (const DataBlk &entry, int nodeType) TDataBlkList & TrackNodes (const DataBlk &entry) DataBlk * TrackNodeType (const DataBlk &entry, Int2 type) const Section * xTrackNodeType (const Entry &, int type) bool fta_is_tpa_keyword (string_view str) bool fta_tpa_keywords_check (const TKeywordList &kwds) bool fta_is_tsa_keyword (string_view str) bool fta_is_tls_keyword (string_view str) bool fta_tsa_keywords_check (const TKeywordList &kwds, Parser::ESource source) bool fta_tls_keywords_check (const TKeywordList &kwds, Parser::ESource source) bool fta_check_mga_keywords (objects::CMolInfo &mol_info, const TKeywordList &kwds) void fta_StringCpy (char *dst, const char *src) void fta_keywords_check (string_view str, bool *estk, bool *stsk, bool *gssk, bool *htck, bool *flik, bool *wgsk, bool *tpak, bool *envk, bool *mgak, bool *tsak, bool *tlsk) void fta_remove_keywords (int tech, TKeywordList &kwds) void fta_remove_tpa_keywords (TKeywordList &kwds) void fta_remove_tsa_keywords (TKeywordList &kwds, Parser::ESource source) void fta_remove_tls_keywords (TKeywordList &kwds, Parser::ESource source) void fta_remove_env_keywords (TKeywordList &kwds) void fta_remove_mag_keywords (TKeywordList &kwds) bool IsCancelled (const TKeywordList &keywords) bool HasHtg (const TKeywordList &keywords) void RemoveHtgPhase (TKeywordList &keywords) bool HasHtc (const TKeywordList &keywords) bool SetTextId (Uint1 seqtype, objects::CSeq_id &seqId, objects::CTextseq_id &textId) void check_est_sts_gss_tpa_kwds (const TKeywordList &kwds, size_t len, IndexblkPtr entry, bool tpa_check, bool &specialist_db, bool &inferential, bool &experimental, bool &assembly) void xCheckEstStsGssTpaKeywords (const std::list< std::string > keywordList, bool tpa_check, IndexblkPtr entry) objects::CScope & GetScope () ◆ ParFlat_UNKW ◆ Unknown ◆ check_est_sts_gss_tpa_kwds()Definition at line 1270 of file utilfun.cpp.
References buf, NStr::EqualNocase(), Indexblk::EST, fta_keywords_check(), Indexblk::GSS, Indexblk::HTC, Indexblk::is_tpa, len, StringChr, and Indexblk::STS.
Referenced by GenBankIndex(), and XMLKeywordsCheck().
◆ CheckLineType() ◆ CleanTailNonAlphaChar() ◆ CpSeqId() ◆ fta_check_mga_keywords() ◆ fta_is_tls_keyword() bool fta_is_tls_keyword ( string_view str ) ◆ fta_is_tpa_keyword() bool fta_is_tpa_keyword ( string_view str ) ◆ fta_is_tsa_keyword() bool fta_is_tsa_keyword ( string_view str ) ◆ fta_keywords_check() void fta_keywords_check ( string_view str, bool * estk, bool * stsk, bool * gssk, bool * htck, bool * flik, bool * wgsk, bool * tpak, bool * envk, bool * mgak, bool * tsak, bool * tlsk )Definition at line 1094 of file utilfun.cpp.
References MatchArrayString(), ParFlat_ENV_kw_array, ParFlat_EST_kw_array, ParFlat_FLI_kw_array, ParFlat_GSS_kw_array, ParFlat_HTC_kw_array, ParFlat_MGA_kw_array, ParFlat_STS_kw_array, ParFlat_TLS_kw_array, ParFlat_TPA_kw_array, ParFlat_TSA_kw_array, ParFlat_WGS_kw_array, and str().
Referenced by check_est_sts_gss_tpa_kwds(), GetDescrEmblBlock(), GetGBBlock(), xCheckEstStsGssTpaKeywords(), XMLGetEMBLBlock(), and XMLGetGBBlock().
◆ fta_remove_env_keywords() ◆ fta_remove_keywords()Definition at line 1131 of file utilfun.cpp.
References b, CMolInfo_Base::eTech_est, CMolInfo_Base::eTech_fli_cdna, CMolInfo_Base::eTech_htc, CMolInfo_Base::eTech_sts, CMolInfo_Base::eTech_survey, CMolInfo_Base::eTech_wgs, ncbi::grid::netcache::search::fields::key, MatchArrayString(), ParFlat_EST_kw_array, ParFlat_FLI_kw_array, ParFlat_GSS_kw_array, ParFlat_HTC_kw_array, ParFlat_STS_kw_array, and ParFlat_WGS_kw_array.
Referenced by GetDescrEmblBlock(), GetGBBlock(), XMLGetEMBLBlock(), and XMLGetGBBlock().
◆ fta_remove_mag_keywords() ◆ fta_remove_tls_keywords() ◆ fta_remove_tpa_keywords() ◆ fta_remove_tsa_keywords() ◆ fta_StringCpy() void fta_StringCpy ( char * dst, const char * src )Definition at line 1382 of file utilfun.cpp.
Referenced by CheckDelGbblockSourceFromDescrs(), DefVsHTGKeywords(), ExtractErratum(), fta_get_part_sup(), fta_parse_rrna_feat(), fta_parse_structured_comment(), GetDescrComment(), GetSPDescrComment(), GetSPDescrTitle(), ind_subdbp(), LoadEntry(), LoadEntryGenbank(), ShrinkSpaces(), SPPostProcVarSeq(), SPValidateEcnum(), stripStr(), XMLGetDescr(), and XMLGetDescrComment().
◆ fta_StringMatch()Definition at line 409 of file utilfun.cpp.
References NStr::EqualCase(), i, StringLen(), and text().
Referenced by CheckDIV(), CheckNA(), CheckNADDBJ(), CkSPComTopics(), EmblGetDivisionNewID(), GetDescrEmblBlock(), GetEmblBlockXref(), IsTPAAccPrefix(), IsTSAAccPrefix(), IsWGSAccPrefix(), ParseSpComment(), and XMLGetEMBLBlock().
◆ fta_tls_keywords_check()Definition at line 1035 of file utilfun.cpp.
References Parser::EMBL, NStr::EqualNocase(), ERR_KEYWORD_MissingTLSKeywords, FtaErrPost, i, ncbi::grid::netcache::search::fields::key, MatchArrayIString(), ParFlat_TLS_kw_array, SEV_REJECT, and rapidjson::source.
Referenced by GetDescrEmblBlock(), GetGBBlock(), and XMLGetGBBlock().
◆ fta_tpa_keywords_check()Definition at line 919 of file utilfun.cpp.
References b, buf, NStr::EqualNocase(), ERR_KEYWORD_ConflictingTPATiers, ERR_KEYWORD_InvalidTPATier, ERR_KEYWORD_MissingTPAKeywords, ERR_KEYWORD_MissingTPATier, ERR_KEYWORD_UnexpectedTPA, FtaErrPost, i, ncbi::grid::netcache::search::fields::key, len, MatchArrayIString(), ParFlat_TPA_kw_array, SEV_ERROR, SEV_REJECT, and SEV_WARNING.
Referenced by GetDescrEmblBlock(), GetGBBlock(), and XMLGetGBBlock().
◆ fta_tsa_keywords_check()Definition at line 1001 of file utilfun.cpp.
References Parser::EMBL, NStr::EqualNocase(), ERR_KEYWORD_MissingTSAKeywords, FtaErrPost, i, ncbi::grid::netcache::search::fields::key, MatchArrayIString(), ParFlat_TSA_kw_array, SEV_REJECT, and rapidjson::source.
Referenced by GetDescrEmblBlock(), GetGBBlock(), and XMLGetGBBlock().
◆ get_full_date()Definition at line 740 of file utilfun.cpp.
References ERR_DATE_IllegalDate, ERR_REFERENCE_IllegalDate, FtaErrPost, int, isdigit(), months, msg(), Ref(), s_GetNextInt(), SEV_ERROR, SEV_WARNING, rapidjson::source, Parser::SPROT, and CTime::Year().
Referenced by get_pat(), get_sub(), get_sub_gsdb(), GetCitPatent(), GetUpdateDate(), and MakeDatePtr().
◆ GetBlkDataReplaceNewLine() string GetBlkDataReplaceNewLine ( string_view instr, Uint2 indent )Definition at line 562 of file utilfun.cpp.
References indent(), last(), NStr::Split(), and NStr::TruncateSpacesInPlace().
Referenced by GetDescrEmblBlock(), GetEmblDescr(), GetGBBlock(), GetGenBankDescr(), GetGenBankLineage(), GetSequenceOfKeywords(), GetSPDescrTitle(), SPFeatGeneRef(), SPFeatProtRef(), and SprotRefString().
◆ GetNodeData() ◆ GetScope() objects::CScope& GetScope ( )Definition at line 70 of file unit_test_seq_loc_cmp.cpp.
References CScope::AddDefaults(), CScope::AddTopLevelSeqEntry(), CObjectManager::GetInstance(), MSerial_AsnText, CGBDataLoader::RegisterInObjectManager(), CRef< C, Locker >::Reset(), s_Initialized, and sc_TestEntry.
Referenced by CGBDocument::AddItems(), CGBDocument::AttachDataLoader(), CGBDocument::AttachProjectItems(), BOOST_AUTO_TEST_CASE(), CFlatFileParser::CFlatFileParser(), CGBDocument::CreateProjectScope(), DealWithGenes(), CGBDocument::DetachDataLoader(), CEditingBtnsPanel::EditSequence(), CSequenceEditingEventHandler::EditSequence(), FinalCleanup(), FindCitInFeats(), fta_add_hist(), fta_get_gi_for_seq_id(), fta_parse_buf(), CMiscSeqTableColumn::GetRelatedApplyObjects(), InitAlnStats(), CAlnTestApp::LoadInputAlns(), CAlnBuildApp::LoadInputAlns(), CDiscrepancyPanel::OnSegregate(), CDiscrepancyPanel::OnSequester(), OutputEmblAsn(), PackSeqPntCheckCpp(), CAlnBuildApp::PrintAnchoredAln(), CGBDocument::ReplaceGiSeqIds(), CAlnTestApp::Run(), s_CloneBlastQueryVector(), SeqIntCheckCpp(), SeqPntCheckCpp(), sParseFlatfile(), SpPrepareEntry(), CGBDocument::x_AttachProjectItems(), CGBDocument::x_DetachProjectItems(), CDBSourceItem::x_FormatDBSourceID(), CAlnSpanVertModel::x_Init(), CBuffer_DataLoader::x_LoadData(), CSeqGraphicWidget::x_SaveVectorImage(), CSeqGraphicWidget::x_UpdateMarkerInfo(), CEmbl2Asn::xGetEntry(), CGenbank2Asn::xGetEntry(), CSwissProt2Asn::xGetEntry(), and CXml2Asn::xGetEntry().
◆ GetTheCurrentToken() string GetTheCurrentToken ( char ** ptr ) ◆ HasHtc() ◆ HasHtg() ◆ IsCancelled() ◆ MatchArrayIString()Definition at line 472 of file utilfun.cpp.
References NStr::EqualNocase(), i, and text().
Referenced by DbxrefQualToDbtag(), fta_check_mga_keywords(), fta_is_tls_keyword(), fta_is_tpa_keyword(), fta_is_tsa_keyword(), fta_remove_env_keywords(), fta_remove_mag_keywords(), fta_remove_tls_keywords(), fta_remove_tpa_keywords(), fta_remove_tsa_keywords(), fta_tls_keywords_check(), fta_tpa_keywords_check(), fta_tsa_keywords_check(), and SPGetPEValue().
◆ MatchArrayISubString() Int2 MatchArrayISubString ( const Char ** array, string_view text ) ◆ MatchArrayString()Definition at line 456 of file utilfun.cpp.
References NStr::Equal(), i, and text().
Referenced by CheckCollectionDate(), fta_check_mobile_element(), fta_check_ncrna(), fta_check_pseudogene_qual(), fta_check_satellite(), fta_keywords_check(), fta_remove_keywords(), GetFeatNameAndLoc(), GetRnaRef(), and UpdateRawBioSource().
◆ MatchArraySubString() Int2 MatchArraySubString ( const Char ** array, string_view text ) ◆ ParseAccessionRange()Definition at line 277 of file utilfun.cpp.
References ERR_ACCESSION_2ndAccPrefixMismatch, ERR_ACCESSION_Invalid2ndAccRange, NStr::fConvErr_NoThrow, first(), FtaErrPost, IsDigit(), IsLeadPrefixChar(), last(), TokenStatBlk::list, TokenStatBlk::num, SEV_REJECT, sIsPrefixChar(), NStr::StringToInt(), and tmp.
Referenced by GetAccession().
◆ PointToNextToken() void PointToNextToken ( char *& ptr ) ◆ RemoveHtgPhase() ◆ SetTextId() bool SetTextId ( Uint1 seqtype, objects::CSeq_id & seqId, objects::CTextseq_id & textId ) ◆ SrchKeyword() int SrchKeyword ( string_view str, const vector< string > & keywordList ) ◆ SrchNodeType()Definition at line 859 of file utilfun.cpp.
References DataBlk::len, DataBlk::mBuf, DataBlk::ptr, and TrackNodeType().
Referenced by fta_get_user_object(), GetDescrEmblBlock(), GetDRlineDataSP(), GetEmblBlockXref(), GetEmblDate(), GetEmblDescr(), GetFlatBiomol(), GetGBBlock(), GetGenBankDescr(), GetReleaseInfo(), GetSeqData(), GetSPDate(), GetSPDescrComment(), GetSprotDescr(), ParseSPFeat(), SpAddToIndexBlk(), SPFeatGeneRef(), SPFeatProtRef(), and SPGetPEValue().
◆ SrchTheChar() char* SrchTheChar ( string_view where, Char letter )Definition at line 665 of file utilfun.cpp.
Referenced by BuildFeatureBlock(), FakeGenBankBioSources(), fta_parse_tpa_tsa_block(), GetDescrComment(), GetEmblBlockXref(), GetEmblDate(), GetGBBlock(), GetReleaseInfo(), ParseSPFeat(), and TrimEmblFeatBlk().
◆ SrchTheStr() char* SrchTheStr ( string_view where, string_view what ) ◆ StringIStr()Definition at line 509 of file utilfun.cpp.
Referenced by CheckForUnusualFullLengthOrgs(), fill_orgref(), fta_get_trna_from_product(), fta_if_special_org(), fta_parse_rrna_feat(), fta_remark_is_er(), fta_strip_pub_comment(), get_embl_pmid(), get_embl_str_pub_id(), get_muid(), get_plasmid(), GetCitBook(), GetCitBookOld(), GetFlatBiomol(), GetRnaRef(), GetSPDescrTitle(), GetTaxnameNameFromDescrs(), GetViralHostsFrom_OH(), QualsToSeqID(), SPFeatGeneRef(), and SPGetVerNum().
◆ StringMatchIcase()Definition at line 430 of file utilfun.cpp.
References NStr::EqualNocase(), i, StringLen(), and text().
Referenced by CheckDelGbblockSourceFromDescrs(), CkLocusLinePos(), get_plasmid(), GetGenomeInfo(), GetSPGenomeFrom_OS_OG(), UpdateRawBioSource(), XMLCheckSTRAND(), and XMLCheckTPG().
◆ TokenString() ◆ TrackNodes()Definition at line 890 of file utilfun.cpp.
References EntryBlk::chain, and DataBlk::GetEntryData().
Referenced by check_cds(), FakeEmblBioSources(), get_plasmid(), GetEmblDescr(), GetEmblSubBlock(), GetGenBankDescr(), GetGenBankSubBlock(), GetSprotDescr(), GetSprotSubBlock(), ImpFeatPub(), LoadFeat(), SeqFeatPub(), and TrackNodeType().
◆ TrackNodeType()Definition at line 896 of file utilfun.cpp.
References TrackNodes().
Referenced by AddNIDSeqId(), DefVsHTGKeywords(), GetEmblDescr(), GetEmblInstContig(), GetFlatBiomol(), GetGenBankDescr(), GetGenBankInstContig(), GetGenBankSubBlock(), GetNodeData(), GetSprotSubBlock(), SrchNodeSubType(), and SrchNodeType().
◆ UnwrapAccessionRange() void UnwrapAccessionRange ( const objects::CGB_block::TExtra_accessions & extra_accs, objects::CGB_block::TExtra_accessions & hist ) ◆ xCheckEstStsGssTpaKeywords() ◆ xTrackNodeType()RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4