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

      Python bindings for my custom model
      Modeling • • Elisa

      58
      1
      Votes
      58
      Posts
      26527
      Views

      DmitriyMarin

      To update the topic and for information:
      If you are looking for instructions on how to create Python bindings for your SAMSON Extension, please refer to the Developer Guide: Creation of Python Bindings for SAMSON Extensions.

    • N

      Manually Add Hydrogen Bonds
      Feature requests • • Nicolo 0

      4
      0
      Votes
      4
      Posts
      42
      Views

      DmitriyMarin

      Hi @Nicolo-0 ,

      We have exposed H-bond functionality in our Python API - now you can generate H-bonds using Python scripting in SAMSON. See SBHydrogenBondGroup, SBHydrogenBond.

      You can:

      specify for which systems to generate H-bonds remove H-bonds add H-bonds

      Note: H-bonds are stored within an H-bond group, which itself is stored in a structural model. On the other hand, the Hydrogen Bond Finder provides the results as just a visual model for some historical/performance reasons.

      Here is a sample code to add H-bonds based on a structural model or between receptors and ligands (see Python Scripting Guide: Selecting for more information on how to get nodes):

      ### create H-bonds # get an indexer of all structural models in the active document structural_model_indexer = SAMSON.getNodes("node.type structuralModel") # get the first structural model structural_model = structural_model_indexer[0] # get an indexer with receptor and ligand nodes receptor_indexer = SAMSON.getNodes("node.category receptor") ligand_indexer = SAMSON.getNodes("node.category ligand") with SAMSON.holding("Add H-bonds"): # create an H-bond group object between atoms in a single node indexer h_bond_group = SBHydrogenBondGroup("H-bonds", structural_model_indexer) # create an H-bond group object between atoms in two node indexers #h_bond_group = SBHydrogenBondGroup("H-bonds between receptor and ligand", receptor_indexer, ligand_indexer) # compute H-bonds h_bond_group.update() # hold the node for undo/redo SAMSON.hold(h_bond_group) # create the H-bond group h_bond_group.create() # add the node to the active document structural_model.addChild(h_bond_group)

      The newly created H-bond group will be placed in the structural model - expand it in the Document view to see it. You can access its options by selecting it and opening the Inspector.

      You can remove H-bonds from an H-bond group based on some criteria, e.g., based on the donor-acceptor distance:

      ### remove some H-bonds from the H-bond group # get H-bonds from the H-bond group, exclude the H-bond group itself hbond_indexer = h_bond_group.getNodes("not n.t hbg") print(f"The total number of computed H-bonds is {len(hbond_indexer)}") with SAMSON.holding("Remove some H-bonds"): for hbond in hbond_indexer: if hbond.donorAcceptorDistance > SBQuantity.angstrom(3.5): print(hbond) h_bond_group.removeChild(hbond) updated_hbond_indexer = h_bond_group.getNodes("not n.t hbg") print(f"The total number of computed H-bonds is {len(updated_hbond_indexer)}")

      You can also add new H-bonds in a H-bond group, as follows:

      ### add an H-bond in the H-bond group with SAMSON.holding("Add new H-bonds"): # create an H-bond object based on already defined acceptor, donor, and (optionally) hydrogen atoms hbond = SBHydrogenBond(acceptor, donor) #, hydrogen # hold the node for undo/redo SAMSON.hold(hbond) # create the H-bond hbond.create() h_bond_group.addChild(hbond)

      Let me know if you have any questions or require some help.

    • T

      Tutorials on modeling and simulation diamond NEMS
      SAMSON • • Tom 1

      2
      1
      Votes
      2
      Posts
      14
      Views

      DmitriyMarin

      Great video, Tom! Thanks for posting it!

    • T

      Coloring atoms by velocity from LAMMPS data
      Share Python scripts • • Tom 1

      2
      1
      Votes
      2
      Posts
      163
      Views

      DmitriyMarin

      Thanks for sharing, Tom!

    • L

      Troubleshooting a GROMACS termination following “Generating 1-4 interactions: fudge = 1”
      SAMSON • • LW

      2
      0
      Votes
      2
      Posts
      108
      Views

      DmitriyMarin

      Hi,

      Did you perform other steps (preparation, minimization, equilibration) in GROMACS Wizard before running the production MD (see GROMACS Wizard tutorials)? If not, you might want to try to run them starting from the preparation step.

      Could you share the input (all the input files for the step) and resulting files (the corresponding folder into which GROMACS Wizard saved the resulting files, named with a time stamp, e.g. "2024-10-23_09h55m26s-simulate-error") with us so we can try to reproduce the issue and see is the problem?

    • S

      problem of starting under openSUSE
      Getting started • • Shuguang

      5
      0
      Votes
      5
      Posts
      124
      Views

      DmitriyMarin

      You don't need to upgrade your whole system; you can try to update it via the above-given commands which will update the packages installed on your system. And if glibc 2.33 is not available with the update you can try to install it from OpenSUSE Tumbleweed.

    • L

      SAMSON cannot reach samson-connect under VPN
      SAMSON • • Luis

      12
      0
      Votes
      12
      Posts
      383
      Views

      A

      thank you

    • L

      Load and visualize a xyz trajectory frame by frame
      SAMSON • • Luis

      13
      0
      Votes
      13
      Posts
      1728
      Views

      DmitriyMarin

      Dear @Luis ,

      Great! Thanks for checking and for reporting the issue in the first place!

    • D

      Trace on Ubuntu 24.04
      Getting started • • Dmitrii 0

      6
      0
      Votes
      6
      Posts
      242
      Views

      DmitriyMarin

      Possibly, it is not supported with Cycles kernels (from Blender's Cycles) that we ship. We will try to see what we can do here. Or, maybe, the Cycles kernels we ship are not compatible with the CUDA version installed on your OS.

    • S

      HOW TO GET THE UFF FORCE FIELD PARAMETER LIKE (PAIR COEFFECIENT, DIHEDRAL, IMPROPER COEEFECIENT )
      Simulation • • SHANLY

      2
      0
      Votes
      2
      Posts
      494
      Views

      DmitriyMarin

      Dear @SHANLY ,

      You can find the description of the UFF and IM-UFF used in SAMSON in the following papers:
      UFF: https://doi.org/10.1002/jcc.24309
      IM-UFF: https://doi.org/10.1016/j.jmgm.2017.08.023

      And you can find information on how to perform simulations in SAMSON using the integrated force fields in the User Guide: Modeling and Simulation.

      Could you please tell us more about what you would like to achieve?

    • G

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

      3
      0
      Votes
      3
      Posts
      484
      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.

    • J

      Using IM-UFF
      SAMSON • • Joseph 1

      4
      1
      Votes
      4
      Posts
      243
      Views

      DmitriyMarin

      Currently, there is no public extension in SAMSON that can launch/use LAMMPS. But you can export your system into a LAMMPS Data format and load LAMMPS files (data and trajectories) back in SAMSON.

      We plan on adding the support for periodic boundary conditions in one of the future releases of SAMSON. For some systems, you can simulate without PBC or by freezing the boundary atoms to fix them.

      You can also combine simulations in SAMSON with e.g. ASE package using Python, see Python scripting: Combining SAMSON simulation with ASE calculators

    • D

      Change installation path in windows
      Feature requests • • David Adrian

      2
      0
      Votes
      2
      Posts
      152
      Views

      DmitriyMarin

      Dear @David-Adrian ,

      Thank you for your feedback! We will consider this for future releases. Where would you like to install it, e.g. on another drive or a USB-stick?

    • M

      How to show Atomtype Labels from GROMACS .gro File in SAMSON
      SAMSON • • Mattia Felice

      6
      1
      Votes
      6
      Posts
      231
      Views

      DmitriyMarin

      Dear @Mattia-Felice ,

      Thank you for the feedback! We will consider this for the next releases of SAMSON.

      We will surely add more labeling possibilities in the next release.

      As for formats from ab initio packages, SAMSON currently supports only Molden and it loads only the molecular structure from it. But we can add the possibility to load other data from it as well.

    • R

      Normal Mode Analysis -- How to Select Both Receptor and Ligands?
      SAMSON Elements • normal mode receptor+ligand • • Rudy

      2
      0
      Votes
      2
      Posts
      163
      Views

      Stephane

      Dear Rudy, sorry for the delay. You can simply merge the ligand structure into the receptor structure. Precisely, in the document view, drag the ligand node and drop it onto the receptor node (more generally, you can drag and drop nodes around to reorganize your entries).

      Then, when you select the receptor and compute the normal modes, the ligand will be taken into account.

    • S

      Autodock Vina PDBQT generation
      SAMSON Elements • • Serena

      4
      0
      Votes
      4
      Posts
      245
      Views

      DmitriyMarin

      Dear @Serena ,
      No, we do not use Open Babel or anything else for that. It is done by the AutoDock Vina Extended module.

    • A

      Not abe to install the application
      Getting started • • AntiDown

      4
      0
      Votes
      4
      Posts
      236
      Views

      DmitriyMarin

      Dear @AntiDown ,

      Ok. I am glad it works for you now.
      Thank you for your reply!

    • F

      Issues with starting SAMSON (Linux/pop-os/X11): Core dumped.
      Getting started • • Filipe

      5
      0
      Votes
      5
      Posts
      223
      Views

      DmitriyMarin

      Great! I am glad that it worked!
      Do not hesitate to contact us if you have any questions or feedback.

    • A

      Could not load the Qt platform plugin "xcb" in "" even though it was found.
      Getting started • • Ahmet Can

      4
      0
      Votes
      4
      Posts
      275
      Views

      DmitriyMarin

      Great! Thanks for letting us know.

    • P

      New version does not open
      Getting started • • Pedro 1

      2
      0
      Votes
      2
      Posts
      168
      Views

      Admin

      Hi Pedro,

      We're sorry about the issue.

      Could you please try to delete the following folders:

      (IMPORTANT: make sure you don't have e.g. personal SAMSON documents in these folders that you might want to preserve.)

      C:/Users/[USERNAME]/AppData/Local/OneAngstrom/
      C:/Users/[USERNAME]/OneAngstrom/
      C:/Users/[USERNAME]/Documents/OneAngstrom/

      and try to reinstall SAMSON to see what happens?

      Maybe there is a need to specify in your Windows settings that SAMSON should use specifically the NVIDIA GPU ? Please let us know.