Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DesignContrast.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 // :noTabs=false:tabSize=4:indentSize=4:
4 //
5 // (c) Copyright Rosetta Commons Member Institutions.
6 // (c) This file is part of the Rosetta software suite and is made available under license.
7 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10 // (C) 199x-2008 University of Washington
11 // (C) 199x-2008 University of California Santa Cruz
12 // (C) 199x-2008 University of California San Francisco
13 // (C) 199x-2008 Johns Hopkins University
14 // (C) 199x-2008 University of North Carolina, Chapel Hill
15 // (C) 199x-2008 Vanderbilt University
16 
17 /// @file core/io/sequence_comparation/DesignContrast.hh
18 ///
19 /// @brief
20 /// @author Yi Liu
21 
22 #ifndef INCLUDED_core_io_sequence_comparation_DesignContrast_hh
23 #define INCLUDED_core_io_sequence_comparation_DesignContrast_hh
24 
25 // Unit headers
27 
28 // mini headers
29 #include <core/pose/Pose.fwd.hh>
30 // AUTO-REMOVED #include <core/pose/util.hh>
31 
32 // AUTO-REMOVED #include <utility/vector1.hh>
33 #include <utility/file/FileName.hh>
34 // AUTO-REMOVED #include <utility/io/izstream.hh>
35 
36 #include <utility/vector1.hh>
37 
38 
39 
40 namespace core {
41 namespace io {
42 namespace sequence_comparation {
43 
45 using utility::vector1;
46 /// @brief DesignContrast contains information for comparing the native protein sequence to
47 /// designed protein sequence. And output the compare resultes to a special formated file which
48 /// can be used for statistics calculations
49 
51  public :
52  /// @brief default constructor
54 
55  // @brief copy constructor
57 
58  /// @brief default de-constructor
59  virtual ~DesignContrast(){
60  clear();
61  }
62  /// @brief Set number of neighbors for all residues in pose
63  void setNeighbors(pose::Pose & pose);
64 
65  /// @brief Get number of neighbors for all residues in pose
67  vector1<int> const & getNeighbors() const;
68 
69  /// @brief Set secondary structure for all residues in pose
70  void setSecStruct(pose::Pose & pose);
71 
72  /// @brief Get secondary structure for all residues in pose
74  vector1<std::string> const & getSecStruct() const;
75 
76  /// @brief Get pdb file names from the pdb list files.
77  void setNames (); // vector1<std::string> & pdb_file_names ); the pdb_file_names is a private member
78 
79  ///
81  vector1<FileName> const & getPdbNames() const;
82 
84  vector1<FileName> const & getListNames() const;
85 
86  void setPdbCodes();
87 
89  vector1<std::string> const & getPdbCodes() const;
90 
91  /// @brief this function will output the sequence comparing result between native pose and designed pose
92  void output_sqc_file (
93  pose::Pose & native_pose,
94  pose::Pose & decoy_pose,
95  std::string const & single_code,
96  std::ofstream & sqc
97  );
98 
99  /// @brief clear function to clear all datas in this class.
100  void clear();
101 
102  private:
104  //vector1<std::string> pdb_file_names_;
109  };
110 } // namespace sequence_comparation
111 } // namespace io
112 } // namespace core
113 
114 #endif //INCLUDED_core_io_sequence_comparation_DesignContrast_HH