Skip to content

Simulation

9 Topics 30 Posts

Everything about the development of state updaters and simulators

  • 0 Votes
    2 Posts
    1k Views
    DmitriyMarinD
    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?
  • oligo simulation

    2
    0 Votes
    2 Posts
    3k Views
    DmitriyMarinD
    Dear @Jeremy You have two ways of programming (e.g. this preparation step) in SAMSON: Using SAMSON SDK which allows you to develop your own SAMSON Element using SAMSON API, C++, and Qt. For that, you need to register on SAMSON Connect as a developer which is free and one-click. Using Python Scripting Element, which allows you to access most of the SAMSON API to process and automatize tasks. See the Python Scripting guide, you can check out tutorials there and the Python Scripting samples. In the 1st case, you have more functionality and control over processes. The 2nd one is faster to develop and try, and you can further use the developed scripts for your tasks. For the simulation in which you are interested in, you can use GROMACS Wizard Element (see the GROMACS Wizard tutorial), which allows you to easily run simulations using GROMACS (it comes with the Element) including various temperature ranges. There is yet no possibility to run simulations automatically, but you can launch many simulations in a queue using jobs. In future releases, it will be possible to run them on the cloud. You can freely try this Element for 30-days. The size of the system for simulation is limited by your computer performance (RAM, CPU, GPU) and the max computation time you are willing to spend. In SAMSON it is possible to load systems with tens of thousands of atoms (depending on the performance of your computer).
  • Computing interactions in case of atoms' mutations

    3
    0 Votes
    3 Posts
    4k Views
    L
    It seems it works. Thanks.
  • Starting simulations in Win 10

    3
    0 Votes
    3 Posts
    4k Views
    StephaneS
    Dear Camps, I thought I'd clarify what's going on with Brenner and ASED-MO. While SAMSON and numerous SAMSON Elements are and will remain free forever, both for academia and industry, some SAMSON Elements will now have a commercial license (for industry and / or academia). In effect, SAMSON Connect is becoming a marketplace for molecular modeling, where developers have the possibility to integrate and commercialize their tools (think App store for molecular modeling, except everything is integrated into a single, universal platform which makes it possible to combine modules together and gives new possibilities). Our goal is to contribute to the development of an integrated ecosystem for molecular modeling, where users can install tools in a few clicks, have them all integrated in the same platform, are able to combine them, pipeline them, etc. Since SAMSON has an open architecture, and the SAMSON API makes it possible for anyone to integrate existing tools, create new ones from scratch, develop new force fields, create new visualizations, etc., you can imagine the huge possibilities the SAMSON model gives. As with other marketplaces (iOS, Android, etc.), many SAMSON Elements are and will continue to be free, and new free SAMSON Elements will continue to be published. However, our goal with this hybrid economic model is to reach the best of both worlds: serve the molecular modeling community while supporting the development of the best possible platform. At the moment, anyone can get a free month of some commercial SAMSON Elements (including Brenner) by answering the short survey at https://forms.office.com/Pages/ResponsePage.aspx?id=Cg7MSY8KzkinPF492orBMZM0kpSnVmtKp3madpYYjexUQ0c5V1Q3VUEwVEtHQlhSWVVJRUFGN1lVQy4u. At the end of the survey, they can choose which SAMSON Element they want among: Brenner interaction model (interactive simulation for carbon nanotubes, graphene, etc.) Crystal creator (build complex crystals structures) Normal modes advanced (non-linear normal modes analysis for proteins binding sites) and we'll add it to their account (registering is and will always be free, and SAMSON itself will always be free). Best, Stephane
  • Usage of existing elements created by someone else

    4
    1 Votes
    4 Posts
    4k Views
    DmitriyMarinD
    @Andrii It can be done from the code. For now, we do not have docs/help web-pages for each of the SAMSON Elements, but it is in our plans to have them generated automatically for the exposed functionality. To get UUID and the class name of an Element from which you want to use functionality, you can open the Log (Edit menu -> Show log), then you can search for the Element and check its UUID and the class name: [image: 0_1541585623122_LogViewer-CheckUUIDAndNameOfSAMSONElement.png] Now, in your code, you can do the following to print the exposed functionality of the Element: // Create a class proxy SBProxy* classProxy = SAMSON::getProxy("PDBDownload", SBUUID("6F5D45C5-E76E-CDC8-52D5-D2821C128BE8")); // Print class constructors classProxy->print(); // Prints the interface classProxy->getInterface()->print(); It will print the exposed functionality (constructor factory, interface functions, attributes) in the terminal (std::cout stream), like this: Class proxy: Name :PDBDownload UUID :23E5619D-CF88-CD8D-C516-725286102AF8 Element :PDBDownload Type :10 Factory: PDBDownload() Interface: download(std::string, std::string) downloadPdb(std::string) downloadPdb1(std::string) Attributes: You might need to allow the terminal with "--logconsole" flag when running SAMSON. If you have some problems with std::cout not printing to your terminal, you might print it yourself into std::cerr: // Print interface std::cerr << "Interface:\n"; auto functionMap = classProxy->getInterface()->getFunctionMap(); for (auto i = functionMap.begin(); i != functionMap.end(); ++i) std::cerr << i->getKey() << "\n"; // Print attributes std::cerr << "Attributes:\n"; auto attributeMap = classProxy->getInterface()->getAttributeMap(); for (auto i = attributeMap.begin(); i != attributeMap.end(); ++i) std::cerr << i->getKey() << "\n";
  • Bug in SBMInteractionModelParticleSystem?

    4
    0 Votes
    4 Posts
    4k Views
    StephaneS
    ok great!
  • Help with introspection

    8
    0 Votes
    8 Posts
    7k Views
    StephaneS
    ok great!
  • Crashes with SBParticleSystem

    2
    0 Votes
    2 Posts
    3k Views
    A
    Hi Khoa, yes, it's always better to create nodes on the heap instead of the stack (i.e. with new). Therefore, you should use a SAMSON pointer (SBPointer) to hold it and destroy the node automatically when the variable gets out of scope.
  • How to hide property windows of an interaction model

    2
    0 Votes
    2 Posts
    3k Views
    StephaneS
    No, sorry, not at the moment.