Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
protocols::noesy_assign::PeakAssignmentResidueMap Class Reference

fast access to assignments by residue number More...

#include <PeakAssignmentResidueMap.hh>

Inheritance diagram for protocols::noesy_assign::PeakAssignmentResidueMap:
Inheritance graph
[legend]
Collaboration diagram for protocols::noesy_assign::PeakAssignmentResidueMap:
Collaboration graph
[legend]

Public Types

typedef std::list
< PeakAssignmentOP
PeakAssignments
 
typedef std::map< core::Size,
PeakAssignments
PeakAssignmentMap
 
typedef utility::vector1
< PeakAssignmentMap
ResidueList
 

Public Member Functions

 PeakAssignmentResidueMap ()
 
virtual ~PeakAssignmentResidueMap ()
 
void add (CrossPeakList const &)
 add all PeakAssignments in all Crosspeaks of list More...
 
void add (PeakAssignmentOP const &)
 add individual PeakAssignment More...
 
void add_all_atoms (ResonanceList const &)
 add all resonances for backward compatibility in covalent-part of network-analysis More...
 
void remove (PeakAssignment const &)
 remove individual PeakAssignment More...
 
void check_for_symmetric_peaks (CrossPeakList &, bool accumulate_symmetry)
 invalidate non symmetric peaks More...
 
void network_analysis (Size n_total_assignments)
 remove all ambiguous assignments to i,i+1 CrossPeaks. More...
 
void network_analysis2 (ResonanceList const &resonances)
 
PeakAssignments const & assignments (core::Size resi, core::Size resj) const
 get list of PeakAssignments for pair of residues — throws Exception More...
 
PeakAssignmentsassignments (core::Size resi, core::Size resj)
 
void assignments (core::Size resi, core::Size resj, PeakAssignments &collector) const
 add assignments found between resi and resj to collector More...
 
bool has (core::Size resi, core::Size resj)
 has some (valid or invalid) assignments between residue pair More...
 
core::Size total_residue () const
 

Private Types

typedef std::set
< core::id::NamedAtomID
AtomList
 
typedef utility::vector1
< AtomList
AtomByResList
 

Private Member Functions

PeakAssignments const & _assignments (core::Size resi, core::Size resj) const
 same as "assignments()" but returns BOGUS_ASSIGNMENTS if not found More...
 
PeakAssignments_assignments (core::Size resi, core::Size resj)
 
core::Real compute_Nk (PeakAssignment const &alpha_beta, core::id::NamedAtomID const &gamma_atom, bool connect_in_i, bool connect_in_j, bool sequential, PeakAssignments const &close_to_i_assignments, PeakAssignments const &close_to_j_assignments, core::Real longrange_peak_volume) const
 subroutine to compute Nk for alpha->gamma->beta path. More...
 
void fill_covalent_gammas (Size, std::map< core::id::NamedAtomID, bool > &collector) const
 subroutine to collect putative gammas that need to be queried due to covalent structure More...
 

Private Attributes

ResidueList residues_
 
PeakAssignments BOGUS_ASSIGNMENTS
 
AtomByResList atoms_
 

Detailed Description

fast access to assignments by residue number

Definition at line 58 of file PeakAssignmentResidueMap.hh.

Member Typedef Documentation

Definition at line 135 of file PeakAssignmentResidueMap.hh.

Definition at line 134 of file PeakAssignmentResidueMap.hh.

Definition at line 61 of file PeakAssignmentResidueMap.hh.

Definition at line 60 of file PeakAssignmentResidueMap.hh.

Definition at line 62 of file PeakAssignmentResidueMap.hh.

Constructor & Destructor Documentation

protocols::noesy_assign::PeakAssignmentResidueMap::PeakAssignmentResidueMap ( )

Definition at line 74 of file PeakAssignmentResidueMap.cc.

protocols::noesy_assign::PeakAssignmentResidueMap::~PeakAssignmentResidueMap ( )
virtual

Definition at line 75 of file PeakAssignmentResidueMap.cc.

Member Function Documentation

PeakAssignments const& protocols::noesy_assign::PeakAssignmentResidueMap::_assignments ( core::Size  resi,
core::Size  resj 
) const
private

same as "assignments()" but returns BOGUS_ASSIGNMENTS if not found

PeakAssignmentResidueMap::PeakAssignments & protocols::noesy_assign::PeakAssignmentResidueMap::_assignments ( core::Size  resi,
core::Size  resj 
)
private

Definition at line 150 of file PeakAssignmentResidueMap.cc.

References core::sequence::end.

