⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 blast_options.hpp

📁 ncbi源码
💻 HPP
📖 第 1 页 / 共 5 页
字号:
inline voidCBlastOptionsLocal::SetHitlistSize(int s){    m_HitSaveOpts->hitlist_size = s;}inline intCBlastOptionsLocal::GetPrelimHitlistSize() const{    return m_HitSaveOpts->prelim_hitlist_size;}inline voidCBlastOptionsLocal::SetPrelimHitlistSize(int s){    m_HitSaveOpts->prelim_hitlist_size = s;}inline intCBlastOptionsLocal::GetMaxNumHspPerSequence() const{    return m_HitSaveOpts->hsp_num_max;}inline voidCBlastOptionsLocal::SetMaxNumHspPerSequence(int m){    m_HitSaveOpts->hsp_num_max = m;}inline intCBlastOptionsLocal::GetTotalHspLimit() const{    return m_HitSaveOpts->total_hsp_limit;}inline voidCBlastOptionsLocal::SetTotalHspLimit(int l){    m_HitSaveOpts->total_hsp_limit = l;}inline boolCBlastOptionsLocal::GetCullingMode() const{    return m_HitSaveOpts->perform_culling ? true : false;}inline voidCBlastOptionsLocal::SetCullingMode(bool m){    m_HitSaveOpts->perform_culling = m;}inline intCBlastOptionsLocal::GetRequiredStart() const{    return m_HitSaveOpts->required_start;}inline voidCBlastOptionsLocal::SetRequiredStart(int s){    m_HitSaveOpts->required_start = s;}inline intCBlastOptionsLocal::GetRequiredEnd() const{    return m_HitSaveOpts->required_end;}inline voidCBlastOptionsLocal::SetRequiredEnd(int e){    m_HitSaveOpts->required_end = e;}inline doubleCBlastOptionsLocal::GetEvalueThreshold() const{    return m_HitSaveOpts->expect_value;}inline voidCBlastOptionsLocal::SetEvalueThreshold(double eval){    m_HitSaveOpts->expect_value = eval;}inline doubleCBlastOptionsLocal::GetOriginalEvalue() const{    return m_HitSaveOpts->original_expect_value;}#if 0voidCBlastOptionsLocal::SetOriginalEvalue(double e){    m_HitSaveOpts->original_expect_value = e;}#endifinline intCBlastOptionsLocal::GetCutoffScore() const{    return m_HitSaveOpts->cutoff_score;}inline voidCBlastOptionsLocal::SetCutoffScore(int s){    m_HitSaveOpts->cutoff_score = s;}inline doubleCBlastOptionsLocal::GetPercentIdentity() const{    return m_HitSaveOpts->percent_identity;}inline voidCBlastOptionsLocal::SetPercentIdentity(double p){    m_HitSaveOpts->percent_identity = p;}inline boolCBlastOptionsLocal::GetSumStatisticsMode() const{    return m_HitSaveOpts->do_sum_stats ? true : false;}inline voidCBlastOptionsLocal::SetSumStatisticsMode(bool m){    m_HitSaveOpts->do_sum_stats = m;}inline intCBlastOptionsLocal::GetLongestIntronLength() const{    return m_HitSaveOpts->longest_intron;}inline voidCBlastOptionsLocal::SetLongestIntronLength(int l){    m_HitSaveOpts->longest_intron = l;}inline boolCBlastOptionsLocal::GetGappedMode() const{    return m_ScoringOpts->gapped_calculation ? true : false;}inline voidCBlastOptionsLocal::SetGappedMode(bool m){    m_ScoringOpts->gapped_calculation = m;}inline boolCBlastOptionsLocal::GetNeighboringMode() const{    return m_HitSaveOpts->is_neighboring ? true : false;}inline voidCBlastOptionsLocal::SetNeighboringMode(bool m){    m_HitSaveOpts->is_neighboring = m;}/************************ Scoring options ************************/inline int CBlastOptionsLocal::GetMatchReward() const{    return m_ScoringOpts->reward;}inline void CBlastOptionsLocal::SetMatchReward(int r){    m_ScoringOpts->reward = r;}inline int CBlastOptionsLocal::GetMismatchPenalty() const{    return m_ScoringOpts->penalty;}inline void CBlastOptionsLocal::SetMismatchPenalty(int p){    m_ScoringOpts->penalty = p;}inline int CBlastOptionsLocal::GetGapOpeningCost() const{    return m_ScoringOpts->gap_open;}inline void CBlastOptionsLocal::SetGapOpeningCost(int g){    m_ScoringOpts->gap_open = g;}inline int CBlastOptionsLocal::GetGapExtensionCost() const{    return m_ScoringOpts->gap_extend;}inline void CBlastOptionsLocal::SetGapExtensionCost(int e){    m_ScoringOpts->gap_extend = e;}inline int CBlastOptionsLocal::GetFrameShiftPenalty() const{    return m_ScoringOpts->shift_pen;}inline void CBlastOptionsLocal::SetFrameShiftPenalty(int p){    m_ScoringOpts->shift_pen = p;}inline int CBlastOptionsLocal::GetDecline2AlignPenalty() const{    return m_ScoringOpts->decline_align;}inline void CBlastOptionsLocal::SetDecline2AlignPenalty(int p){    m_ScoringOpts->decline_align = p;}inline bool CBlastOptionsLocal::GetOutOfFrameMode() const{    return m_ScoringOpts->is_ooframe ? true : false;}inline void CBlastOptionsLocal::SetOutOfFrameMode(bool m){    m_ScoringOpts->is_ooframe = m;}/******************** Effective Length options *******************/inline Int8 CBlastOptionsLocal::GetDbLength() const{    return m_EffLenOpts->db_length;}inline void CBlastOptionsLocal::SetDbLength(Int8 l){    m_EffLenOpts->db_length = l;}inline unsigned int CBlastOptionsLocal::GetDbSeqNum() const{    return (unsigned int) m_EffLenOpts->dbseq_num;}inline void CBlastOptionsLocal::SetDbSeqNum(unsigned int n){    m_EffLenOpts->dbseq_num = (Int4) n;}inline Int8 CBlastOptionsLocal::GetEffectiveSearchSpace() const{    return m_EffLenOpts->searchsp_eff;} inline void CBlastOptionsLocal::SetEffectiveSearchSpace(Int8 eff){    m_EffLenOpts->searchsp_eff = eff;}inline bool CBlastOptionsLocal::GetUseRealDbSize() const{    return m_EffLenOpts->use_real_db_size ? true : false;}inline void CBlastOptionsLocal::SetUseRealDbSize(bool u){    m_EffLenOpts->use_real_db_size = u;}inline int CBlastOptionsLocal::GetDbGeneticCode() const{    return m_DbOpts->genetic_code;}inline const char* CBlastOptionsLocal::GetPHIPattern() const{    return m_LutOpts->phi_pattern;}inline doubleCBlastOptionsLocal::GetInclusionThreshold() const{    return m_PSIBlastOpts->inclusion_ethresh;}inline voidCBlastOptionsLocal::SetInclusionThreshold(double incthr){    m_PSIBlastOpts->inclusion_ethresh = incthr;}inline shortCBlastOptionsLocal::GetPseudoCount() const{    return m_PSIBlastOpts->pseudo_count;}inline voidCBlastOptionsLocal::SetPseudoCount(short pc){    m_PSIBlastOpts->pseudo_count = pc;}inline void CBlastOptionsLocal::SetPHIPattern(const char* pattern, bool is_dna){    if (!pattern)        return;    if (is_dna)       m_LutOpts->lut_type = PHI_NA_LOOKUP;    else       m_LutOpts->lut_type = PHI_AA_LOOKUP;    m_LutOpts->phi_pattern = strdup(pattern);    m_HitSaveOpts->phi_align = TRUE;}END_SCOPE(blast)END_NCBI_SCOPE/* @} *//** ===========================================================================** $Log: blast_options.hpp,v $* Revision 1000.2  2004/06/01 18:02:42  gouriano* PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.61** Revision 1.61  2004/05/19 14:52:00  camacho* 1. Added doxygen tags to enable doxygen processing of algo/blast/core* 2. Standardized copyright, CVS $Id string, $Log and rcsid formatting and i*    location* 3. Added use of @todo doxygen keyword** Revision 1.60  2004/05/18 13:20:35  madden* Add CBlastRedoAlignmentTest as friend class** Revision 1.59  2004/05/18 12:48:24  madden* Add setter and getter for GapTracebackAlgorithm (EBlastTbackExt)** Revision 1.58  2004/05/17 18:07:19  bealer* - Add PSI Blast support.** Revision 1.57  2004/05/17 15:28:24  madden* Int algorithm_type replaced with enum EBlastPrelimGapExt** Revision 1.56  2004/04/07 15:11:33  papadopo* add RPS unit test as friend class** Revision 1.55  2004/03/30 15:47:37  madden* Add CScoreBlkTest as friend class** Revision 1.54  2004/03/19 18:56:04  camacho* Move to doxygen AlgoBlast group** Revision 1.53  2004/03/09 18:41:06  dondosha* Removed single hsp cutoff evalue and score, since these are calculated, and not set by user** Revision 1.52  2004/02/27 19:44:38  madden* Add  CBlastTraceBackTest (unit test) as friend class** Revision 1.51  2004/02/24 23:22:59  bealer* - Fix glitch in Validate().** Revision 1.50  2004/02/24 22:42:11  bealer* - Remove undefined methods from CBlastOptionsRemote.** Revision 1.49  2004/02/24 13:16:35  dondosha* Commented out argument names in unimplemented function, to eliminate compiler warnings** Revision 1.48  2004/02/20 19:54:26  camacho* Correct friendship declarations for unit test classes** Revision 1.47  2004/02/17 23:52:08  dondosha* Added methods to get/set preliminary hitlist size** Revision 1.46  2004/02/10 19:46:19  dondosha* Added friend class CBlastDbTest** Revision 1.45  2004/01/20 17:54:50  bealer* - Add SkipTraceback option.** Revision 1.44  2004/01/20 17:06:39  camacho* Made operator== a member function** Revision 1.43  2004/01/20 16:42:16  camacho* Do not use runtime_error, use NCBI Exception classes** Revision 1.42  2004/01/17 23:03:41  dondosha* There is no LCaseMask option any more, so [SG]EtLCaseMask methods removed** Revision 1.41  2004/01/17 02:38:23  ucko* Initialize variables with = rather than () when possible to avoid* confusing MSVC's parser.** Revision 1.40  2004/01/17 00:52:18  ucko* Remove excess comma at the end of EBlastOptIdx (problematic on WorkShop)** Revision 1.39  2004/01/17 00:15:06  ucko* Substitute Int8 for non-portable "long long"** Revision 1.38  2004/01/16 21:40:01  bealer* - Add Blast4 API support to the CBlastOptions class.** Revision 1.37  2004/01/13 14:54:54  dondosha* Grant friendship to class CBlastGapAlignTest for gapped alignment unit test** Revision 1.36  2003/12/17 21:09:33  camacho* Add comments to reward/mismatch; gap open/extension costs** Revision 1.35  2003/12/03 16:34:09  dondosha* Added setter for skip_traceback option; changed SetDbGeneticCode so it fills both integer and string** Revision 1.34  2003/11/26 18:22:14  camacho* +Blast Option Handle classes** Revision 1.33  2003/11/12 18:41:02  camacho* Remove side effects from mutators** Revision 1.32  2003/11/04 17:13:01  dondosha* Set boolean is_ooframe option when needed** Revision 1.31  2003/10/30 19:37:01  dondosha* Removed gapped_calculation from BlastHitSavingOptions structure** Revision 1.30  2003/10/21 22:15:33  camacho* Rearranging of C options structures, fix seed extension method** Revision 1.29  2003/10/21 17:31:06  camacho* Renaming of gap open/extension accessors/mutators** Revision 1.28  2003/10/21 15:36:25  camacho* Remove unnecessary side effect when setting frame shift penalty** Revision 1.27  2003/10/17 18:43:14  dondosha* Use separate variables for different initial word extension options** Revision 1.26  2003/10/07 17:27:38  dondosha* Lower case mask removed from options, added to the SSeqLoc structure** Revision 1.25  2003/09/26 15:42:42  dondosha* Added second argument to SetExtendWordMethod, so bit can be set or unset** Revision 1.24  2003/09/25 15:25:22  dondosha* Set phi_align in hit saving options for PHI BLAST** Revision 1.23  2003/09/11 17:44:39  camacho* Changed CBlastOption -> CBlastOptions** Revision 1.22  2003/09/09 22:07:57  dondosha* Added accessor functions for PHI pattern** Revision 1.21  2003/09/03 19:35:51  camacho* Removed unneeded prototype** Revision 1.20  2003/08/28 22:32:53  camacho* Correct typo** Revision 1.19  2003/08/21 19:30:17  dondosha* Free previous value of gen_code_string and allocate memory for new one in SetDbGeneticCodeStr** Revision 1.18  2003/08/19 22:11:16  dondosha* Cosmetic changes** Revision 1.17  2003/08/19 20:22:05  dondosha* EProgram definition moved from CBlastOptions clase to blast scope** Revision 1.16  2003/08/19 13:45:21  dicuccio* Removed 'USING_SCOPE(objects)'.  Changed #include guards to be standards* compliant.  Added 'objects::' where necessary.** Revision 1.15  2003/08/18 20:58:56  camacho* Added blast namespace, removed *__.hpp includes** Revision 1.14  2003/08/14 19:06:51  dondosha* Added BLASTGetEProgram function to convert from Uint1 to enum type** Revision 1.13  2003/08/11 19:55:04  camacho* Early commit to support query concatenation and th

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -