Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
InputStreamWithResidueInfo.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 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file InputStreamWithResidueInfo.hh
11 /// @brief
12 /// @detailed
13 ///
14 /// @author Rhiju Das
15 
16 
17 #ifndef INCLUDED_protocols_swa_InputStreamWithResidueInfo_HH
18 #define INCLUDED_protocols_swa_InputStreamWithResidueInfo_HH
19 
21 #include <core/pose/Pose.fwd.hh>
24 #include <core/types.hh>
25 #include <utility/vector1.hh>
26 #include <utility/pointer/ReferenceCount.hh>
27 #include <utility/options/StringVectorOption.fwd.hh>
28 
29 #include <map>
30 
31 namespace protocols {
32 namespace swa {
33 
34  void
36 
37  void
39  utility::vector1< std::string > const & pdb_tags,
40  utility::vector1< std::string > const & silent_files_in,
41  utility::vector1< core::Size > const & input_res,
42  utility::vector1< core::Size > const & input_res2
43  );
44 
47  utility::options::StringVectorOption const & option_s1,
48  utility::options::StringVectorOption const & option_silent1,
49  utility::options::StringVectorOption const & option_tags1 );
50 
51 
52  //////////////////////////////////////////////////////////////////////////////////////////////////
53  //////////////////////////////////////////////////////////////////////////////////////////////////
55  public:
56 
60 
62  utility::vector1< Size > const & input_res);
63 
65 
69  std::map< Size, Size > & full_to_sub();
70 
71  void set_slice_res( utility::vector1< Size > const & slice_res );
72  void set_full_to_sub( std::map< Size, Size > const & full_to_sub );
74 
75  void reset();
76 
77  bool has_another_pose() const;
78 
80 
82  core::pose::Pose & import_pose,
83  bool const check_sequence_matches,
84  bool const align_pose_to_import_pose = false );
85 
86  void set_backbone_only( bool const setting );
87 
88  private:
89 
90  void
92 
93  void cleanup_pose( core::pose::Pose & import_pose ) const;
94 
95  void check_sequence( core::pose::Pose const & pose, core::pose::Pose const & import_pose );
96 
97 
98  private:
99 
103  std::map< Size, Size > full_to_sub_;
106  };
107 
108 
109 } //swa
110 } // protocols
111 
112 #endif