chunk_library_inputters

Bindings for protocols::jd3::chunk_library_inputters namespace

class pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputSource

Bases: InputSource

The %ChunkLibraryInputSource is a small class for holding data about the starting Pose for a Job and where it comes from (i.e. which of the ChunkLibraryInputters 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 ChunkLibraryInputters to subclass from ChunkLibraryInputSource to tuck more complex data in the ChunkLibraryInputSource, though, the string-string map ought to provide considerable flexibility in storing data without deriving new subclasses.

assign(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputSource, : pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputSource) pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputSource

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource::operator=(const class protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource &) –> class protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource &

input_tag(*args, **kwargs)

Overloaded function.

  1. input_tag(self: pyrosetta.rosetta.protocols.jd3.InputSource) -> str

C++: protocols::jd3::InputSource::input_tag() const –> const std::string &

  1. 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.

  1. origin(self: pyrosetta.rosetta.protocols.jd3.InputSource) -> str

C++: protocols::jd3::InputSource::origin() const –> const std::string &

  1. 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.

  1. source_id(self: pyrosetta.rosetta.protocols.jd3.InputSource) -> int

C++: protocols::jd3::InputSource::source_id() const –> unsigned long

  1. 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.chunk_library_inputters.ChunkLibraryInputSource, key: str, value: str) None

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource::store_string_pair(const std::string &, const std::string &) –> void

string_string_map(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputSource) 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::chunk_library_inputters::ChunkLibraryInputSource::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.chunk_library_inputters.ChunkLibraryInputter

Bases: pybind11_object

The %ChunkLibraryInputter 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 %ChunkLibraryInputter is responsible for two things: - for creating a list of ChunkLibraryInputSource objects - for turning a ChunkLibraryInputSource object into a Pose on demand.

In addition to the virtual functions, each derived ChunkLibraryInputter should define two static methods that will be invoked by its corresponding ChunkLibraryInputterCreator: - static std::string keyname(); - static void provide_xml_schema( utility::tag::XMLSchemaDefinition & xsd );

assign(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputter, : pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputter) pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputter

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputter::operator=(const class protocols::jd3::chunk_library_inputters::ChunkLibraryInputter &) –> class protocols::jd3::chunk_library_inputters::ChunkLibraryInputter &

chunk_library_from_input_source(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputter, input_source: protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource, options: pyrosetta.rosetta.utility.options.OptionCollection, tag: pyrosetta.rosetta.utility.tag.Tag) pyrosetta.rosetta.core.pose.Pose
Convert a single ChunkLibraryInputSource into a Pose that will be used to

initialize a Job. The ChunkLibraryInputSource object must have originated from this %ChunkLibraryInputter in the prior call to initialize_chunk_library_input_sources.

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputter::chunk_library_from_input_source(const class protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource &, 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.chunk_library_inputters.ChunkLibraryInputter) bool

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputter::job_available_on_command_line() const –> bool

class pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterCreator

Bases: pybind11_object

assign(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterCreator, : pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterCreator) pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterCreator

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputterCreator::operator=(const class protocols::jd3::chunk_library_inputters::ChunkLibraryInputterCreator &) –> class protocols::jd3::chunk_library_inputters::ChunkLibraryInputterCreator &

create_inputter(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterCreator) pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputter

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputterCreator::create_inputter() const –> class std::shared_ptr<class protocols::jd3::chunk_library_inputters::ChunkLibraryInputter>

keyname(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterCreator) str

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputterCreator::keyname() const –> std::string

list_options_read(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterCreator, read_options: pyrosetta.rosetta.std.list_utility_keys_VariantKey_utility_options_OptionKey_t) None

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputterCreator::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.chunk_library_inputters.ChunkLibraryInputterCreator, xsd: utility::tag::XMLSchemaDefinition) None

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputterCreator::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) const –> void

class pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterFactory

Bases: SingletonBase_protocols_jd3_chunk_library_inputters_ChunkLibraryInputterFactory_t

chunk_library_inputter_creators(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterFactory) pyrosetta.rosetta.std.list_std_shared_ptr_const_protocols_jd3_chunk_library_inputters_ChunkLibraryInputterCreator_t

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputterFactory::chunk_library_inputter_creators() const –> const class std::list<class std::shared_ptr<const class protocols::jd3::chunk_library_inputters::ChunkLibraryInputterCreator>, class std::allocator<class std::shared_ptr<const class protocols::jd3::chunk_library_inputters::ChunkLibraryInputterCreator> > > &

static chunk_library_inputter_xml_schema_group_name() str

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputterFactory::chunk_library_inputter_xml_schema_group_name() –> std::string

static complex_type_name_for_chunk_library_inputter(inputter_key: str) str

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputterFactory::complex_type_name_for_chunk_library_inputter(const std::string &) –> std::string

