tidytcells.aa
Functions to clean and standardise amino acid sequence data.
Functions
- tidytcells.aa.standardise(seq: str, suppress_warnings: bool = False)[source]
Ensures that a string value looks like a valid amino acid sequence.
- Parameters:
seq (
str) – String value representing an amino acid sequence.suppress_warnings (
bool) – Disable warnings that are usually emitted when standardisation fails. Defaults toFalse.
- Returns:
Capitalised version of
seq, if seq is a valid amino acid sequence. Otherwise the input is rejected andNoneis returned.- Return type:
strorNone
- tidytcells.aa.standardize(*args, **kwargs)[source]
Alias for
tidytcells.aa.standardise().