add_evidence_to_fact
Add evidence to existing facts in GO-CAM models by specifying evidence codes and source references to support biological assertions.
Instructions
Add evidence to an existing fact in a GO-CAM model.
Args: model_id: The GO-CAM model identifier subject_id: Subject of the fact object_id: Object of the fact predicate_id: Predicate of the fact eco_id: Evidence code (e.g., "ECO:0000353") sources: List of source references (e.g., ["PMID:12345"]) with_from: Optional list of with/from references
Returns: Barista API response
Examples: # Add experimental evidence from a paper add_evidence_to_fact( "gomodel:12345", "mf1", "gp1", "RO:0002333", "ECO:0000353", # physical interaction evidence ["PMID:12345678"] )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ||
| subject_id | Yes | ||
| object_id | Yes | ||
| predicate_id | Yes | ||
| eco_id | Yes | ||
| sources | Yes | ||
| with_from | No |