21 #include <utility/tag/Tag.hh>
22 #include <utility/exit.hh>
26 #include <utility/vector0.hh>
27 #include <utility/vector1.hh>
78 using namespace chemical;
80 for ( std::string::const_iterator it( aastring.begin() ),
end( aastring.end() );
85 std::ostringstream os;
86 os <<
"aa letter " << *it <<
" does not not correspond to a canonical AA";
87 utility_exit_with_message( os.str() );
94 runtime_assert( tag );
96 else utility_exit_with_message(
"no aas tag option by which restrict absent canonical aas.");
102 allowed_aas_( invert_vector( disallowed_aas_ ) )
105 disallowed_aas_( disallowed_aas ),
106 allowed_aas_( invert_vector(disallowed_aas) )
130 inverted_vec.push_back( ! disallowed_aas[ii] );
147 using namespace chemical;
149 for ( std::string::const_iterator it( aa_string.begin() ),
end( aa_string.end() );
154 std::ostringstream os;
155 os <<
"aa letter " << *it <<
" does not not correspond to a canonical AA";
156 utility_exit_with_message( os.str() );
165 runtime_assert( tag );
166 if ( tag->hasOption(
"disallow_aas") )
168 else utility_exit_with_message(
"no aas tag option by which restrict absent canonical aas.");
191 behavior_( behavior )
212 runtime_assert( tag );
214 else utility_exit_with_message(
"AddBehaviorRLT tag needs to define option \"behavior\".");