Dyno Phi
ContentsPython SDKShow

phi.datasets

Organize sequences into datasets within a project.

phi.datasets.add_sequences

python
phi.datasets.add_sequences(dataset_id=dataset_id, sequence_ids=sequence_ids)

Returns AddSequencesResult.

Parameters

NameType
dataset_idrequiredstr | uuid.UUID
sequence_idsrequiredSequence[str | uuid.UUID]
AddSequencesResult fields and schemaShow

Fields

NameType
addedrequiredinteger
JSON schema
{
  "type": "object",
  "required": [
    "added"
  ],
  "properties": {
    "added": {
      "type": "integer"
    }
  }
}

phi.datasets.copy

python
phi.datasets.copy(dataset_id=dataset_id, name=name)

Returns Dataset.

Parameters

NameTypeDefault
dataset_idrequiredstr | uuid.UUID
namerequiredstr
descriptionoptionalstr | NoneNone
Dataset fields and schemaShow

Fields

NameTypeDescription
created_atrequiredstringformat: date-time
created_byrequiredstring
descriptionrequiredstring or null
idrequiredstringformat: uuid
namerequiredstring
project_idrequiredstringformat: uuid
sequence_countrequiredinteger
statusrequiredstring
structure_countrequiredinteger or null
updated_atrequiredstringformat: date-time
JSON schema
{
  "type": "object",
  "required": [
    "id",
    "project_id",
    "name",
    "description",
    "created_by",
    "status",
    "sequence_count",
    "structure_count",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_by": {
      "type": "string"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "sequence_count": {
      "type": "integer"
    },
    "status": {
      "type": "string"
    },
    "structure_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}

phi.datasets.create

python
phi.datasets.create(project_id=project_id, name=name)

Returns Dataset.

Parameters

NameTypeDefault
project_idrequiredstr | uuid.UUID
namerequiredstr
descriptionoptionalstr | NoneNone
Dataset fields and schemaShow

Fields

NameTypeDescription
created_atrequiredstringformat: date-time
created_byrequiredstring
descriptionrequiredstring or null
idrequiredstringformat: uuid
namerequiredstring
project_idrequiredstringformat: uuid
sequence_countrequiredinteger
statusrequiredstring
structure_countrequiredinteger or null
updated_atrequiredstringformat: date-time
JSON schema
{
  "type": "object",
  "required": [
    "id",
    "project_id",
    "name",
    "description",
    "created_by",
    "status",
    "sequence_count",
    "structure_count",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_by": {
      "type": "string"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "sequence_count": {
      "type": "integer"
    },
    "status": {
      "type": "string"
    },
    "structure_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}

phi.datasets.delete

python
phi.datasets.delete(dataset_id=dataset_id)

Parameters

NameType
dataset_idrequiredstr | uuid.UUID

phi.datasets.export_sequences_csv

python
phi.datasets.export_sequences_csv(dataset_id=dataset_id)

Returns Iterator[str].

Parameters

NameTypeDefault
dataset_idrequiredstr | uuid.UUID
passes_alloptionalbool | NoneNone
is_starredoptionalbool | NoneNone
curation_statusoptionalstr | NoneNone
plddt_minoptionalfloat | NoneNone
ipae_maxoptionalfloat | NoneNone
rmsd_maxoptionalfloat | NoneNone

phi.datasets.get

python
phi.datasets.get(dataset_id=dataset_id)

Returns Dataset.

Parameters

NameType
dataset_idrequiredstr | uuid.UUID
Dataset fields and schemaShow

Fields

NameTypeDescription
created_atrequiredstringformat: date-time
created_byrequiredstring
descriptionrequiredstring or null
idrequiredstringformat: uuid
namerequiredstring
project_idrequiredstringformat: uuid
sequence_countrequiredinteger
statusrequiredstring
structure_countrequiredinteger or null
updated_atrequiredstringformat: date-time
JSON schema
{
  "type": "object",
  "required": [
    "id",
    "project_id",
    "name",
    "description",
    "created_by",
    "status",
    "sequence_count",
    "structure_count",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_by": {
      "type": "string"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "sequence_count": {
      "type": "integer"
    },
    "status": {
      "type": "string"
    },
    "structure_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}

phi.datasets.iter_datasets

python
phi.datasets.iter_datasets(project_id=project_id)

Returns Iterator[Dataset].

Parameters

NameTypeDefault
project_idrequiredstr | uuid.UUID
page_sizeoptionalint50
Dataset fields and schemaShow

Fields

NameTypeDescription
created_atrequiredstringformat: date-time
created_byrequiredstring
descriptionrequiredstring or null
idrequiredstringformat: uuid
namerequiredstring
project_idrequiredstringformat: uuid
sequence_countrequiredinteger
statusrequiredstring
structure_countrequiredinteger or null
updated_atrequiredstringformat: date-time
JSON schema
{
  "type": "object",
  "required": [
    "id",
    "project_id",
    "name",
    "description",
    "created_by",
    "status",
    "sequence_count",
    "structure_count",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_by": {
      "type": "string"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "sequence_count": {
      "type": "integer"
    },
    "status": {
      "type": "string"
    },
    "structure_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}

phi.datasets.iter_sequences

python
phi.datasets.iter_sequences(dataset_id=dataset_id)

Returns Iterator[SequenceModel].

Parameters

NameTypeDefault
dataset_idrequiredstr | uuid.UUID
page_sizeoptionalint50
passes_alloptionalbool | NoneNone
is_starredoptionalbool | NoneNone
curation_statusoptionalstr | NoneNone
plddt_minoptionalfloat | NoneNone
ipae_maxoptionalfloat | NoneNone
rmsd_maxoptionalfloat | NoneNone
Sequence fields and schemaShow

Fields

NameTypeDefaultDescription
alphafold_pdb_urirequiredstring or null
backbone_urirequiredstring or null
config_fingerprintoptionalstring or nullnull
created_atrequiredstringformat: date-time
curated_atoptionalstring or nullnull
curated_byoptionalstring or nullnull
curation_statusrequiredstring
dataset_idrequiredstring or null
esmfold_pdb_urirequiredstring or null
extraoptionalobject or nullnull
gate_failed_criterionoptionalobject or nullnull
gate_passedoptionalboolean or nullnull
idrequiredstringformat: uuid
import_idoptionalstring or nullnull
is_starredrequiredboolean
lengthrequiredinteger
namerequiredstring or null
pae_json_urirequiredstring or null
parent_idoptionalstring or nullnull
passes_allrequiredboolean or null
pipeline_node_idoptionalstring or nullnull
project_idrequiredstringformat: uuid
root_design_idoptionalstring or nullnull
run_idrequiredstring or null
score_modeoptionalstring or nullnull
score_tooloptionalstring or nullnull
scoresrequiredobject
sequencerequiredstring
updated_atrequiredstringformat: date-time
user_notesrequiredstring or null
JSON schema
{
  "type": "object",
  "required": [
    "id",
    "project_id",
    "dataset_id",
    "run_id",
    "name",
    "sequence",
    "length",
    "scores",
    "passes_all",
    "is_starred",
    "user_notes",
    "curation_status",
    "esmfold_pdb_uri",
    "alphafold_pdb_uri",
    "pae_json_uri",
    "backbone_uri",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "alphafold_pdb_uri": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "backbone_uri": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "config_fingerprint": {
      "default": null,
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "curated_at": {
      "default": null,
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ]
    },
    "curated_by": {
      "default": null,
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "curation_status": {
      "type": "string"
    },
    "dataset_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ]
    },
    "esmfold_pdb_uri": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "extra": {
      "default": null,
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true
        },
        {
          "type": "null"
        }
      ]
    },
    "gate_failed_criterion": {
      "default": null,
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true
        },
        {
          "type": "null"
        }
      ]
    },
    "gate_passed": {
      "default": null,
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "import_id": {
      "default": null,
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ]
    },
    "is_starred": {
      "type": "boolean"
    },
    "length": {
      "type": "integer"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "pae_json_uri": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "parent_id": {
      "default": null,
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ]
    },
    "passes_all": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ]
    },
    "pipeline_node_id": {
      "default": null,
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "root_design_id": {
      "default": null,
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ]
    },
    "run_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ]
    },
    "score_mode": {
      "default": null,
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "score_tool": {
      "default": null,
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "scores": {
      "$ref": "#/$defs/SequenceScores"
    },
    "sequence": {
      "type": "string"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "user_notes": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "$defs": {
    "SequenceScores": {
      "type": "object",
      "required": [
        "plddt",
        "iptm",
        "ipsae",
        "ipae",
        "rmsd"
      ],
      "properties": {
        "final_rank": {
          "default": null,
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "ipae": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "ipsae": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "ipsae_max": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "ipsae_min": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "iptm": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "lis": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "n0res_max": {
          "default": null,
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "n0res_min": {
          "default": null,
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "n_contacts": {
          "default": null,
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "pae_mean": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "pdockq": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "pdockq2": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_binder": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_complex": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_interface": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_scale": {
          "default": null,
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_target": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "rmsd": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "selected": {
          "default": null,
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  }
}

phi.datasets.list

python
phi.datasets.list(project_id=project_id)

Returns CursorList[Dataset].

Parameters

NameTypeDefault
project_idrequiredstr | uuid.UUID
pageoptionalint1
page_sizeoptionalint50
cursoroptionalstr | NoneNone
Dataset fields and schemaShow

Fields

NameTypeDescription
created_atrequiredstringformat: date-time
created_byrequiredstring
descriptionrequiredstring or null
idrequiredstringformat: uuid
namerequiredstring
project_idrequiredstringformat: uuid
sequence_countrequiredinteger
statusrequiredstring
structure_countrequiredinteger or null
updated_atrequiredstringformat: date-time
JSON schema
{
  "type": "object",
  "required": [
    "id",
    "project_id",
    "name",
    "description",
    "created_by",
    "status",
    "sequence_count",
    "structure_count",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_by": {
      "type": "string"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "sequence_count": {
      "type": "integer"
    },
    "status": {
      "type": "string"
    },
    "structure_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}

phi.datasets.list_sequences

python
phi.datasets.list_sequences(dataset_id=dataset_id)

Returns SequenceListPage.

Parameters

NameTypeDefault
dataset_idrequiredstr | uuid.UUID
pageoptionalint1
page_sizeoptionalint50
passes_alloptionalbool | NoneNone
is_starredoptionalbool | NoneNone
curation_statusoptionalstr | NoneNone
plddt_minoptionalfloat | NoneNone
ipae_maxoptionalfloat | NoneNone
rmsd_maxoptionalfloat | NoneNone
cursoroptionalstr | NoneNone
include_aggregatesoptionalboolFalse
SequenceListPage fields and schemaShow

Fields

NameTypeDefault
gate_passingoptionalinteger or nullnull
gate_totaloptionalinteger or nullnull
next_cursoroptionalstring or nullnull
pass_rateoptionalnumber or nullnull
sequencesrequired(object)[]
totaloptionalinteger or nullnull
JSON schema
{
  "type": "object",
  "required": [
    "sequences"
  ],
  "properties": {
    "gate_passing": {
      "default": null,
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "gate_total": {
      "default": null,
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "next_cursor": {
      "default": null,
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "pass_rate": {
      "default": null,
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "sequences": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Sequence"
      }
    },
    "total": {
      "default": null,
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "$defs": {
    "SequenceScores": {
      "type": "object",
      "required": [
        "plddt",
        "iptm",
        "ipsae",
        "ipae",
        "rmsd"
      ],
      "properties": {
        "final_rank": {
          "default": null,
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "ipae": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "ipsae": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "ipsae_max": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "ipsae_min": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "iptm": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "lis": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "n0res_max": {
          "default": null,
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "n0res_min": {
          "default": null,
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "n_contacts": {
          "default": null,
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "pae_mean": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "pdockq": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "pdockq2": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_binder": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_complex": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_interface": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_scale": {
          "default": null,
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_target": {
          "default": null,
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "rmsd": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "selected": {
          "default": null,
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "Sequence": {
      "type": "object",
      "required": [
        "id",
        "project_id",
        "dataset_id",
        "run_id",
        "name",
        "sequence",
        "length",
        "scores",
        "passes_all",
        "is_starred",
        "user_notes",
        "curation_status",
        "esmfold_pdb_uri",
        "alphafold_pdb_uri",
        "pae_json_uri",
        "backbone_uri",
        "created_at",
        "updated_at"
      ],
      "properties": {
        "alphafold_pdb_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "backbone_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "config_fingerprint": {
          "default": null,
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "curated_at": {
          "default": null,
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ]
        },
        "curated_by": {
          "default": null,
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "curation_status": {
          "type": "string"
        },
        "dataset_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "esmfold_pdb_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "extra": {
          "default": null,
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "gate_failed_criterion": {
          "default": null,
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "gate_passed": {
          "default": null,
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "import_id": {
          "default": null,
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "is_starred": {
          "type": "boolean"
        },
        "length": {
          "type": "integer"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "pae_json_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "parent_id": {
          "default": null,
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "passes_all": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "pipeline_node_id": {
          "default": null,
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "project_id": {
          "type": "string",
          "format": "uuid"
        },
        "root_design_id": {
          "default": null,
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "run_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "score_mode": {
          "default": null,
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "score_tool": {
          "default": null,
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "scores": {
          "$ref": "#/$defs/SequenceScores"
        },
        "sequence": {
          "type": "string"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "user_notes": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  }
}

phi.datasets.remove_sequence

python
phi.datasets.remove_sequence(dataset_id=dataset_id, sequence_id=sequence_id)

Parameters

NameType
dataset_idrequiredstr | uuid.UUID
sequence_idrequiredstr | uuid.UUID

phi.datasets.update

python
phi.datasets.update(dataset_id=dataset_id)

Returns Dataset.

Parameters

NameType
dataset_idrequiredstr | uuid.UUID
Dataset fields and schemaShow

Fields

NameTypeDescription
created_atrequiredstringformat: date-time
created_byrequiredstring
descriptionrequiredstring or null
idrequiredstringformat: uuid
namerequiredstring
project_idrequiredstringformat: uuid
sequence_countrequiredinteger
statusrequiredstring
structure_countrequiredinteger or null
updated_atrequiredstringformat: date-time
JSON schema
{
  "type": "object",
  "required": [
    "id",
    "project_id",
    "name",
    "description",
    "created_by",
    "status",
    "sequence_count",
    "structure_count",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_by": {
      "type": "string"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "sequence_count": {
      "type": "integer"
    },
    "status": {
      "type": "string"
    },
    "structure_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}

From the installed client, phi 0.4.2, 2026-11-23.