"AlphaFoldDatabase" (Service Connection)
Connecting & Authenticating
Requests
BioMolecule Structure Details
"PredictedStructureDetails" — get information about a biomolecule structure from the AlphaFold Protein Structure Database
| "UniProtID" | None | UniProt ID |
BioMolecule Structure Summary
"StructureSummary" — get summary about a biomolecule structure from the AlphaFold Protein Structure Database
| "UniProtID" | None | UniProt ID |
BioMolecule Structures
"BioMolecule" — get a BioMolecule structure from the AlphaFold Protein Structure Database
| "UniProtID" | None | UniProt ID | |
| "IncludeIsoforms" | False | include data about isoforms |
Biomolecular Sequences
"BioSequence" — get the BioSequence of a BioMolecule from the AlphaFold Protein Structure Database
| "UniProtID" | None | UniProt ID | |
| "IncludeIsoforms" | False | include data about isoforms |
pLDDT Score
"PredictedLocalDistanceDifferenceTest" — get the pLDDT score of a BioMolecule structure from the AlphaFold Protein Structure Database
| "UniProtID" | None | UniProt ID | |
| "IncludeIsoforms" | False | include data about isoforms |
Predicted Aligned Error
"PredictedAlignedErrorData" — get the Predicted Aligned Error score of a BioMolecule structure from the AlphaFold Protein Structure Database
| "UniProtID" | None | UniProt ID | |
| "IncludeIsoforms" | False | include data about isoforms |
AlphaMissense Pathogenicity
"AlphaMissensePathogenicity" — get information about predicted pathogenicity due to point mutations of a BioMolecule structure from the AlphaFold Protein Structure Database
| "UniProtID" | None | UniProt ID | |
| "DatasetScope" | "AllAminoAcidSubstitutions" | dataset type for pathogenicity scores |
Examples
open all close allBasic Examples (2)
Create a new connection to the AlphaFold database:
alphafold = ServiceConnect["AlphaFoldDatabase"]Get the BioMolecule of a predicted structure:
alphafold["BioMolecule", <|"UniProtID" -> ExternalIdentifier["UniProtKBAccessionNumber", "Q5VSL9"]|>]BioMoleculePlot3D@%Get details about a predicted structure by using the UniProt ID:
ServiceExecute["AlphaFoldDatabase", "PredictedStructureDetails", <|"UniProtID" -> ExternalIdentifier["UniProtKBAccessionNumber", "P05193"]|>]Scope (6)
Get the predicted structures of all isoforms of a single canonical protein sequence using the parameter "IncludeIsoforms":
ServiceExecute["AlphaFoldDatabase", "BioMolecule", <|"UniProtID" -> ExternalIdentifier["UniProtKBAccessionNumber", "Q5VSL9"], "IncludeIsoforms" -> True|>]BioMoleculePlot3D /@ %Get the biomolecular sequences of a protein:
ServiceExecute["AlphaFoldDatabase", "BioSequence", <|"UniProtID" -> ExternalIdentifier["UniProtKBAccessionNumber", "Q5VSL9"]|>]Obtain the sequence of all isoforms using the "IncludeIsoforms" parameter:
ServiceExecute["AlphaFoldDatabase", "BioSequence", <|"UniProtID" -> ExternalIdentifier["UniProtKBAccessionNumber", "Q5VSL9"], "IncludeIsoforms" -> True|>]Get the detailed summary of a predicted structure:
ServiceExecute["AlphaFoldDatabase", "StructureSummary", <|"UniProtID" -> ExternalIdentifier["UniProtKBAccessionNumber", "P05193"]|>]Get the Predicted Local Distance Difference Test (pLDDT) of a protein:
(pLDDT = ServiceExecute["AlphaFoldDatabase", "PredictedLocalDistanceDifferenceTest", <|"UniProtID" -> ExternalIdentifier["UniProtKBAccessionNumber", "Q5VSL9"]|>])//ShortListLinePlot[pLDDT, AxesLabel -> {"Residue ID", "pLDDT"}, ImageSize -> Medium]Obtain the pLDDT of all isoforms using the "IncludeIsoforms" parameter:
ListLinePlot /@ ServiceExecute["AlphaFoldDatabase", "PredictedLocalDistanceDifferenceTest", <|"UniProtID" -> ExternalIdentifier["UniProtKBAccessionNumber", "Q5VSL9"], "IncludeIsoforms" -> True|>]Get the Predicted Aligned Error (PAE) data of a structure:
pae = ServiceExecute["AlphaFoldDatabase", "PredictedAlignedErrorData", <|"UniProtID" -> ExternalIdentifier["UniProtKBAccessionNumber", "Q5VSL9"]|>]Visualize the PAE, showing regions of high and low relative confidence between pairs of residues:
MatrixPlot[pae, PlotLegends -> Automatic]Obtain the PAE of all isoforms:
ServiceExecute["AlphaFoldDatabase", "PredictedAlignedErrorData", <|"UniProtID" -> ExternalIdentifier["UniProtKBAccessionNumber", "Q5VSL9"], "IncludeIsoforms" -> True|>]MatrixPlot[#, PlotLegends -> Automatic]& /@ %Get the full AlphaMissense pathogenicity data for all possible single amino acid mutations. These are the predicted pathogenicity scores and statuses due to point mutations in proteins:
ServiceExecute["AlphaFoldDatabase", "AlphaMissensePathogenicity", <|"UniProtID" -> ExternalIdentifier["UniProtKBAccessionNumber", "P01116"]|>]Obtain the pathogenicity scores of all possible single nucleotide missense variants for canonical human proteins for human genome builds GRCh37 ("HG19") and GRCh38 ("HG38"):
ServiceExecute["AlphaFoldDatabase", "AlphaMissensePathogenicity", <|"UniProtID" -> ExternalIdentifier["UniProtKBAccessionNumber", "P01116"], "DatasetScope" -> "HG19"|>]ServiceExecute["AlphaFoldDatabase", "AlphaMissensePathogenicity", <|"UniProtID" -> ExternalIdentifier["UniProtKBAccessionNumber", "P01116"], "DatasetScope" -> "HG38"|>]Neat Examples (1)
Visualize the structure with residues color coded by pLDDT:
Options[pLDDTPlot3D] = {ColorFunction -> "LightTemperatureMap"};
pLDDTPlot3D[uniprotID_, OptionsPattern[]] := Module[
{bm, plddt, chain, cFunc, colorRules},
bm = ServiceExecute["AlphaFoldDatabase", "BioMolecule", <|"UniProtID" -> uniprotID|>];
plddt = ServiceExecute["AlphaFoldDatabase", "PredictedLocalDistanceDifferenceTest", <|"UniProtID" -> uniprotID|>];
cFunc = ColorData[{OptionValue@ColorFunction, {0, 100}}];
chain = First[bm["ChainLabels"]];
colorRules = Thread[Rule[Thread[{chain, Range@Length@plddt}], Map[cFunc, plddt]]];
BioMoleculePlot3D[bm, ColorRules -> colorRules, PlotLegends -> BarLegend[{cFunc, {0, 100}}]]]pLDDTPlot3D[ExternalIdentifier["UniProtKBAccessionNumber", "Q5VSL9"]]See Also
ServiceExecute ▪ ServiceConnect ▪ BioMolecule ▪ BioSequence
Service Connections: RCSBProteinDataBank ▪ ESMAtlas ▪ UniProt ▪ EncyclopediaOfDomains