GithubHelp home page GithubHelp logo

Comments (6)

jiywang3 avatar jiywang3 commented on August 18, 2024 1

Yes. Since the translation information was missing, UglyMol shows the unit cell around the structure.

Please wait for a couple of weeks. I will try to use another way to load MTZ from RCSB and assume the translation is zero. That might work for your project.

from icn3d.

jiywang3 avatar jiywang3 commented on August 18, 2024 1

I just made another release to accept MTZ from RCSB specifically. You can simply change "file mtz" to "file rcsbmtz" in the URL. One example is https://www.ncbi.nlm.nih.gov/Structure/icn3d/full.html?mmdbid=3dzu&bu=1&command=set+map+2fofc+sigma+0.2+file+rcsbmtz+%7C+https://edmaps.rcsb.org/coefficients/3dzu.mtz. It didn't cover the whole structure. But it's much better than the version with "file mtz".

The UI is in the menu "File > Open File > Electron Density > .. > Load RCSB MTZ".

from icn3d.

jiywang3 avatar jiywang3 commented on August 18, 2024

These two formats were implemented slightly different. The parser of DSN6 map was from RCSB. There is a final translation of the map to match the structure. The parser of MTZ map was from UglyMol, e.g., https://uglymol.github.io/view/?id=3dzu. The map around the structure was generated based on the periodicity. There is no final translation.

Do you always use MTZ file from RCSB? I noticed the final translation is always zero. We could use the same method as the DSN6 format and improve the current display. But MTZ files from other resources may require a final translation, which is not provided in the MTZ file.

Another difference between DSN6 and MTZ file is the sigma may be different. So your MTZ URL probably needs to use a sigma of ~0.2 and change "dsn6" to "mtz": https://www.ncbi.nlm.nih.gov/Structure/icn3d/full.html?mmdbid=3dzu&bu=1&command=set+map+2fofc+sigma+0.2+file+mtz+%7C+https://edmaps.rcsb.org/coefficients/3dzu.mtz

from icn3d.

ssorgatem avatar ssorgatem commented on August 18, 2024

My ultimate goal is to use structure and maop file from PDB_REDO, and it currently only offers MTZ files for the EDM.

Ah, my bad, I was actually using "mtz" for the type during my testing, I just got it wrong for the example here.

So is that final translation the reason why I can only see like a central box for the EDM instead of the whole structure?

from icn3d.

ssorgatem avatar ssorgatem commented on August 18, 2024

It seems to work well even with PDB_REDO mtz files, like:
https://pdb-redo.eu/db/3dzu/3dzu_final.mtz

However, I was unable to load the structure from PDB_REDO (I could in earlier versions), it gets stuck at "loading"
https://pdb-redo.eu/db/3dzu/3dzu_final.cif

from icn3d.

jiywang3 avatar jiywang3 commented on August 18, 2024

The bug was fixed: https://www.ncbi.nlm.nih.gov/Structure/icn3d/?type=mmcif&url=https://pdb-redo.eu/db/3dzu/3dzu_final.cif

from icn3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.