Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FragmentReader.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/jd2/parser/FragmentReader.hh
11 /// @brief
12 /// @author Nobuyasu Koga ( nobuyasu@uw.edu )
13 
14 #ifndef INCLUDED_protocols_jd2_parser_FragmentReader_hh
15 #define INCLUDED_protocols_jd2_parser_FragmentReader_hh
16 
17 // Unit Headers
20 // Project Headers
21 #include <core/pose/Pose.fwd.hh>
23 
24 // Utility Headers
25 #include <utility/pointer/ReferenceCount.hh>
26 #include <utility/tag/Tag.fwd.hh>
27 
28 
29 // c++ headers
30 #include <string>
31 
32 #include <utility/vector1.hh>
33 
34 
35 namespace protocols {
36 namespace jd2 {
37 namespace parser {
38 
40 public:
41 
42 
44 
45 
46 public:
47 
48  typedef core::Size Size;
52 
53  typedef utility::tag::Tag Tag;
55 
56 
57 public:
58 
59 
60  /// @brief default constructor
62 
63  /// @brief value constructor
64  FragmentReader( TagPtr const & tag );
65 
66  /// @brief destructor
67  virtual ~FragmentReader();
68 
69 public:
70 
71 
72  ///@brief main opeartion
73  void apply( FragSetOP & fragset );
74 
75 
76 private:
77 
78 
79  ///@brief parse tag
80  void parse_tag( TagPtr const & tag );
81 
82  ///@brief set fragments just for helper function
83  void set_fragments( Pose const & pose, FragSetOP const & fragset );
84 
85 
86 private:
87 
88  /// @brief way of reading fragments from pdbs, silent, fragfiles, or vall
90 
91  /// @brief input file name, pdbs, silent, fragfiles of vall
93 
94  /// @brief length of fragments
96 
97  /// @brief the begin of sequence positions where fragments are stealed
99 
100  /// @brief the end of sequence positions where fragments are stealed
102 
103  /// @brief number of stealing fragments if read_type_ is pdbs or silent
105 
106  /// @brief maximum number of fragments when a silent file is used
108 
109  /// @brief secondary structure assignment to pick fragment from vall
111 
112  /// @brief amino acids to pick fragment from vall
114 
115  /// @brief abego assignment to pick fragment from vall
117 
118  /// @brief blueprint
120 
121 };
122 
123 } //namespace parser
124 } //namespace jd2
125 } //namespace protocols
126 
127 #endif