filters

Bindings for protocols::pose_sewing::filters namespace

class pyrosetta.rosetta.protocols.pose_sewing.filters.CSSettings

Bases: pybind11_object

property score_cutoff_
property window_width_
class pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorer

Bases: Filter

a filter that evaluates pairwise MotifScores

apply(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorer, pose: pyrosetta.rosetta.core.pose.Pose) bool

returns true if the structure passes the filter, false otherwise

C++: protocols::pose_sewing::filters::CoreScorer::apply(const class core::pose::Pose &) const –> bool

static class_name() str

C++: protocols::pose_sewing::filters::CoreScorer::class_name() –> std::string

clear(self: pyrosetta.rosetta.protocols.filters.Filter) None

used to clear internal variables if needed. Using fresh_instance is preferred since it’s a pure virtual

C++: protocols::filters::Filter::clear() –> void

clone(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorer) pyrosetta.rosetta.protocols.filters.Filter

required in the context of the parser/scripting scheme

C++: protocols::pose_sewing::filters::CoreScorer::clone() const –> class std::shared_ptr<class protocols::filters::Filter>

fresh_instance(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorer) pyrosetta.rosetta.protocols.filters.Filter

required in the context of the parser/scripting scheme

C++: protocols::pose_sewing::filters::CoreScorer::fresh_instance() const –> class std::shared_ptr<class protocols::filters::Filter>

get_type(self: pyrosetta.rosetta.protocols.filters.Filter) str

C++: protocols::filters::Filter::get_type() const –> std::string

get_user_defined_name(self: pyrosetta.rosetta.protocols.filters.Filter) str

C++: protocols::filters::Filter::get_user_defined_name() const –> std::string

name(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorer) str

C++: protocols::pose_sewing::filters::CoreScorer::name() const –> std::string

parse_my_tag(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorer, tag: pyrosetta.rosetta.utility.tag.Tag, data: pyrosetta.rosetta.basic.datacache.DataMap) None

parse XML tag (to use this Filter in Rosetta Scripts)

C++: protocols::pose_sewing::filters::CoreScorer::parse_my_tag(class std::shared_ptr<const class utility::tag::Tag>, class basic::datacache::DataMap &) –> void

provide_citation_info(self: pyrosetta.rosetta.protocols.filters.Filter, : pyrosetta.rosetta.basic.citation_manager.CitationCollectionList) None
Provide citations to the passed CitationCollectionList

Subclasses should add the info for themselves and any other classes they use.

The default implementation of this function does nothing. It may be overriden by filters wishing to provide citation information.

C++: protocols::filters::Filter::provide_citation_info(class basic::citation_manager::CitationCollectionList &) const –> void

static provide_xml_schema(xsd: utility::tag::XMLSchemaDefinition) None

C++: protocols::pose_sewing::filters::CoreScorer::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) –> void

report(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorer, os: pyrosetta.rosetta.std.ostream, pose: pyrosetta.rosetta.core.pose.Pose) None

allows printing data to a stream

C++: protocols::pose_sewing::filters::CoreScorer::report(std::ostream &, const class core::pose::Pose &) const –> void

report_sm(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorer, pose: pyrosetta.rosetta.core.pose.Pose) float

required for reporting score values

C++: protocols::pose_sewing::filters::CoreScorer::report_sm(const class core::pose::Pose &) const –> double

score(self: pyrosetta.rosetta.protocols.filters.Filter, pose: pyrosetta.rosetta.core.pose.Pose) float

C++: protocols::filters::Filter::score(class core::pose::Pose &) –> double

set_distance_cutoff(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorer, distance_cutoff: float) None

C++: protocols::pose_sewing::filters::CoreScorer::set_distance_cutoff(double) –> void

set_distance_mode(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorer, distance_mode: bool) None

C++: protocols::pose_sewing::filters::CoreScorer::set_distance_mode(bool) –> void

C++: protocols::pose_sewing::filters::CoreScorer::set_link_cutoff(unsigned long) –> void

set_score_cutoff(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorer, score_cutoff: float) None

C++: protocols::pose_sewing::filters::CoreScorer::set_score_cutoff(double) –> void

set_selector(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorer, selector: pyrosetta.rosetta.core.select.residue_selector.ResidueSelector) None

C++: protocols::pose_sewing::filters::CoreScorer::set_selector(class std::shared_ptr<const class core::select::residue_selector::ResidueSelector>) –> void

set_sum(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorer, sum: bool) None

C++: protocols::pose_sewing::filters::CoreScorer::set_sum(bool) –> void

set_user_defined_name(self: pyrosetta.rosetta.protocols.filters.Filter, name: str) None

C++: protocols::filters::Filter::set_user_defined_name(const std::string &) –> void

set_window_width(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorer, window_width: int) None

C++: protocols::pose_sewing::filters::CoreScorer::set_window_width(unsigned long) –> void

class pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorerCreator

Bases: FilterCreator

assign(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorerCreator, : pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorerCreator) pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorerCreator

C++: protocols::pose_sewing::filters::CoreScorerCreator::operator=(const class protocols::pose_sewing::filters::CoreScorerCreator &) –> class protocols::pose_sewing::filters::CoreScorerCreator &

create_filter(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorerCreator) pyrosetta.rosetta.protocols.filters.Filter

C++: protocols::pose_sewing::filters::CoreScorerCreator::create_filter() const –> class std::shared_ptr<class protocols::filters::Filter>

keyname(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorerCreator) str

C++: protocols::pose_sewing::filters::CoreScorerCreator::keyname() const –> std::string

