full_model_inputters¶
Bindings for protocols::jd3::full_model_inputters namespace
- class pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputSource¶
Bases:
InputSource
The %FullModelInputSource is a small class for holding data about the starting Pose for a Job and where it comes from (i.e. which of the FullModelInputters claims responsibility for creating a Pose for this instance). The “input_tag” is a string description of the input source and will be used as the “job_tag” to control output – the input tag should not include the file extension. It is perfectly reasonable for complex FullModelInputters to subclass from FullModelInputSource to tuck more complex data in the FullModelInputSource, though, the string-string map ought to provide considerable flexibility in storing data without deriving new subclasses.
- assign(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputSource, : pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputSource) pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputSource ¶
C++: protocols::jd3::full_model_inputters::FullModelInputSource::operator=(const class protocols::jd3::full_model_inputters::FullModelInputSource &) –> class protocols::jd3::full_model_inputters::FullModelInputSource &
- input_tag(*args, **kwargs)¶
Overloaded function.
input_tag(self: pyrosetta.rosetta.protocols.jd3.InputSource) -> str
C++: protocols::jd3::InputSource::input_tag() const –> const std::string &
input_tag(self: pyrosetta.rosetta.protocols.jd3.InputSource, setting: str) -> None
C++: protocols::jd3::InputSource::input_tag(const std::string &) –> void
- origin(*args, **kwargs)¶
Overloaded function.
origin(self: pyrosetta.rosetta.protocols.jd3.InputSource) -> str
C++: protocols::jd3::InputSource::origin() const –> const std::string &
origin(self: pyrosetta.rosetta.protocols.jd3.InputSource, setting: str) -> None
C++: protocols::jd3::InputSource::origin(const std::string &) –> void
- source_id(*args, **kwargs)¶
Overloaded function.
source_id(self: pyrosetta.rosetta.protocols.jd3.InputSource) -> int
C++: protocols::jd3::InputSource::source_id() const –> unsigned long
source_id(self: pyrosetta.rosetta.protocols.jd3.InputSource, setting: int) -> None
C++: protocols::jd3::InputSource::source_id(unsigned long) –> void
- store_string_pair(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputSource, key: str, value: str) None ¶
C++: protocols::jd3::full_model_inputters::FullModelInputSource::store_string_pair(const std::string &, const std::string &) –> void
- string_string_map(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputSource) pyrosetta.rosetta.std.map_std_string_utility_vector1_std_string_std_allocator_std_string_t_std_allocator_std_pair_const_std_string_utility_vector1_std_string_std_allocator_std_string_t ¶
C++: protocols::jd3::full_model_inputters::FullModelInputSource::string_string_map() const –> const class std::map<std::string, class utility::vector1<std::string, class std::allocator<std::string > >, struct std::less<std::string >, class std::allocator<struct std::pair<const std::string, class utility::vector1<std::string, class std::allocator<std::string > > > > > &
- class pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputter¶
Bases:
pybind11_object
The %FullModelInputter is responsible for reading from the command line a set of structures that are each to be run through a protocol, where each input struture will be the starting point for some number of jobs (where that number is at the JobQueen’s discretion). The %FullModelInputter is responsible for two things: - for creating a list of FullModelInputSource objects - for turning a FullModelInputSource object into a Pose on demand.
In addition to the virtual functions, each derived FullModelInputter should define two static methods that will be invoked by its corresponding FullModelInputterCreator: - static std::string keyname(); - static void provide_xml_schema( utility::tag::XMLSchemaDefinition & xsd );
- assign(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputter, : pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputter) pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputter ¶
C++: protocols::jd3::full_model_inputters::FullModelInputter::operator=(const class protocols::jd3::full_model_inputters::FullModelInputter &) –> class protocols::jd3::full_model_inputters::FullModelInputter &
- full_model_from_input_source(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputter, input_source: protocols::jd3::full_model_inputters::FullModelInputSource, options: pyrosetta.rosetta.utility.options.OptionCollection, tag: pyrosetta.rosetta.utility.tag.Tag) pyrosetta.rosetta.core.pose.Pose ¶
- Convert a single FullModelInputSource into a Pose that will be used to
initialize a Job. The FullModelInputSource object must have originated from this %FullModelInputter in the prior call to initialize_full_model_input_sources.
C++: protocols::jd3::full_model_inputters::FullModelInputter::full_model_from_input_source(const class protocols::jd3::full_model_inputters::FullModelInputSource &, const class utility::options::OptionCollection &, class std::shared_ptr<const class utility::tag::Tag>) –> class std::shared_ptr<class core::pose::Pose>
- job_available_on_command_line(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputter) bool ¶
C++: protocols::jd3::full_model_inputters::FullModelInputter::job_available_on_command_line() const –> bool
- class pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterCreator¶
Bases:
pybind11_object
- assign(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterCreator, : pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterCreator) pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterCreator ¶
C++: protocols::jd3::full_model_inputters::FullModelInputterCreator::operator=(const class protocols::jd3::full_model_inputters::FullModelInputterCreator &) –> class protocols::jd3::full_model_inputters::FullModelInputterCreator &
- create_inputter(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterCreator) pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputter ¶
C++: protocols::jd3::full_model_inputters::FullModelInputterCreator::create_inputter() const –> class std::shared_ptr<class protocols::jd3::full_model_inputters::FullModelInputter>
- keyname(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterCreator) str ¶
C++: protocols::jd3::full_model_inputters::FullModelInputterCreator::keyname() const –> std::string
- list_options_read(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterCreator, read_options: pyrosetta.rosetta.std.list_utility_keys_VariantKey_utility_options_OptionKey_t) None ¶
C++: protocols::jd3::full_model_inputters::FullModelInputterCreator::list_options_read(class std::list<class utility::keys::VariantKey<class utility::options::OptionKey>, class std::allocator<class utility::keys::VariantKey<class utility::options::OptionKey> > > &) const –> void
- class pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterFactory¶
Bases:
SingletonBase_protocols_jd3_full_model_inputters_FullModelInputterFactory_t
- static complex_type_name_for_full_model_inputter(inputter_key: str) str ¶
C++: protocols::jd3::full_model_inputters::FullModelInputterFactory::complex_type_name_for_full_model_inputter(const std::string &) –> std::string
- define_full_model_inputter_xml_schema(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterFactory, xsd: utility::tag::XMLSchemaDefinition) None ¶
- The %ResidueSelectorFactory is the point of entry for the definition of the XML Schemas
for every ResidueSelector that may be instantiated from a file. It is responsible for defining an xs:group named “residue_selector” listing each of the residue-selector-complex types that may be initialized using the %ResidueSelectorFactory and to iterate across each of the ResidueSelectorCreators it contains asking them for the XML schema of the ResidueSelector they are responsible for creating.
C++: protocols::jd3::full_model_inputters::FullModelInputterFactory::define_full_model_inputter_xml_schema(class utility::tag::XMLSchemaDefinition &) const –> void
- factory_register(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterFactory, creator: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterCreator) None ¶
C++: protocols::jd3::full_model_inputters::FullModelInputterFactory::factory_register(class std::shared_ptr<class protocols::jd3::full_model_inputters::FullModelInputterCreator>) –> void
- full_model_inputter_creators(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterFactory) pyrosetta.rosetta.std.list_std_shared_ptr_const_protocols_jd3_full_model_inputters_FullModelInputterCreator_t ¶
C++: protocols::jd3::full_model_inputters::FullModelInputterFactory::full_model_inputter_creators() const –> const class std::list<class std::shared_ptr<const class protocols::jd3::full_model_inputters::FullModelInputterCreator>, class std::allocator<class std::shared_ptr<const class protocols::jd3::full_model_inputters::FullModelInputterCreator> > > &
- static full_model_inputter_xml_schema_group_name() str ¶
C++: protocols::jd3::full_model_inputters::FullModelInputterFactory::full_model_inputter_xml_schema_group_name() –> std::string
- static get_instance() protocols::jd3::full_model_inputters::FullModelInputterFactory ¶
C++: utility::SingletonBase<protocols::jd3::full_model_inputters::FullModelInputterFactory>::get_instance() –> class protocols::jd3::full_model_inputters::FullModelInputterFactory *
- list_options_read(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterFactory, read_options: pyrosetta.rosetta.std.list_utility_keys_VariantKey_utility_options_OptionKey_t) None ¶
C++: protocols::jd3::full_model_inputters::FullModelInputterFactory::list_options_read(class std::list<class utility::keys::VariantKey<class utility::options::OptionKey>, class std::allocator<class utility::keys::VariantKey<class utility::options::OptionKey> > > &) const –> void
- new_full_model_inputter(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterFactory, : str) pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputter ¶
Create a pose inputter given its identifying string, e.g. the name of an XML element.
C++: protocols::jd3::full_model_inputters::FullModelInputterFactory::new_full_model_inputter(const std::string &) const –> class std::shared_ptr<class protocols::jd3::full_model_inputters::FullModelInputter>
- set_throw_on_double_registration(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputterFactory) None ¶
- Should the Factory throw an exception or call utility::exit when it encounters the
second of two FullModelInputterCreators with the same keyname? It’s default behavior is to call utility::exit, but this method allows you to set it so that it will throw an exception instead (which is unit testable).
C++: protocols::jd3::full_model_inputters::FullModelInputterFactory::set_throw_on_double_registration() –> void
- class pyrosetta.rosetta.protocols.jd3.full_model_inputters.PDBFullModelInputter¶
Bases:
FullModelInputter
This is the simplest implementation of FullModelInputter, which reads from -s/-l and PDB files.
- assign(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.PDBFullModelInputter, : pyrosetta.rosetta.protocols.jd3.full_model_inputters.PDBFullModelInputter) pyrosetta.rosetta.protocols.jd3.full_model_inputters.PDBFullModelInputter ¶
C++: protocols::jd3::full_model_inputters::PDBFullModelInputter::operator=(const class protocols::jd3::full_model_inputters::PDBFullModelInputter &) –> class protocols::jd3::full_model_inputters::PDBFullModelInputter &
- full_model_from_input_source(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.PDBFullModelInputter, : pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputSource, : pyrosetta.rosetta.utility.options.OptionCollection, tag: pyrosetta.rosetta.utility.tag.Tag) pyrosetta.rosetta.core.pose.Pose ¶
- Takes a FullModelInputSource object previously initialized in the
call to initialize_full_model_input_sources()
C++: protocols::jd3::full_model_inputters::PDBFullModelInputter::full_model_from_input_source(const class protocols::jd3::full_model_inputters::FullModelInputSource &, const class utility::options::OptionCollection &, class std::shared_ptr<const class utility::tag::Tag>) –> class std::shared_ptr<class core::pose::Pose>
- job_available_on_command_line(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.PDBFullModelInputter) bool ¶
C++: protocols::jd3::full_model_inputters::PDBFullModelInputter::job_available_on_command_line() const –> bool
- static keyname() str ¶
- returns the name for the element that will be used in a job-definition
file for a structure originating from a .pdb file: “PDB”
C++: protocols::jd3::full_model_inputters::PDBFullModelInputter::keyname() –> std::string
- static list_options_read(read_options: pyrosetta.rosetta.std.list_utility_keys_VariantKey_utility_options_OptionKey_t) None ¶
C++: protocols::jd3::full_model_inputters::PDBFullModelInputter::list_options_read(class std::list<class utility::keys::VariantKey<class utility::options::OptionKey>, class std::allocator<class utility::keys::VariantKey<class utility::options::OptionKey> > > &) –> void
- static provide_xml_schema(xsd: utility::tag::XMLSchemaDefinition) None ¶
- returns the schema for the PDB element used in a job-definition file
including all options that govern how a PDB is loaded.
C++: protocols::jd3::full_model_inputters::PDBFullModelInputter::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) –> void
- class pyrosetta.rosetta.protocols.jd3.full_model_inputters.PDBFullModelInputterCreator¶
Bases:
FullModelInputterCreator
- assign(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.PDBFullModelInputterCreator, : pyrosetta.rosetta.protocols.jd3.full_model_inputters.PDBFullModelInputterCreator) pyrosetta.rosetta.protocols.jd3.full_model_inputters.PDBFullModelInputterCreator ¶
C++: protocols::jd3::full_model_inputters::PDBFullModelInputterCreator::operator=(const class protocols::jd3::full_model_inputters::PDBFullModelInputterCreator &) –> class protocols::jd3::full_model_inputters::PDBFullModelInputterCreator &
- create_inputter(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.PDBFullModelInputterCreator) pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputter ¶
C++: protocols::jd3::full_model_inputters::PDBFullModelInputterCreator::create_inputter() const –> class std::shared_ptr<class protocols::jd3::full_model_inputters::FullModelInputter>
- keyname(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.PDBFullModelInputterCreator) str ¶
C++: protocols::jd3::full_model_inputters::PDBFullModelInputterCreator::keyname() const –> std::string
- list_options_read(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.PDBFullModelInputterCreator, read_options: pyrosetta.rosetta.std.list_utility_keys_VariantKey_utility_options_OptionKey_t) None ¶
C++: protocols::jd3::full_model_inputters::PDBFullModelInputterCreator::list_options_read(class std::list<class utility::keys::VariantKey<class utility::options::OptionKey>, class std::allocator<class utility::keys::VariantKey<class utility::options::OptionKey> > > &) const –> void
- provide_xml_schema(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.PDBFullModelInputterCreator, xsd: utility::tag::XMLSchemaDefinition) None ¶
C++: protocols::jd3::full_model_inputters::PDBFullModelInputterCreator::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) const –> void
- class pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputter¶
Bases:
FullModelInputter
- assign(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputter, : pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputter) pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputter ¶
C++: protocols::jd3::full_model_inputters::SilentFileFullModelInputter::operator=(const class protocols::jd3::full_model_inputters::SilentFileFullModelInputter &) –> class protocols::jd3::full_model_inputters::SilentFileFullModelInputter &
- full_model_from_input_source(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputter, input_source: pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputSource, options: pyrosetta.rosetta.utility.options.OptionCollection, tag: pyrosetta.rosetta.utility.tag.Tag) pyrosetta.rosetta.core.pose.Pose ¶
C++: protocols::jd3::full_model_inputters::SilentFileFullModelInputter::full_model_from_input_source(const class protocols::jd3::full_model_inputters::FullModelInputSource &, const class utility::options::OptionCollection &, class std::shared_ptr<const class utility::tag::Tag>) –> class std::shared_ptr<class core::pose::Pose>
- job_available_on_command_line(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputter) bool ¶
C++: protocols::jd3::full_model_inputters::SilentFileFullModelInputter::job_available_on_command_line() const –> bool
- static keyname() str ¶
- returns the name for the element that will be used in a job-definition
file for a structure originating from a silent file: “Silent”
C++: protocols::jd3::full_model_inputters::SilentFileFullModelInputter::keyname() –> std::string
- static list_options_read(read_options: pyrosetta.rosetta.std.list_utility_keys_VariantKey_utility_options_OptionKey_t) None ¶
C++: protocols::jd3::full_model_inputters::SilentFileFullModelInputter::list_options_read(class std::list<class utility::keys::VariantKey<class utility::options::OptionKey>, class std::allocator<class utility::keys::VariantKey<class utility::options::OptionKey> > > &) –> void
- static provide_xml_schema(xsd: utility::tag::XMLSchemaDefinition) None ¶
- returns the schema for the PDB element used in a job-definition file
including all options that govern how a silent struct is loaded.
C++: protocols::jd3::full_model_inputters::SilentFileFullModelInputter::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) –> void
- silent_file_data(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputter) pyrosetta.rosetta.core.io.silent.SilentFileData ¶
C++: protocols::jd3::full_model_inputters::SilentFileFullModelInputter::silent_file_data() const –> const class core::io::silent::SilentFileData &
- class pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputterCreator¶
Bases:
FullModelInputterCreator
- assign(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputterCreator, : pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputterCreator) pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputterCreator ¶
C++: protocols::jd3::full_model_inputters::SilentFileFullModelInputterCreator::operator=(const class protocols::jd3::full_model_inputters::SilentFileFullModelInputterCreator &) –> class protocols::jd3::full_model_inputters::SilentFileFullModelInputterCreator &
- create_inputter(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputterCreator) pyrosetta.rosetta.protocols.jd3.full_model_inputters.FullModelInputter ¶
C++: protocols::jd3::full_model_inputters::SilentFileFullModelInputterCreator::create_inputter() const –> class std::shared_ptr<class protocols::jd3::full_model_inputters::FullModelInputter>
- keyname(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputterCreator) str ¶
C++: protocols::jd3::full_model_inputters::SilentFileFullModelInputterCreator::keyname() const –> std::string
- list_options_read(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputterCreator, read_options: pyrosetta.rosetta.std.list_utility_keys_VariantKey_utility_options_OptionKey_t) None ¶
C++: protocols::jd3::full_model_inputters::SilentFileFullModelInputterCreator::list_options_read(class std::list<class utility::keys::VariantKey<class utility::options::OptionKey>, class std::allocator<class utility::keys::VariantKey<class utility::options::OptionKey> > > &) const –> void
- provide_xml_schema(self: pyrosetta.rosetta.protocols.jd3.full_model_inputters.SilentFileFullModelInputterCreator, xsd: utility::tag::XMLSchemaDefinition) None ¶
C++: protocols::jd3::full_model_inputters::SilentFileFullModelInputterCreator::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) const –> void
- pyrosetta.rosetta.protocols.jd3.full_model_inputters.full_model_inputter_xsd_type_definition_w_attributes(xsd: utility::tag::XMLSchemaDefinition, inputter_type: str, description: str, attributes: pyrosetta.rosetta.std.list_utility_tag_XMLSchemaAttribute_t) None ¶
- Define the XML schema definition for a FullModelInputter that contains
no subtags but may contain any number of attributes (aka options).
C++: protocols::jd3::full_model_inputters::full_model_inputter_xsd_type_definition_w_attributes(class utility::tag::XMLSchemaDefinition &, const std::string &, const std::string &, const class std::list<class utility::tag::XMLSchemaAttribute, class std::allocator<class utility::tag::XMLSchemaAttribute> > &) –> void