NCBI C++ ToolKit
PssmFinalData_.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id$
2  * ===========================================================================
3  *
4  * PUBLIC DOMAIN NOTICE
5  * National Center for Biotechnology Information
6  *
7  * This software/database is a "United States Government Work" under the
8  * terms of the United States Copyright Act. It was written as part of
9  * the author's official duties as a United States Government employee and
10  * thus cannot be copyrighted. This software/database is freely available
11  * to the public for use. The National Library of Medicine and the U.S.
12  * Government have not placed any restriction on its use or reproduction.
13  *
14  * Although all reasonable efforts have been taken to ensure the accuracy
15  * and reliability of the software and data, the NLM and the U.S.
16  * Government do not and cannot warrant the performance or results that
17  * may be obtained by using this software or data. The NLM and the U.S.
18  * Government disclaim all warranties, express or implied, including
19  * warranties of performance, merchantability or fitness for any particular
20  * purpose.
21  *
22  * Please cite the author in any work or product based on this material.
23  *
24  * ===========================================================================
25  *
26  */
27 
28 /// @file PssmFinalData_.hpp
29 /// Data storage class.
30 ///
31 /// This file was generated by application DATATOOL
32 /// using the following specifications:
33 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/scoremat/scoremat.asn">scoremat.asn</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/scoremat/scoremat.def">scoremat.def</a>
36 ///
37 /// ATTENTION:
38 /// Don't edit or commit this file into CVS as this file will
39 /// be overridden (by DATATOOL) without warning!
40 
41 #ifndef OBJECTS_SCOREMAT_PSSMFINALDATA_BASE_HPP
42 #define OBJECTS_SCOREMAT_PSSMFINALDATA_BASE_HPP
43 
44 // standard includes
45 #include <serial/serialbase.hpp>
46 
47 // generated includes
48 #include <list>
49 
51 
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
55 #endif
56 BEGIN_objects_SCOPE // namespace ncbi::objects::
57 
58 
59 // generated classes
60 
61 
62 /** @addtogroup dataspec_NCBI_ScoreMat
63  *
64  * @{
65  */
66 
67 /////////////////////////////////////////////////////////////////////////////
68 /// ===========================================================================
69 /// PSI-BLAST, formatrpsdb, RPS-BLAST workflow:
70 /// ===========================================
71 ///
72 /// Two possible inputs to PSI-BLAST and formatrpsdb:
73 /// 1) PssmWithParams where pssm field contains intermediate PSSM data (matrix
74 /// of frequency ratios)
75 /// 2) PssmWithParams where pssm field contains final PSSM data (matrix of
76 /// scores and statistical parameters) - such as written by cddumper
77 ///
78 /// In case 1, PSI-BLAST's PSSM engine is invoked to create the PSSM and perform
79 /// the PSI-BLAST search or build the PSSM to then build the RPS-BLAST database.
80 /// In case 2, PSI-BLAST's PSSM engine is not invoked and the matrix of scores
81 /// statistical parameters are used to perform the search in PSI-BLAST and the
82 /// same data and the data in PssmWithParams::params::rpsdbparams is used to
83 /// build the PSSM and ultimately the RPS-BLAST database
84 ///
85 ///
86 /// reads ++++++++++++++ writes
87 /// PssmWithParams ====> + PSI-BLAST + =====> PssmWithParams
88 /// ++++++++++++++ | ^
89 /// ^ | |
90 /// | | |
91 /// +===========================================+ |
92 /// | |
93 /// +===========================================+ |
94 /// | |
95 /// reads | |
96 /// v |
97 /// +++++++++++++++ writes +++++++++++++++++++++++ |
98 /// | formatrpsdb | =====> | RPS-BLAST databases | |
99 /// +++++++++++++++ +++++++++++++++++++++++ |
100 /// ^ |
101 /// | |
102 /// | reads |
103 /// +++++++++++++ |
104 /// | RPS-BLAST | |
105 /// +++++++++++++ |
106 /// |
107 /// reads ++++++++++++ writes |
108 /// Cdd ======> | cddumper | =============================+
109 /// ++++++++++++
110 ///
111 /// ===========================================================================
112 /// Contains the PSSM's scores and its associated statistical parameters.
113 /// Dimensions and order in which scores are stored must be the same as that
114 /// specified in Pssm::numRows, Pssm::numColumns, and Pssm::byrow
115 ///
116 /// CPssmFinalData_Base --
117 ///
118 
120 {
122 public:
123  // constructor
124  CPssmFinalData_Base(void);
125  // destructor
126  virtual ~CPssmFinalData_Base(void);
127 
128  // type info
130 
131  // types
132  typedef list< int > TScores;
133  typedef double TLambda;
134  typedef double TKappa;
135  typedef double TH;
136  typedef int TScalingFactor;
137  typedef double TLambdaUngapped;
138  typedef double TKappaUngapped;
139  typedef double THUngapped;
140  typedef double TWordScoreThreshold;
141 
142  // member index
143  enum class E_memberIndex {
144  e__allMandatory = 0,
145  e_scores,
146  e_lambda,
147  e_kappa,
148  e_h,
149  e_scalingFactor,
150  e_lambdaUngapped,
151  e_kappaUngapped,
152  e_hUngapped,
153  e_wordScoreThreshold
154  };
156 
157  // getters
158  // setters
159 
160  /// PSSM's scores
161  /// Check if a value has been assigned to Scores data member.
162  ///
163  /// Data member Scores is mandatory;
164  /// its type is defined as 'typedef list< int > TScores'
165  /// @return
166  /// - true, if a value has been assigned.
167  /// - false, otherwise.
168  bool IsSetScores(void) const;
169 
170  /// Check if it is safe to call GetScores method.
171  ///
172  /// @return
173  /// - true, if the data member is getatable.
174  /// - false, otherwise.
175  bool CanGetScores(void) const;
176 
177  /// Reset Scores data member.
178  void ResetScores(void);
179 
180  /// Get the Scores member data.
181  ///
182  /// @return
183  /// Reference to the member data.
184  const TScores& GetScores(void) const;
185 
186  /// Assign a value to Scores data member.
187  ///
188  /// @return
189  /// Reference to the data value.
190  TScores& SetScores(void);
191 
192  /// Karlin & Altschul parameter produced during the PSSM's calculation
193  /// Check if a value has been assigned to Lambda data member.
194  ///
195  /// Data member Lambda is mandatory;
196  /// its type is defined as 'typedef double TLambda'
197  /// @return
198  /// - true, if a value has been assigned.
199  /// - false, otherwise.
200  bool IsSetLambda(void) const;
201 
202  /// Check if it is safe to call GetLambda method.
203  ///
204  /// @return
205  /// - true, if the data member is getatable.
206  /// - false, otherwise.
207  bool CanGetLambda(void) const;
208 
209  /// Reset Lambda data member.
210  void ResetLambda(void);
211 
212  /// Get the Lambda member data.
213  ///
214  /// @return
215  /// Copy of the member data.
216  TLambda GetLambda(void) const;
217 
218  /// Assign a value to Lambda data member.
219  ///
220  /// @param value
221  /// Value to assign
222  void SetLambda(TLambda value);
223 
224  /// Assign a value to Lambda data member.
225  ///
226  /// @return
227  /// Reference to the data value.
228  TLambda& SetLambda(void);
229 
230  /// Karlin & Altschul parameter produced during the PSSM's calculation
231  /// Check if a value has been assigned to Kappa data member.
232  ///
233  /// Data member Kappa is mandatory;
234  /// its type is defined as 'typedef double TKappa'
235  /// @return
236  /// - true, if a value has been assigned.
237  /// - false, otherwise.
238  bool IsSetKappa(void) const;
239 
240  /// Check if it is safe to call GetKappa method.
241  ///
242  /// @return
243  /// - true, if the data member is getatable.
244  /// - false, otherwise.
245  bool CanGetKappa(void) const;
246 
247  /// Reset Kappa data member.
248  void ResetKappa(void);
249 
250  /// Get the Kappa member data.
251  ///
252  /// @return
253  /// Copy of the member data.
254  TKappa GetKappa(void) const;
255 
256  /// Assign a value to Kappa data member.
257  ///
258  /// @param value
259  /// Value to assign
260  void SetKappa(TKappa value);
261 
262  /// Assign a value to Kappa data member.
263  ///
264  /// @return
265  /// Reference to the data value.
266  TKappa& SetKappa(void);
267 
268  /// Karlin & Altschul parameter produced during the PSSM's calculation
269  /// Check if a value has been assigned to H data member.
270  ///
271  /// Data member H is mandatory;
272  /// its type is defined as 'typedef double TH'
273  /// @return
274  /// - true, if a value has been assigned.
275  /// - false, otherwise.
276  bool IsSetH(void) const;
277 
278  /// Check if it is safe to call GetH method.
279  ///
280  /// @return
281  /// - true, if the data member is getatable.
282  /// - false, otherwise.
283  bool CanGetH(void) const;
284 
285  /// Reset H data member.
286  void ResetH(void);
287 
288  /// Get the H member data.
289  ///
290  /// @return
291  /// Copy of the member data.
292  TH GetH(void) const;
293 
294  /// Assign a value to H data member.
295  ///
296  /// @param value
297  /// Value to assign
298  void SetH(TH value);
299 
300  /// Assign a value to H data member.
301  ///
302  /// @return
303  /// Reference to the data value.
304  TH& SetH(void);
305 
306  /// scaling factor used to obtain more precision when building the PSSM.
307  /// (i.e.: scores are scaled by this value). By default, PSI-BLAST's PSSM
308  /// engine generates PSSMs which are not scaled-up, however, if PSI-BLAST is
309  /// given a PSSM which contains a scaled-up PSSM (indicated by having a
310  /// scalingFactor greater than 1), then it will scale down the PSSM to
311  /// perform the initial stages of the search with it.
312  /// N.B.: When building RPS-BLAST databases, if formatrpsdb is provided
313  /// scaled-up PSSMs, it will ensure that all PSSMs used to build the
314  /// RPS-BLAST database are scaled by the same factor (otherwise, RPS-BLAST
315  /// will silently produce incorrect results).
316  /// Check if a value has been assigned to ScalingFactor data member.
317  ///
318  /// Data member ScalingFactor is optional with default 1;
319  /// its type is defined as 'typedef int TScalingFactor'
320  /// @return
321  /// - true, if a value has been assigned.
322  /// - false, otherwise.
323  bool IsSetScalingFactor(void) const;
324 
325  /// Check if it is safe to call GetScalingFactor method.
326  ///
327  /// @return
328  /// - true, if the data member is getatable.
329  /// - false, otherwise.
330  bool CanGetScalingFactor(void) const;
331 
332  /// Reset ScalingFactor data member.
333  void ResetScalingFactor(void);
334 
335  /// Assign default value to ScalingFactor data member.
336  void SetDefaultScalingFactor(void);
337 
338  /// Get the ScalingFactor member data.
339  ///
340  /// @return
341  /// Copy of the member data.
342  TScalingFactor GetScalingFactor(void) const;
343 
344  /// Assign a value to ScalingFactor data member.
345  ///
346  /// @param value
347  /// Value to assign
348  void SetScalingFactor(TScalingFactor value);
349 
350  /// Assign a value to ScalingFactor data member.
351  ///
352  /// @return
353  /// Reference to the data value.
354  TScalingFactor& SetScalingFactor(void);
355 
356  /// Karlin & Altschul parameter produced during the PSSM's calculation
357  /// Check if a value has been assigned to LambdaUngapped data member.
358  ///
359  /// Data member LambdaUngapped is optional;
360  /// its type is defined as 'typedef double TLambdaUngapped'
361  /// @return
362  /// - true, if a value has been assigned.
363  /// - false, otherwise.
364  bool IsSetLambdaUngapped(void) const;
365 
366  /// Check if it is safe to call GetLambdaUngapped method.
367  ///
368  /// @return
369  /// - true, if the data member is getatable.
370  /// - false, otherwise.
371  bool CanGetLambdaUngapped(void) const;
372 
373  /// Reset LambdaUngapped data member.
374  void ResetLambdaUngapped(void);
375 
376  /// Get the LambdaUngapped member data.
377  ///
378  /// @return
379  /// Copy of the member data.
380  TLambdaUngapped GetLambdaUngapped(void) const;
381 
382  /// Assign a value to LambdaUngapped data member.
383  ///
384  /// @param value
385  /// Value to assign
386  void SetLambdaUngapped(TLambdaUngapped value);
387 
388  /// Assign a value to LambdaUngapped data member.
389  ///
390  /// @return
391  /// Reference to the data value.
392  TLambdaUngapped& SetLambdaUngapped(void);
393 
394  /// Karlin & Altschul parameter produced during the PSSM's calculation
395  /// Check if a value has been assigned to KappaUngapped data member.
396  ///
397  /// Data member KappaUngapped is optional;
398  /// its type is defined as 'typedef double TKappaUngapped'
399  /// @return
400  /// - true, if a value has been assigned.
401  /// - false, otherwise.
402  bool IsSetKappaUngapped(void) const;
403 
404  /// Check if it is safe to call GetKappaUngapped method.
405  ///
406  /// @return
407  /// - true, if the data member is getatable.
408  /// - false, otherwise.
409  bool CanGetKappaUngapped(void) const;
410 
411  /// Reset KappaUngapped data member.
412  void ResetKappaUngapped(void);
413 
414  /// Get the KappaUngapped member data.
415  ///
416  /// @return
417  /// Copy of the member data.
418  TKappaUngapped GetKappaUngapped(void) const;
419 
420  /// Assign a value to KappaUngapped data member.
421  ///
422  /// @param value
423  /// Value to assign
424  void SetKappaUngapped(TKappaUngapped value);
425 
426  /// Assign a value to KappaUngapped data member.
427  ///
428  /// @return
429  /// Reference to the data value.
430  TKappaUngapped& SetKappaUngapped(void);
431 
432  /// Karlin & Altschul parameter produced during the PSSM's calculation
433  /// Check if a value has been assigned to HUngapped data member.
434  ///
435  /// Data member HUngapped is optional;
436  /// its type is defined as 'typedef double THUngapped'
437  /// @return
438  /// - true, if a value has been assigned.
439  /// - false, otherwise.
440  bool IsSetHUngapped(void) const;
441 
442  /// Check if it is safe to call GetHUngapped method.
443  ///
444  /// @return
445  /// - true, if the data member is getatable.
446  /// - false, otherwise.
447  bool CanGetHUngapped(void) const;
448 
449  /// Reset HUngapped data member.
450  void ResetHUngapped(void);
451 
452  /// Get the HUngapped member data.
453  ///
454  /// @return
455  /// Copy of the member data.
456  THUngapped GetHUngapped(void) const;
457 
458  /// Assign a value to HUngapped data member.
459  ///
460  /// @param value
461  /// Value to assign
462  void SetHUngapped(THUngapped value);
463 
464  /// Assign a value to HUngapped data member.
465  ///
466  /// @return
467  /// Reference to the data value.
468  THUngapped& SetHUngapped(void);
469 
470  /// Word score threshold
471  /// Check if a value has been assigned to WordScoreThreshold data member.
472  ///
473  /// Data member WordScoreThreshold is optional;
474  /// its type is defined as 'typedef double TWordScoreThreshold'
475  /// @return
476  /// - true, if a value has been assigned.
477  /// - false, otherwise.
478  bool IsSetWordScoreThreshold(void) const;
479 
480  /// Check if it is safe to call GetWordScoreThreshold method.
481  ///
482  /// @return
483  /// - true, if the data member is getatable.
484  /// - false, otherwise.
485  bool CanGetWordScoreThreshold(void) const;
486 
487  /// Reset WordScoreThreshold data member.
488  void ResetWordScoreThreshold(void);
489 
490  /// Get the WordScoreThreshold member data.
491  ///
492  /// @return
493  /// Copy of the member data.
494  TWordScoreThreshold GetWordScoreThreshold(void) const;
495 
496  /// Assign a value to WordScoreThreshold data member.
497  ///
498  /// @param value
499  /// Value to assign
500  void SetWordScoreThreshold(TWordScoreThreshold value);
501 
502  /// Assign a value to WordScoreThreshold data member.
503  ///
504  /// @return
505  /// Reference to the data value.
506  TWordScoreThreshold& SetWordScoreThreshold(void);
507 
508  /// Reset the whole object
509  virtual void Reset(void);
510 
511 
512 private:
513  // Prohibit copy constructor and assignment operator
516 
517  // data
518  Uint4 m_set_State[1];
519  list< int > m_Scores;
520  double m_Lambda;
521  double m_Kappa;
522  double m_H;
526  double m_HUngapped;
528 };
529 
530 /* @} */
531 
532 
533 
534 
535 
536 ///////////////////////////////////////////////////////////
537 ///////////////////// inline methods //////////////////////
538 ///////////////////////////////////////////////////////////
539 inline
541 {
542  return ((m_set_State[0] & 0x3) != 0);
543 }
544 
545 inline
547 {
548  return true;
549 }
550 
551 inline
553 {
554  return m_Scores;
555 }
556 
557 inline
559 {
560  m_set_State[0] |= 0x1;
561  return m_Scores;
562 }
563 
564 inline
566 {
567  return ((m_set_State[0] & 0xc) != 0);
568 }
569 
570 inline
572 {
573  return IsSetLambda();
574 }
575 
576 inline
578 {
579  m_Lambda = 0;
580  m_set_State[0] &= ~0xc;
581 }
582 
583 inline
585 {
586  if (!CanGetLambda()) {
587  ThrowUnassigned(1);
588  }
589  return m_Lambda;
590 }
591 
592 inline
594 {
595  m_Lambda = value;
596  m_set_State[0] |= 0xc;
597 }
598 
599 inline
601 {
602 #ifdef _DEBUG
603  if (!IsSetLambda()) {
604  memset(&m_Lambda,UnassignedByte(),sizeof(m_Lambda));
605  }
606 #endif
607  m_set_State[0] |= 0x4;
608  return m_Lambda;
609 }
610 
611 inline
613 {
614  return ((m_set_State[0] & 0x30) != 0);
615 }
616 
617 inline
619 {
620  return IsSetKappa();
621 }
622 
623 inline
625 {
626  m_Kappa = 0;
627  m_set_State[0] &= ~0x30;
628 }
629 
630 inline
632 {
633  if (!CanGetKappa()) {
634  ThrowUnassigned(2);
635  }
636  return m_Kappa;
637 }
638 
639 inline
641 {
642  m_Kappa = value;
643  m_set_State[0] |= 0x30;
644 }
645 
646 inline
648 {
649 #ifdef _DEBUG
650  if (!IsSetKappa()) {
651  memset(&m_Kappa,UnassignedByte(),sizeof(m_Kappa));
652  }
653 #endif
654  m_set_State[0] |= 0x10;
655  return m_Kappa;
656 }
657 
658 inline
660 {
661  return ((m_set_State[0] & 0xc0) != 0);
662 }
663 
664 inline
666 {
667  return IsSetH();
668 }
669 
670 inline
672 {
673  m_H = 0;
674  m_set_State[0] &= ~0xc0;
675 }
676 
677 inline
679 {
680  if (!CanGetH()) {
681  ThrowUnassigned(3);
682  }
683  return m_H;
684 }
685 
686 inline
688 {
689  m_H = value;
690  m_set_State[0] |= 0xc0;
691 }
692 
693 inline
695 {
696 #ifdef _DEBUG
697  if (!IsSetH()) {
698  memset(&m_H,UnassignedByte(),sizeof(m_H));
699  }
700 #endif
701  m_set_State[0] |= 0x40;
702  return m_H;
703 }
704 
705 inline
707 {
708  return ((m_set_State[0] & 0x300) != 0);
709 }
710 
711 inline
713 {
714  return true;
715 }
716 
717 inline
719 {
720  m_ScalingFactor = 1;
721  m_set_State[0] &= ~0x300;
722 }
723 
724 inline
726 {
728 }
729 
730 inline
732 {
733  return m_ScalingFactor;
734 }
735 
736 inline
738 {
740  m_set_State[0] |= 0x300;
741 }
742 
743 inline
745 {
746 #ifdef _DEBUG
747  if (!IsSetScalingFactor()) {
749  }
750 #endif
751  m_set_State[0] |= 0x100;
752  return m_ScalingFactor;
753 }
754 
755 inline
757 {
758  return ((m_set_State[0] & 0xc00) != 0);
759 }
760 
761 inline
763 {
764  return IsSetLambdaUngapped();
765 }
766 
767 inline
769 {
770  m_LambdaUngapped = 0;
771  m_set_State[0] &= ~0xc00;
772 }
773 
774 inline
776 {
777  if (!CanGetLambdaUngapped()) {
778  ThrowUnassigned(5);
779  }
780  return m_LambdaUngapped;
781 }
782 
783 inline
785 {
787  m_set_State[0] |= 0xc00;
788 }
789 
790 inline
792 {
793 #ifdef _DEBUG
794  if (!IsSetLambdaUngapped()) {
796  }
797 #endif
798  m_set_State[0] |= 0x400;
799  return m_LambdaUngapped;
800 }
801 
802 inline
804 {
805  return ((m_set_State[0] & 0x3000) != 0);
806 }
807 
808 inline
810 {
811  return IsSetKappaUngapped();
812 }
813 
814 inline
816 {
817  m_KappaUngapped = 0;
818  m_set_State[0] &= ~0x3000;
819 }
820 
821 inline
823 {
824  if (!CanGetKappaUngapped()) {
825  ThrowUnassigned(6);
826  }
827  return m_KappaUngapped;
828 }
829 
830 inline
832 {
834  m_set_State[0] |= 0x3000;
835 }
836 
837 inline
839 {
840 #ifdef _DEBUG
841  if (!IsSetKappaUngapped()) {
843  }
844 #endif
845  m_set_State[0] |= 0x1000;
846  return m_KappaUngapped;
847 }
848 
849 inline
851 {
852  return ((m_set_State[0] & 0xc000) != 0);
853 }
854 
855 inline
857 {
858  return IsSetHUngapped();
859 }
860 
861 inline
863 {
864  m_HUngapped = 0;
865  m_set_State[0] &= ~0xc000;
866 }
867 
868 inline
870 {
871  if (!CanGetHUngapped()) {
872  ThrowUnassigned(7);
873  }
874  return m_HUngapped;
875 }
876 
877 inline
879 {
880  m_HUngapped = value;
881  m_set_State[0] |= 0xc000;
882 }
883 
884 inline
886 {
887 #ifdef _DEBUG
888  if (!IsSetHUngapped()) {
889  memset(&m_HUngapped,UnassignedByte(),sizeof(m_HUngapped));
890  }
891 #endif
892  m_set_State[0] |= 0x4000;
893  return m_HUngapped;
894 }
895 
896 inline
898 {
899  return ((m_set_State[0] & 0x30000) != 0);
900 }
901 
902 inline
904 {
905  return IsSetWordScoreThreshold();
906 }
907 
908 inline
910 {
912  m_set_State[0] &= ~0x30000;
913 }
914 
915 inline
917 {
918  if (!CanGetWordScoreThreshold()) {
919  ThrowUnassigned(8);
920  }
921  return m_WordScoreThreshold;
922 }
923 
924 inline
926 {
928  m_set_State[0] |= 0x30000;
929 }
930 
931 inline
933 {
934 #ifdef _DEBUG
935  if (!IsSetWordScoreThreshold()) {
937  }
938 #endif
939  m_set_State[0] |= 0x10000;
940  return m_WordScoreThreshold;
941 }
942 
943 ///////////////////////////////////////////////////////////
944 ////////////////// end of inline methods //////////////////
945 ///////////////////////////////////////////////////////////
946 
947 
948 
949 
950 
951 END_objects_SCOPE // namespace ncbi::objects::
952 
954 
955 
956 #endif // OBJECTS_SCOREMAT_PSSMFINALDATA_BASE_HPP
void SetScores(objects::CSeq_align &seq_align, objects::CScope &scope, const string &matrix_name="BLOSUM62")
=========================================================================== PSI-BLAST,...
Base class for all serializable objects.
Definition: serialbase.hpp:150
static char UnassignedByte(void)
Definition: serialbase.hpp:181
void ThrowUnassigned(TMemberIndex index) const
uint32_t Uint4
4-byte (32-bit) unsigned integer
Definition: ncbitype.h:103
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
#define NCBI_SCOREMAT_EXPORT
Definition: ncbi_export.h:736
bool CanGetHUngapped(void) const
Check if it is safe to call GetHUngapped method.
TWordScoreThreshold & SetWordScoreThreshold(void)
Assign a value to WordScoreThreshold data member.
void ResetH(void)
Reset H data member.
TH GetH(void) const
Get the H member data.
TKappa GetKappa(void) const
Get the Kappa member data.
const TScores & GetScores(void) const
Get the Scores member data.
THUngapped & SetHUngapped(void)
Assign a value to HUngapped data member.
bool IsSetKappaUngapped(void) const
Karlin & Altschul parameter produced during the PSSM's calculation Check if a value has been assigned...
bool CanGetLambda(void) const
Check if it is safe to call GetLambda method.
bool CanGetLambdaUngapped(void) const
Check if it is safe to call GetLambdaUngapped method.
bool IsSetLambdaUngapped(void) const
Karlin & Altschul parameter produced during the PSSM's calculation Check if a value has been assigned...
bool IsSetH(void) const
Karlin & Altschul parameter produced during the PSSM's calculation Check if a value has been assigned...
TKappaUngapped & SetKappaUngapped(void)
Assign a value to KappaUngapped data member.
TWordScoreThreshold GetWordScoreThreshold(void) const
Get the WordScoreThreshold member data.
void ResetLambda(void)
Reset Lambda data member.
TScalingFactor GetScalingFactor(void) const
Get the ScalingFactor member data.
TH & SetH(void)
Assign a value to H data member.
void ResetHUngapped(void)
Reset HUngapped data member.
bool IsSetWordScoreThreshold(void) const
Word score threshold Check if a value has been assigned to WordScoreThreshold data member.
bool IsSetScalingFactor(void) const
scaling factor used to obtain more precision when building the PSSM.
void ResetWordScoreThreshold(void)
Reset WordScoreThreshold data member.
bool IsSetScores(void) const
PSSM's scores Check if a value has been assigned to Scores data member.
TKappa & SetKappa(void)
Assign a value to Kappa data member.
bool CanGetWordScoreThreshold(void) const
Check if it is safe to call GetWordScoreThreshold method.
bool IsSetLambda(void) const
Karlin & Altschul parameter produced during the PSSM's calculation Check if a value has been assigned...
bool CanGetKappa(void) const
Check if it is safe to call GetKappa method.
bool CanGetKappaUngapped(void) const
Check if it is safe to call GetKappaUngapped method.
Tparent::CMemberIndex< E_memberIndex, 10 > TmemberIndex
void ResetKappaUngapped(void)
Reset KappaUngapped data member.
THUngapped GetHUngapped(void) const
Get the HUngapped member data.
bool CanGetScalingFactor(void) const
Check if it is safe to call GetScalingFactor method.
TScalingFactor & SetScalingFactor(void)
Assign a value to ScalingFactor data member.
TScores & SetScores(void)
Assign a value to Scores data member.
TLambdaUngapped GetLambdaUngapped(void) const
Get the LambdaUngapped member data.
bool IsSetHUngapped(void) const
Karlin & Altschul parameter produced during the PSSM's calculation Check if a value has been assigned...
CPssmFinalData_Base & operator=(const CPssmFinalData_Base &)
bool CanGetH(void) const
Check if it is safe to call GetH method.
bool CanGetScores(void) const
Check if it is safe to call GetScores method.
void ResetLambdaUngapped(void)
Reset LambdaUngapped data member.
TLambdaUngapped & SetLambdaUngapped(void)
Assign a value to LambdaUngapped data member.
bool IsSetKappa(void) const
Karlin & Altschul parameter produced during the PSSM's calculation Check if a value has been assigned...
TKappaUngapped GetKappaUngapped(void) const
Get the KappaUngapped member data.
CPssmFinalData_Base(const CPssmFinalData_Base &)
TLambda & SetLambda(void)
Assign a value to Lambda data member.
void SetDefaultScalingFactor(void)
Assign default value to ScalingFactor data member.
void ResetScalingFactor(void)
Reset ScalingFactor data member.
void ResetKappa(void)
Reset Kappa data member.
TLambda GetLambda(void) const
Get the Lambda member data.
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Wed Apr 17 13:09:25 2024 by modify_doxy.py rev. 669887