provide_xml_schema(self: pyrosetta.rosetta.protocols.pose_sewing.filters.CoreScorerCreator, xsd: utility::tag::XMLSchemaDefinition) None

C++: protocols::pose_sewing::filters::CoreScorerCreator::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) const –> void

class pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilter

Bases: Filter

filters based on disulfide presence

apply(self: pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilter, pose: pyrosetta.rosetta.core.pose.Pose) bool

returns true if the structure passes the filter, false otherwise

C++: protocols::pose_sewing::filters::HasDisulfideFilter::apply(const class core::pose::Pose &) const –> bool

static class_name() str

C++: protocols::pose_sewing::filters::HasDisulfideFilter::class_name() –> std::string

clear(self: pyrosetta.rosetta.protocols.filters.Filter) None

used to clear internal variables if needed. Using fresh_instance is preferred since it’s a pure virtual

C++: protocols::filters::Filter::clear() –> void

clone(self: pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilter) pyrosetta.rosetta.protocols.filters.Filter

required in the context of the parser/scripting scheme

C++: protocols::pose_sewing::filters::HasDisulfideFilter::clone() const –> class std::shared_ptr<class protocols::filters::Filter>

fresh_instance(self: pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilter) pyrosetta.rosetta.protocols.filters.Filter

required in the context of the parser/scripting scheme

C++: protocols::pose_sewing::filters::HasDisulfideFilter::fresh_instance() const –> class std::shared_ptr<class protocols::filters::Filter>

get_type(self: pyrosetta.rosetta.protocols.filters.Filter) str

C++: protocols::filters::Filter::get_type() const –> std::string

get_user_defined_name(self: pyrosetta.rosetta.protocols.filters.Filter) str

C++: protocols::filters::Filter::get_user_defined_name() const –> std::string

name(self: pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilter) str

C++: protocols::pose_sewing::filters::HasDisulfideFilter::name() const –> std::string

parse_my_tag(self: pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilter, tag: pyrosetta.rosetta.utility.tag.Tag, data: pyrosetta.rosetta.basic.datacache.DataMap) None

parse XML tag (to use this Filter in Rosetta Scripts)

C++: protocols::pose_sewing::filters::HasDisulfideFilter::parse_my_tag(class std::shared_ptr<const class utility::tag::Tag>, class basic::datacache::DataMap &) –> void

provide_citation_info(self: pyrosetta.rosetta.protocols.filters.Filter, : pyrosetta.rosetta.basic.citation_manager.CitationCollectionList) None
Provide citations to the passed CitationCollectionList

Subclasses should add the info for themselves and any other classes they use.

The default implementation of this function does nothing. It may be overriden by filters wishing to provide citation information.

C++: protocols::filters::Filter::provide_citation_info(class basic::citation_manager::CitationCollectionList &) const –> void

static provide_xml_schema(xsd: utility::tag::XMLSchemaDefinition) None

C++: protocols::pose_sewing::filters::HasDisulfideFilter::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) –> void

report(self: pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilter, os: pyrosetta.rosetta.std.ostream, pose: pyrosetta.rosetta.core.pose.Pose) None

allows printing data to a stream

C++: protocols::pose_sewing::filters::HasDisulfideFilter::report(std::ostream &, const class core::pose::Pose &) const –> void

report_sm(self: pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilter, pose: pyrosetta.rosetta.core.pose.Pose) float

required for reporting score values

C++: protocols::pose_sewing::filters::HasDisulfideFilter::report_sm(const class core::pose::Pose &) const –> double

score(self: pyrosetta.rosetta.protocols.filters.Filter, pose: pyrosetta.rosetta.core.pose.Pose) float

C++: protocols::filters::Filter::score(class core::pose::Pose &) –> double

set_first_selector(self: pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilter, selector: pyrosetta.rosetta.core.select.residue_selector.ResidueSelector) None

C++: protocols::pose_sewing::filters::HasDisulfideFilter::set_first_selector(class std::shared_ptr<const class core::select::residue_selector::ResidueSelector>) –> void

set_second_selector(self: pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilter, selector: pyrosetta.rosetta.core.select.residue_selector.ResidueSelector) None

C++: protocols::pose_sewing::filters::HasDisulfideFilter::set_second_selector(class std::shared_ptr<const class core::select::residue_selector::ResidueSelector>) –> void

set_user_defined_name(self: pyrosetta.rosetta.protocols.filters.Filter, name: str) None

C++: protocols::filters::Filter::set_user_defined_name(const std::string &) –> void

class pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilterCreator

Bases: FilterCreator

assign(self: pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilterCreator, : pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilterCreator) pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilterCreator

C++: protocols::pose_sewing::filters::HasDisulfideFilterCreator::operator=(const class protocols::pose_sewing::filters::HasDisulfideFilterCreator &) –> class protocols::pose_sewing::filters::HasDisulfideFilterCreator &

create_filter(self: pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilterCreator) pyrosetta.rosetta.protocols.filters.Filter

C++: protocols::pose_sewing::filters::HasDisulfideFilterCreator::create_filter() const –> class std::shared_ptr<class protocols::filters::Filter>

keyname(self: pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilterCreator) str

C++: protocols::pose_sewing::filters::HasDisulfideFilterCreator::keyname() const –> std::string

provide_xml_schema(self: pyrosetta.rosetta.protocols.pose_sewing.filters.HasDisulfideFilterCreator, xsd: utility::tag::XMLSchemaDefinition) None

C++: protocols::pose_sewing::filters::HasDisulfideFilterCreator::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) const –> void