SAMSON Forum
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • SAMSON Connect
    • Get SAMSON
    1. Home
    2. Popular
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • M

      Adapt Rendering Settings
      Editors • • Maximilian

      3
      0
      Votes
      3
      Posts
      3451
      Views

      M

      I created a ticket.
      thanks for your answer!

    • E

      Sharing a child between two nodes
      Modeling • • Elisa

      3
      0
      Votes
      3
      Posts
      3469
      Views

      E

      Thank you!
      I will try it with this.

      Yes, I meant SBStructuralGroup :)

    • E

      Creating our own predicates
      Modeling • • Elisa

      3
      0
      Votes
      3
      Posts
      3609
      Views

      E

      Thank you! Using the GetClass and GetElementUUID methods is enough for my purposes :)

    • Stephane

      Builders in SAMSON 0.8.0
      Brainstorm • • Stephane

      3
      0
      Votes
      3
      Posts
      4789
      Views

      Stephane

      Thanks Ibrahima! Let us know if we can help in any way.

    • T

      How to get selenium nano particles in spherical shape?
      SAMSON • • Thirumal

      3
      0
      Votes
      3
      Posts
      4528
      Views

      Stephane

      Another possibility could be to start from a selenium crystal and "sculpt it".

      Get a CIF file for a crystal you like at http://rruff.geo.arizona.edu/AMS/minerals/Selenium. You will need the CIF importer in the Crystal Creator SAMSON Element (https://samson-connect.net/app/main?key=element&uuid=58a75a78-abbc-2c60-6214-e668b5c45a0d). In this example, I'm using this CIF file: http://rruff.geo.arizona.edu/AMS/download.php?id=10390.cif&down=cif. When you import the CIF file, use a big enough number of cells, for example 10 in each direction:
      0_1528385266091_08798f27-b8d7-4139-8e87-97f67c07b32f-image.png
      This will create 32000 atoms:
      0_1528385319471_d2cb857d-3ff4-4d2f-ba1b-9f52e0170c30-image.png Select one atom around the center of the crystal, with the selection editor 0_1528385357394_dd40b047-a00b-4346-8801-e0193268107e-image.png:
      0_1528385397414_315ea865-a94f-4f62-a4be-8348071ee4e0-image.png
      (look around to make sure the selected atom is approximately in the center) Open the Find window (CTRL / CMD + F or Selection / Find...):
      0_1528385478242_d43a3244-962b-4bcd-94f1-4ea3c052fe58-image.png Enter the following search string: n.t a w 20A of n.s in the box named "Selection string" and press the OK button. This is the short form of "node.type atom within 20 Angstrom of node.selected", i.e. all atoms within 20A of the current selection. This selects atoms in a 20A radius sphere:
      0_1528385607949_e9280e37-b54c-4560-9e6a-133282b1f0bc-image.png Open the Find window again, to invert the selection with the following NSL expression: n.t a and !n.s (in the box named "Selection string", then press OK). This means "all nodes that are atoms and that are not selected". This selects everything outside the nanoparticle:
      0_1528385806987_1.png Press the "delete" key to erase the selected atoms, or click on the "Current selection" widget and select "Erase selection":
      0_1528385902405_a3c8d30d-c47e-41ed-a5da-5d9a307eb47c-image.png
      This leaves the particle alone:
      0_1528385954376_7e5484ab-1bb4-44b0-8d96-f6534eb60b9d-image.png In the Document view, select the Property model called "Selenium crystal" and delete it, i.e. go from
      0_1528386023100_d66cd933-e574-4c80-bbc9-35c1820851ee-image.png
      to
      0_1528386038473_4a83e287-d616-4cbb-ad50-695cc3fd846d-image.png You now have a spherical selenium nanoparticle with a 20A radius. Save it to a SAMSON file format or export it to a PDB file. Here is the SAMSON version: 0_1528386144295_Selenium nanoparticle.sam

      Hope this helps,

      Stephane

    • K

      Custom projection matrix for the SBDDocumentCamera
      Apps • • Karsten

      3
      0
      Votes
      3
      Posts
      3694
      Views

      K

      First of all I have to thank you for the quick response. Funnily, I thought of using const_cast on the matrix pointer beforehand but considered it as too "hacky".
      There should be several possibilites how one could introduce this into the API:

      Each camera gets a state that determines whether it implements a symmetric or asymmetric projection including two methods that query and set the state. Then, an additonal method (possibly like SetPlanesAsymmetric(float left, float right, float top, float bottom)) could be used to transfer the wanted plane values to SAMSON. This approach would leave the old API intact, if the symmetric projection is the standard state. Derive a class like SBDAsymmetricDocumentCamera from the currently available SBDDocumentCamera, overriding all methods concerning the projection matrix. This is probably the least favourable alternative, although the old API would still be valid. The camera gets two additional methods SetValuesSymmetric(float aspect, float fovy, float zNear, float zFar) and SetValuesAsymmetric(float left, float right, float top, float bottom, float zNear, float zFar). Then, the GetProjectionMatrix() and GetProjectionMatrixTranspose() methods would have to be changed to take an additional boolean input parameter determining which kind of matrix is wanted. This would break the old API and I am not sure how this would propagate to the convenience display methods like SAMSON::displayCylinders(...).

      Unfortunately I do not know which of these possibilities (and I probably missed some additional ones) would fit best into your way of writing SAMSON.

      Best,
      Karsten

    • P

      Facing problem in using AutoDock Vina
      SAMSON Extensions • • Pragya

      3
      0
      Votes
      3
      Posts
      5677
      Views

      P

      Thank you so much sir....It really helped.

    • M

      Get Children of Node
      Apps • • Maximilian

      3
      0
      Votes
      3
      Posts
      3556
      Views

      M

      yes you are right both ways work fine.
      I had a bug I was unaware of in a different position.

      thx!

    • Yassine

      SBGWindow raising
      GUI • • Yassine

      3
      0
      Votes
      3
      Posts
      3815
      Views

      Yassine

      Actually I didn't explain well the case where the raise didn't worked for me as I expected. When you have two windows, with the first one locked and the second unlocked. If the raise function is called for the second unlocked window, it doesn't go on top of the first locked window.

      For those who might interest, I found a simple solution. You need to temporarily lock the window, call the raise function then unlock the window.

      Thank you Stephane for your quick answer !
      Yassine

    • K

      Add new items in context menu when right-clicking on a selection
      GUI • • Khoa

      3
      0
      Votes
      3
      Posts
      3940
      Views

      K

      @stephane-redon I think it can be nice for the developers to be able to register more actions in the context menu. But it can also make the context menu too crowded. Perhaps, you can make something in the Preferences so that the users can select to add which actions to show in the context menu.

      Actually, I am developing an app to convert a list of conformations to a path and vice versa for my work.
      So I was thinking it can be useful to add an action in the context menu so that after selecting a list of conformations in the Document View, I would right-click and choose "Convert to Path". Do you have any suggestion to do it for this case?

    • M

      Logging
      Getting started • • Maximilian

      3
      0
      Votes
      3
      Posts
      3643
      Views

      M

      Yes thanks. That's what I was looking for.

    • H

      Solved Transparency or Depth related issue in Editors
      Editors • • Haichao

      3
      0
      Votes
      3
      Posts
      3641
      Views

      H

      Hi @Stephane-Redon,

      ah yes, it was the depth test. This solves it!

      Thanks,
      Haichao

    • F

      Metallic and ionic bonds shown as covalent
      SAMSON • • Federico Maria

      3
      0
      Votes
      3
      Posts
      228
      Views

      DmitriyMarin

      Hi @Federico-Maria ,

      We have modified the behavior of the importers - they should not create covalent bonds for metal coordinations. It previously considered all connections described in the file as covalent ones. The corresponding modules will be updated automatically for you once you restart SAMSON.

    • P

      Gromacs Wizard Protein-Ligand MD preparation error
      SAMSON Extensions • • Patricio

      3
      0
      Votes
      3
      Posts
      1047
      Views

      DmitriyMarin

      We have posted a brief tutorial on preparing protein-ligand systems with GROMACS Wizard. We will add more information to it over time, specific to each parametrization tool/server.

    • M

      Gromacs wizard update
      SAMSON Extensions • • Michael 1

      3
      0
      Votes
      3
      Posts
      724
      Views

      DmitriyMarin

      Dear Michael,
      I fixed the issue in the GROMACS importers (trajectories, .gro) on macOS that was causing the options to be disabled and was also affecting the GROMACS Wizard. Could you please check whether the GROMACS Wizard and loading of GROMACS trajectories now work for you?

    • F

      Default settings in GUIs
      Apps • • Francois

      3
      0
      Votes
      3
      Posts
      3770
      Views

      F

      Not instead, in addition: having, at the installation of the App, a list of pre-saved settings, with still the possibility to save and load your own settings.
      -- for example, with the Crystal Creator App, having the 'diamond settings', the 'SiGe settings', or for ARPS, some classical configurations of Ef and Er : the '10x speed up settings', '5x speed up settings' ... --

    • J

      Trying to run a python script to compare Gpa1 structures
      Community • • John 4

      3
      0
      Votes
      3
      Posts
      1013
      Views

      DmitriyMarin

      Hi @John-4 ,

      In the first Python script you showed, the LLM you used (did you use Gemini or SAMSON's AI Assistant?) hallucinated and used some non-existent libraries, classes, and functions in SAMSON, which resulted in errors.

    • T

      Installing SAMSON in a non-default location
      Getting started • • Tom 1

      3
      1
      Votes
      3
      Posts
      830
      Views

      T

      Ok, got it. SAMSON is a high priority application, so on C: it goes.

    • D

      problem of exporting the atomic model of DNA to PDB
      SAMSON • • Dominic

      3
      0
      Votes
      3
      Posts
      771
      Views

      DmitriyMarin

      Dear @Dominic ,

      We've just updated the Adenita extension: it now sets the nucleotide names as expected by PDB - DA, DC, DG, DT. Now, it should be suitable for export in the PDB format.

    • G

      Samson opens .sam files, but I can't see the content
      Getting started • • Grigorii

      3
      0
      Votes
      3
      Posts
      1361
      Views

      DmitriyMarin

      Dear @Grigorii ,

      Yes, currently, Adenita does not serialize/save its visual model when saving into a file. You need to reset it via Adenita.