Description
Sum explicitly supplied allele-copy activities without choosing phenotype or treatment rules.
Pharmacogenomic records distinguish allele labels, copy counts, reference-sequence versions, coordinate systems, and evidence about chromosome phase. A balanced count or matching token can check a record without establishing the underlying genotype. Supplied activity values and interpretation rules remain separate from a current gene-specific clinical guideline.
Sum explicitly supplied allele-copy activities without choosing phenotype or treatment rules.
When to use this tool
Use Pharmacogenomic Result Activity Supplied Sum when you need this specific allele-token, reference-coordinate, copy-budget, or source-support check.
How to use the tool and how it works
- Enter copyCounts, suppliedActivities. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read totalCopies, activitySum. Use the output convention below.
Require aligned nonnegative integer copyCounts and nonnegative suppliedActivities. Return totalCopies=sum(copyCounts) and activitySum=sum(copyCounts[i]*suppliedActivities[i]).1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| copyCounts | Copy Counts | Required. Array of safe integer; maximum items 256. |
| suppliedActivities | Nonnegative caller-supplied activity values per copy, not a clinical lookup. | Required. Array of finite number; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| totalCopies | Total Copies | Required. Safe integer. |
| activitySum | Activity Sum | Required. Finite number. |
{
"input": {
"copyCounts": [
1,
2
],
"suppliedActivities": [
1,
0.5
]
},
"output": {
"totalCopies": 3,
"activitySum": 2
}
} Limitations and assumptions
- Activity values and copy assignments are supplied rather than looked up or clinically interpreted. Repeated entries are counted separately; no phenotype, guideline, or dose is selected.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Signed zero is exported as zero.
Alternative or Complementary methods
Use a current gene-specific nomenclature and a validated interpretation process when allele identity, phase, function, or clinical decisions matter. Verify source versions and reference coordinates before combining records.
References
Similar or alternative tools
- Pharmacogene Phenotype Caller Rule Match
Match supplied half-open phenotype-rule intervals without embedding clinical rules.
- Star Allele Copy Budget Remainder
Audit caller-supplied allele labels and copy counts without allele calling, phenotype inference or dosing guidance.