|
@@ -18,11 +18,11 @@ import {
|
|
|
} from "./UniTmpHelper";
|
|
|
import { updateSiteColors } from "./UniTmpColor";
|
|
|
import { fvConfig, rowConfig } from "./FeatureViewConfig";
|
|
|
-
|
|
|
+import { RcsbPreset } from "@rcsb/rcsb-molstar/build/src/viewer/helpers/preset";
|
|
|
|
|
|
const side1 = "Inside";
|
|
|
-const htpEntry = "SC5AA_HUMAN";
|
|
|
-const pdbEntry = "7ynk";
|
|
|
+const htpEntry = "GLPA_HUMAN";
|
|
|
+const pdbEntry = "1afo";
|
|
|
const pdbtmEntry = `${pdbEntry}_A`;
|
|
|
|
|
|
|
|
@@ -47,10 +47,12 @@ const molstarConfig: RcsbFvStructureConfigInterface<LoadMolstarInterface<unknown
|
|
|
loadConfig: {
|
|
|
loadMethod: LoadMethod.loadStructureFromUrl,
|
|
|
loadParams: {
|
|
|
- url: `https://pdbtm.unitmp.org/api/v1/entry/${pdbEntry}.trpdb`,
|
|
|
- format: 'pdb',
|
|
|
+ //url: `https://pdbtm.unitmp.org/api/v1/entry/${pdbEntry}.trpdb`,
|
|
|
+ url: `https://www.ebi.ac.uk/pdbe/entry-files/download/${pdbEntry}_updated.cif`,
|
|
|
+ format: 'mmcif',
|
|
|
isBinary: false,
|
|
|
- id:"7ynk_model"
|
|
|
+ id: `${pdbEntry}_model`,
|
|
|
+ reprProvider: RcsbPreset
|
|
|
}
|
|
|
},
|
|
|
structureViewerConfig: {
|