void protocols::noesy_assign::PeakAssignmentResidueMap::add ( CrossPeakList const &  cpl)

add all PeakAssignments in all Crosspeaks of list

Definition at line 166 of file PeakAssignmentResidueMap.cc.

References protocols::noesy_assign::CrossPeakList::peaks().

void protocols::noesy_assign::PeakAssignmentResidueMap::add ( PeakAssignmentOP const &  assignment)

add individual PeakAssignment

Definition at line 77 of file PeakAssignmentResidueMap.cc.

References protocols::simple_moves::insert.

void protocols::noesy_assign::PeakAssignmentResidueMap::add_all_atoms ( ResonanceList const &  rslist)

add all resonances for backward compatibility in covalent-part of network-analysis

Definition at line 98 of file PeakAssignmentResidueMap.cc.

References protocols::noesy_assign::ResonanceList::begin(), and protocols::noesy_assign::ResonanceList::end().

PeakAssignmentResidueMap::PeakAssignments const & protocols::noesy_assign::PeakAssignmentResidueMap::assignments ( core::Size  resi,
core::Size  resj 
) const

get list of PeakAssignments for pair of residues — throws Exception

Definition at line 126 of file PeakAssignmentResidueMap.cc.

References protocols::noesy_assign::BOGUS_ASSIGNMENT, and core::sequence::end.

PeakAssignmentResidueMap::PeakAssignments & protocols::noesy_assign::PeakAssignmentResidueMap::assignments ( core::Size  resi,
core::Size  resj 
)
void protocols::noesy_assign::PeakAssignmentResidueMap::assignments ( core::Size  resi,
core::Size  resj,
PeakAssignments collector 
) const

add assignments found between resi and resj to collector

Definition at line 281 of file PeakAssignmentResidueMap.cc.

References core::sequence::end.

void protocols::noesy_assign::PeakAssignmentResidueMap::check_for_symmetric_peaks ( CrossPeakList cpl,
bool  accumulate_symmetry 
)
Real protocols::noesy_assign::PeakAssignmentResidueMap::compute_Nk ( PeakAssignment const &  alpha_beta,
core::id::NamedAtomID const &  gamma_atom,
bool  connect_in_i,
bool  connect_in_j,
bool  sequential,
PeakAssignments const &  close_to_i_assignments,
PeakAssignments const &  close_to_j_assignments,
core::Real  longrange_peak_volume 
) const
private
void protocols::noesy_assign::PeakAssignmentResidueMap::fill_covalent_gammas ( Size  alpha_resid,
std::map< core::id::NamedAtomID, bool > &  collector 
) const
private

subroutine to collect putative gammas that need to be queried due to covalent structure

Definition at line 295 of file PeakAssignmentResidueMap.cc.

bool protocols::noesy_assign::PeakAssignmentResidueMap::has ( core::Size  resi,
core::Size  resj 
)

has some (valid or invalid) assignments between residue pair

Definition at line 162 of file PeakAssignmentResidueMap.cc.

void protocols::noesy_assign::PeakAssignmentResidueMap::network_analysis ( Size  n_total_assignments)

remove all ambiguous assignments to i,i+1 CrossPeaks.

Definition at line 542 of file PeakAssignmentResidueMap.cc.

References core::id::NamedAtomID::rsd(), and tr().

void protocols::noesy_assign::PeakAssignmentResidueMap::network_analysis2 ( ResonanceList const &  resonances)
void protocols::noesy_assign::PeakAssignmentResidueMap::remove ( PeakAssignment const &  assignment)

remove individual PeakAssignment

remove assignment...

Definition at line 108 of file PeakAssignmentResidueMap.cc.

References protocols::noesy_assign::PeakAssignment::resid().

core::Size protocols::noesy_assign::PeakAssignmentResidueMap::total_residue ( ) const
inline

Definition at line 100 of file PeakAssignmentResidueMap.hh.

References residues_.

Member Data Documentation

AtomByResList protocols::noesy_assign::PeakAssignmentResidueMap::atoms_
private

Definition at line 138 of file PeakAssignmentResidueMap.hh.

PeakAssignments protocols::noesy_assign::PeakAssignmentResidueMap::BOGUS_ASSIGNMENTS
private

Definition at line 130 of file PeakAssignmentResidueMap.hh.

ResidueList protocols::noesy_assign::PeakAssignmentResidueMap::residues_
private

map with resid of atom(2) as search key. per residue - a PeakAssignmentMap — all residues that are connected by an initial assignment

Definition at line 129 of file PeakAssignmentResidueMap.hh.

Referenced by total_residue().


The documentation for this class was generated from the following files: