Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RestrictToCDRH3Loop.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 protocols/toolbox/task_operations/RestrictToCDRH3Loop.hh
11 /// @brief This class allows the selection for packing of the Antibody CDR-H3 loop by taking advantage of the PDB numbering schemes that are commonly used for Antibodies
12 /// @author Brian D. Weitzner (brian.weitzner@gmail.com)
13 
14 #ifndef INCLUDED_protocols_toolbox_task_operations_RestrictToCDRH3Loop_hh
15 #define INCLUDED_protocols_toolbox_task_operations_RestrictToCDRH3Loop_hh
16 
17 // Unit headers
20 
21 // Project headers
23 #include <core/pose/Pose.fwd.hh>
24 
25 // Utility headers
26 #include <utility/tag/Tag.fwd.hh>
27 
28 // C++ headers
29 #include <string>
30 
31 
32 namespace protocols {
33 namespace toolbox {
34 namespace task_operations {
35 
37 {
38 public:
40 
41 public:
43 
45 
46  virtual ~RestrictToCDRH3Loop();
47 
49 
50  virtual
51  void
52  apply(core::pose::Pose const & pose, core::pack::task::PackerTask & task) const;
53 
54 private:
55  bool residue_is_in_h3_loop( core::pose::Pose const & pose, Size residue_number ) const;
56 
57 private:
58  // These definitions correspond to the AHo numbering scheme. This could be expanded to other numbering schemes in the future
59  static Size const pdb_numbered_h3_loop_start = 107;
60  static Size const pdb_numbered_h3_loop_end = 138;
61  static char const heavy_chain = 'H';
62 
63 };
64 
65 } //namespace task_operations
66 } //namespace toolbox
67 } //namespace protocols
68 
69 #endif // include guard