Silent versus Replacement dN/dS Selection Ratio Interpreter
Interpret the supplied normalized dN/dS ratio without inferring selection from raw synonymous/nonsynonymous counts.
Description
Interpret the supplied normalized dN/dS ratio without inferring selection from raw synonymous/nonsynonymous counts.
The dN/dS ratio compares supplied nonsynonymous and synonymous substitution-rate estimates. A simple ratio screen is conditional on how those estimates were obtained.
When to use this tool
Interpret the supplied normalized dN/dS ratio without inferring selection from raw synonymous/nonsynonymous counts.
- Prepare the supplied dn, ds fields for this operation.
- Compare the complete example with the representation used by your own input before carrying the result into another step.
How to use the tool and how it works
- Enter dn, ds. Use the exact text syntax, units and index conventions explained below.
- Run the tool. If input validation fails, correct the supplied fields before interpreting any result.
- Read result.ratio, result.conditionalScreen, result.selectionEstablished. Interpret false, null and empty lists using the distinctions below; they can be valid outputs.
Require nonnegative dn and positive ds. Return dn/ds and classify it as greater-than-one, less-than-one or exactly one, while setting selectionEstablished false.1
| Input field | Meaning and representation | Accepted input |
|---|---|---|
| dn | dn. | Finite number; zero or greater |
| ds | ds. | Finite number; greater than zero |
| Output field | Interpretation |
|---|---|
| result | Object containing the named outputs below. |
| result.ratio | The ratio value under the stated formula or text convention. |
| result.conditionalScreen | The conditional screen value under the stated formula or text convention. |
| result.selectionEstablished | Flag for selection established under the exact condition described above. |
{
"input": {
"dn": 0.2,
"ds": 0.1
},
"output": {
"result": {
"ratio": 2,
"conditionalScreen": "greater-than-one",
"selectionEstablished": false
}
}
} Limitations and assumptions
- No codon alignment, substitution model or significance test is fitted. A ratio alone does not establish natural selection; zero ds is rejected rather than treated as an infinite estimate.
- Every declared top-level field is required and unexpected fields are rejected. Numeric inputs must be finite; ordinary text fields are bounded to 8,192 UTF-16 code units, with tighter operation-specific limits where stated.
- Ordinary string lists have at most 128 entries of at most 128 code units each; numeric lists and matrices have separate bounded size checks. Nonfinite results and excessively large serialized outputs are rejected.
- Indexes are zero-based and spans have an exclusive end unless explicitly stated otherwise. A valid false, null or empty-list result is distinct from malformed input.
Alternative or Complementary methods
Keep model assumptions and phenotype-category order with each result. Ratio tolerance screens differ from goodness-of-fit inference, and sequence matches or likelihood products do not independently establish a biological mechanism or personal identity.
References
Similar or alternative tools
- Dihybrid Cross 9:3:3:1 Ratio Validator
Screen ordered phenotype proportions against the named genetic ratio with caller absolute fraction tolerance; not a significance test or proof of an epistatic mechanism.
- Monohybrid Cross 3:1 Phenotypic Ratio Checker
Screen ordered phenotype proportions against the named genetic ratio with caller absolute fraction tolerance; not a significance test or proof of an epistatic mechanism.