Skip to content

Commit

Permalink
clarify docstring for chain_ids
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniBodor committed Nov 3, 2023
1 parent 3cd2a8c commit 23357f0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions deeprank2/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ class Query:
Args:
pdb_path (str): the path to the PDB file to query.
resolution (Literal['residue', 'atom']): sets whether each node is a residue or atom.
chain_ids (list[str] | str): the chain identifier(s) in the pdb file (generally a single capital letter).
chain_ids (list[str] | str): the chain identifier(s) of the variant residue or interacting interfaces.
Note that this does not limit the structure to residues from this/these chain(s).
pssm_paths (dict[str, str]): the name of the chain(s) (key) and path to the pssm file(s) (value).
distance_cutoff (float): the maximum distance between two nodes to generate an edge connecting them.
targets (dict[str, float]) = Name(s) (key) and target value(s) (value) associated with this query.
Expand Down Expand Up @@ -222,7 +223,8 @@ class SingleResidueVariantQuery(Query):
Args (common for `Query`):
pdb_path (str): the path to the PDB file to query.
resolution (Literal['residue', 'atom']): sets whether each node is a residue or atom.
chain_ids (list[str] | str): the chain identifier(s) in the pdb file (generally a single capital letter).
chain_ids (list[str] | str): the chain identifier of the variant residue (generally a single capital letter).
Note that this does not limit the structure to residues from this chain.
pssm_paths (dict[str, str]): the name of the chain(s) (key) and path to the pssm file(s) (value).
distance_cutoff (float): the maximum distance between two nodes to generate an edge connecting them.
targets (dict[str, float]) = Name(s) (key) and target value(s) (value) associated with this query.
Expand Down Expand Up @@ -320,7 +322,8 @@ class ProteinProteinInterfaceQuery(Query):
Args:
pdb_path (str): the path to the PDB file to query.
resolution (Literal['residue', 'atom']): sets whether each node is a residue or atom.
chain_ids (list[str] | str): the chain identifier(s) in the pdb file (generally a single capital letter).
chain_ids (list[str] | str): the chain identifiers of the interacting interfaces (generally a single capital letter each).
Note that this does not limit the structure to residues from these chains.
pssm_paths (dict[str, str]): the name of the chain(s) (key) and path to the pssm file(s) (value).
distance_cutoff (float): the maximum distance between two nodes to generate an edge connecting them.
targets (dict[str, float]) = Name(s) (key) and target value(s) (value) associated with this query.
Expand Down

0 comments on commit 23357f0

Please sign in to comment.