Back to SimpleMetrics page.
Autogenerated Tag Syntax Documentation:
A PerResidueRealMetric for returning just the probability of the amino acid currently present in the pose from a PerResidueProbabilitiesMetric.
References and author information for the CurrentProbabilityMetric simple metric:
CurrentProbabilityMetric SimpleMetric's author(s): Moritz Ertelt, University of Leipzig [moritz.ertelt@gmail.com]
<CurrentProbabilityMetric name="(&string;)" custom_type="(&string;)"
metric="(&string;)" use_cached_data="(false &bool;)"
cache_prefix="(&string;)" cache_suffix="(&string;)"
fail_on_missing_cache="(true &bool;)" />
A PerResidueRealMetric that returns just the probability for the sequence currently present in the pose from a PerResidueProbabilitiesMetric (going from length*20 to length*1 probabilities). Useful for filtering or visualization of probabilities. This metric alone does not require compilation with extras=tensorflow,torch
but the model predictions that are typically input do. See Building Rosetta with TensorFlow and Torch for the compilation setup.
This example predicts the amino acid probabilities for chain A of our protein using ProteinMPNN and then returns just the probabilities for the current sequence from them. Additionally it uses the metric_to_bfactor option of RunSimpleMetrics mover which enables easy visualization of the values in ChimeraX/PyMol.
<ROSETTASCRIPTS>
<RESIDUE_SELECTORS>
<Chain name="res" chains="A" />
</RESIDUE_SELECTORS>
<SIMPLE_METRICS>
<ProteinMPNNProbabilitiesMetric name="prediction"/>
<CurrentProbabilityMetric name="current" metric="prediction" custom_type="probs"/>
</SIMPLE_METRICS>
<FILTERS>
</FILTERS>
<MOVERS>
<RunSimpleMetrics name="analysis" metrics="current" metric_to_bfactor="probs"/>
</MOVERS>
<PROTOCOLS>
<Add mover_name="analysis"/>
</PROTOCOLS>
</ROSETTASCRIPTS>
The implementation in Rosetta is currently unpublished.