define_chunk_library_inputter_xml_schema(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterFactory, 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::chunk_library_inputters::ChunkLibraryInputterFactory::define_chunk_library_inputter_xml_schema(class utility::tag::XMLSchemaDefinition &) const –> void

factory_register(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterFactory, creator: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterCreator) None

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputterFactory::factory_register(class std::shared_ptr<class protocols::jd3::chunk_library_inputters::ChunkLibraryInputterCreator>) –> void

static get_instance() protocols::jd3::chunk_library_inputters::ChunkLibraryInputterFactory

C++: utility::SingletonBase<protocols::jd3::chunk_library_inputters::ChunkLibraryInputterFactory>::get_instance() –> class protocols::jd3::chunk_library_inputters::ChunkLibraryInputterFactory *

list_options_read(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterFactory, read_options: pyrosetta.rosetta.std.list_utility_keys_VariantKey_utility_options_OptionKey_t) None

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputterFactory::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_chunk_library_inputter(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterFactory, : str) pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputter

Create a pose inputter given its identifying string, e.g. the name of an XML element.

C++: protocols::jd3::chunk_library_inputters::ChunkLibraryInputterFactory::new_chunk_library_inputter(const std::string &) const –> class std::shared_ptr<class protocols::jd3::chunk_library_inputters::ChunkLibraryInputter>

set_throw_on_double_registration(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputterFactory) None
Should the Factory throw an exception or call utility::exit when it encounters the

second of two ChunkLibraryInputterCreators 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::chunk_library_inputters::ChunkLibraryInputterFactory::set_throw_on_double_registration() –> void

class pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.PDBChunkLibraryInputter

Bases: ChunkLibraryInputter

This is the simplest implementation of ChunkLibraryInputter, which reads from -s/-l and PDB files.

assign(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.PDBChunkLibraryInputter, : pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.PDBChunkLibraryInputter) pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.PDBChunkLibraryInputter

C++: protocols::jd3::chunk_library_inputters::PDBChunkLibraryInputter::operator=(const class protocols::jd3::chunk_library_inputters::PDBChunkLibraryInputter &) –> class protocols::jd3::chunk_library_inputters::PDBChunkLibraryInputter &

chunk_library_from_input_source(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.PDBChunkLibraryInputter, : pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputSource, : pyrosetta.rosetta.utility.options.OptionCollection, tag: pyrosetta.rosetta.utility.tag.Tag) pyrosetta.rosetta.core.pose.Pose
Takes a ChunkLibraryInputSource object previously initialized in the

call to initialize_chunk_library_input_sources()

C++: protocols::jd3::chunk_library_inputters::PDBChunkLibraryInputter::chunk_library_from_input_source(const class protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource &, 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.chunk_library_inputters.PDBChunkLibraryInputter) bool

C++: protocols::jd3::chunk_library_inputters::PDBChunkLibraryInputter::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::chunk_library_inputters::PDBChunkLibraryInputter::keyname() –> std::string

static list_options_read(read_options: pyrosetta.rosetta.std.list_utility_keys_VariantKey_utility_options_OptionKey_t) None

C++: protocols::jd3::chunk_library_inputters::PDBChunkLibraryInputter::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::chunk_library_inputters::PDBChunkLibraryInputter::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) –> void

class pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.PDBChunkLibraryInputterCreator

Bases: ChunkLibraryInputterCreator

assign(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.PDBChunkLibraryInputterCreator, : pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.PDBChunkLibraryInputterCreator) pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.PDBChunkLibraryInputterCreator

C++: protocols::jd3::chunk_library_inputters::PDBChunkLibraryInputterCreator::operator=(const class protocols::jd3::chunk_library_inputters::PDBChunkLibraryInputterCreator &) –> class protocols::jd3::chunk_library_inputters::PDBChunkLibraryInputterCreator &

create_inputter(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.PDBChunkLibraryInputterCreator) pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.ChunkLibraryInputter

C++: protocols::jd3::chunk_library_inputters::PDBChunkLibraryInputterCreator::create_inputter() const –> class std::shared_ptr<class protocols::jd3::chunk_library_inputters::ChunkLibraryInputter>

keyname(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.PDBChunkLibraryInputterCreator) str

C++: protocols::jd3::chunk_library_inputters::PDBChunkLibraryInputterCreator::keyname() const –> std::string

list_options_read(self: pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.PDBChunkLibraryInputterCreator, read_options: pyrosetta.rosetta.std.list_utility_keys_VariantKey_utility_options_OptionKey_t) None

C++: protocols::jd3::chunk_library_inputters::PDBChunkLibraryInputterCreator::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.chunk_library_inputters.PDBChunkLibraryInputterCreator, xsd: utility::tag::XMLSchemaDefinition) None

C++: protocols::jd3::chunk_library_inputters::PDBChunkLibraryInputterCreator::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) const –> void

pyrosetta.rosetta.protocols.jd3.chunk_library_inputters.chunk_library_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 ChunkLibraryInputter that contains

no subtags but may contain any number of attributes (aka options).

C++: protocols::jd3::chunk_library_inputters::chunk_library_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