Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
noesy_assign
Assignment.cc
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 FragmentSampler.cc
11
/// @brief ab-initio fragment assembly protocol for proteins
12
/// @detailed
13
/// Contains currently: Classic Abinitio
14
///
15
///
16
/// @author Oliver Lange
17
18
// Unit Headers
19
#include <
protocols/noesy_assign/PeakAssignment.hh
>
20
#include <
protocols/noesy_assign/CrossPeak.hh
>
21
#include <
protocols/noesy_assign/ResonanceList.hh
>
22
23
// Package Headers
24
#include <
protocols/noesy_assign/Exceptions.hh
>
25
26
// Project Headers
27
#include <
core/chemical/AA.hh
>
28
29
// Utility headers
30
#include <ObjexxFCL/format.hh>
31
#include <ObjexxFCL/string.functions.hh>
32
33
#include <utility/string_util.hh>
34
// #include <utility/excn/Exceptions.hh>
35
// #include <utility/vector1.fwd.hh>
36
// #include <utility/pointer/ReferenceCount.hh>
37
// #include <numeric/numeric.functions.hh>
38
// #include <basic/prof.hh>
39
#include <basic/Tracer.hh>
40
// #include <basic/options/option.hh>
41
// #include <basic/options/keys/abinitio.OptionKeys.gen.hh>
42
// #include <basic/options/keys/run.OptionKeys.gen.hh>
43
//#include <basic/options/keys/templates.OptionKeys.gen.hh>
44
45
//// C++ headers
46
#include <cstdlib>
47
#include <string>
48
49
50
static
basic::Tracer
tr
(
"protocols.noesy_assign.assignment"
);
51
52
PeakAssignment::PeakAssignment(
CrossPeakAP
cp,
core::Size
assign_spin1,
core::Size
assign_spin2 )
53
: crosspeak_( cp ),
54
spin_assign_index1_( assign_spin1 ),
55
spin_assign_index2_( assign_spin2 )
56
{
57
runtime_assert( cp );
58
update_resonances_from_peak
();
59
}
60
61
PeakAssignment::update_resonances_from_peak
() {
62
resonance1_
=
crosspeak_
->proton( 1 ).assignment(
spin_id
( 1 ) );
63
resonance2_
=
crosspeak_
->proton( 2 ).assignment(
spin_id
( 2 ) );
64
}
65
Generated on Sat Jun 1 2013 12:00:47 for Rosetta 3.5 by
1.8.4