diff --git a/src/mol-geo/representation/structure/visual/nucleotide-block-mesh.ts b/src/mol-geo/representation/structure/visual/nucleotide-block-mesh.ts index 1da058ee1609464891fff4dd3020375f5987e859..790a51a9ed04e4d02d90748d8872fc9bb0f40a98 100644 --- a/src/mol-geo/representation/structure/visual/nucleotide-block-mesh.ts +++ b/src/mol-geo/representation/structure/visual/nucleotide-block-mesh.ts @@ -94,7 +94,7 @@ async function createNucleotideBlockMesh(ctx: RuntimeContext, unit: Unit, mesh?: Vec3.normalize(v34, Vec3.sub(v34, p4, p3)) Vec3.normalize(vC, Vec3.cross(vC, v12, v34)) Mat4.targetTo(t, p1, p2, vC) - Vec3.scaleAndAdd(center, p1, v12, height / 2) + Vec3.scaleAndAdd(center, p1, v12, height / 2 - 0.2) Mat4.setTranslation(t, center) builder.setId(SortedArray.findPredecessorIndex(elements, idx6)) builder.addBox(t, { width: width, height: depth, depth: height }) diff --git a/src/mol-geo/representation/structure/visual/util/polymer.ts b/src/mol-geo/representation/structure/visual/util/polymer.ts index c6ed6ff0e98e9bde968ec536f73ef17bd2aabb6c..18186967701321c19269be43fb7e32b72973c379 100644 --- a/src/mol-geo/representation/structure/visual/util/polymer.ts +++ b/src/mol-geo/representation/structure/visual/util/polymer.ts @@ -85,7 +85,7 @@ export function getResidueTypeAtomId(moleculeType: MoleculeType, atomType: 'trac case MoleculeType.DNA: switch (atomType) { case 'trace': return 'C3\'' - case 'direction': return 'O4\'' + case 'direction': return 'C1\'' } break } diff --git a/src/mol-view/stage.ts b/src/mol-view/stage.ts index fc98227bffec26de5a236923d7609e8dd3169b6a..3f7e29c69e5b2ce52d280c52fdacb7870e4cfeef 100644 --- a/src/mol-view/stage.ts +++ b/src/mol-view/stage.ts @@ -81,8 +81,12 @@ export class Stage { // this.loadPdbid('4v5a') // ribosome // this.loadPdbid('3j3q') // ... // this.loadPdbid('2np2') // dna - // this.loadPdbid('1d66') // dna - this.loadPdbid('1bna') // B form dna + this.loadPdbid('1d66') // dna + // this.loadPdbid('9dna') // A form dna + // this.loadPdbid('1bna') // B form dna + // this.loadPdbid('199d') // C form dna + // this.loadPdbid('4lb6') // Z form dna + // this.loadPdbid('1egk') // 4-way dna-rna junction // this.loadPdbid('1y26') // rna // this.loadPdbid('1xv6') // rna, modified nucleotides // this.loadPdbid('3bbm') // rna with linker