Skip to content

Releases: m3g/MolSimToolkit.jl

v1.25.0

31 Jan 12:53
Compare
Choose a tag to compare

MolSimToolkit v1.25.0

Diff since v1.24.0

New feature

Added the coordination_number function.

Merged pull requests:

  • add coordination_number function (#25) (@lmiq)

v1.24.0

27 Jan 19:39
Compare
Choose a tag to compare

MolSimToolkit v1.24.0

Diff since v1.23.0

New feature

The simulation object can be initialized with the frames keyword argument, which can be set to a range or a vector of indices of the frames. For example:

julia> using MolSimToolkit, MolSimToolkit.Testing

julia> sim = Simulation(Testing.namd2_pdb, Testing.namd2_traj; frames=[1,3,5])
Simulation 
    Atom type: PDBTools.Atom{Nothing}
    PDB file: /home/leandro/.julia/dev/MolSimToolkit/test/data/namd/protein_in_water_tmao/structure.pdb
    Trajectory file: /home/leandro/.julia/dev/MolSimToolkit/test/data/namd/protein_in_water_tmao/trajectory.dcd
    Total number of frames: 20
    Frames to consider: 1, 3, 5
    Number of frames to consider: 3
    Current frame: nothing

This allows computing properties from any subset of the frames of the simulations. For example, to compute the average dihedral angle of the first two residues of the example file above, only considering the selected frames, one would do, as before:

julia> using PDBTools

julia> d1 = select(atoms(sim), "residue 1 and backbone");

julia> d2 = select(atoms(sim), "residue 2 and backbone")
   Array{Atoms,1} with 4 atoms with fields:
   index name resname chain   resnum  residue        x        y        z occup  beta model segname index_pdb
      13    N     CYS     A        2        2   -6.351  -14.461   -5.695  1.00  0.00     1    PROT        13
      15   CA     CYS     A        2        2   -5.113  -13.737   -5.466  1.00  0.00     1    PROT        15
      22    C     CYS     A        2        2   -4.610  -13.207   -6.811  1.00  0.00     1    PROT        22
      23    O     CYS     A        2        2   -4.443  -13.972   -7.759  1.00  0.00     1    PROT        23

julia> average_dihedrals(sim, [d1, d2])
2-element Vector{Float64}:
 -13.971039748471016
 -34.44560612678544

Merged pull requests:

  • support frames argument to set frames with int vector (#24) (@lmiq)

v1.23.0

23 Jan 20:12
Compare
Choose a tag to compare

MolSimToolkit v1.23.0

Diff since v1.22.3

New features

Implemented the analysis of dihedral angles, in particular for the computation of average dihedral angles in simulations.

Merged pull requests:

v1.22.3

20 Dec 14:18
Compare
Choose a tag to compare

MolSimToolkit v1.22.3

Diff since v1.22.2

  • Setting font family to Serif in a plot using MolSimStyle will adjust latex fonts with \mathsf. This is somewhat experimental, because GR does not really support Serif fonts, and the same with Arial fails (JuliaPlots/Plots.jl#5038).

Merged pull requests:

v1.22.2

22 Nov 17:41
Compare
Choose a tag to compare

MolSimToolkit v1.22.2

Diff since v1.22.1

  • Remove dependency on AtomsBase.

Merged pull requests:

v1.22.1

19 Nov 12:07
Compare
Choose a tag to compare

MolSimToolkit v1.22.1

Diff since v1.22.0

  • Add compatibility to PDBTools.jl v2

Merged pull requests:

  • Make compatible with PDBTools 2.0 (#17) (@lmiq)

v1.22.0

17 Oct 17:26
Compare
Choose a tag to compare

MolSimToolkit v1.22.0

Diff since v1.21.1

  • added the option iref=nothing to center_of_mass.

v1.21.1

12 Oct 01:46
Compare
Choose a tag to compare

MolSimToolkit v1.21.1

Diff since v1.21.0

  • Added more tests to Coaraci, and improved code.

v1.21.0

11 Oct 14:49
Compare
Choose a tag to compare

MolSimToolkit v1.21.0

Diff since v1.20.0

  • Support for node-release in PBS clusters.

v1.20.0

04 Oct 14:47
Compare
Choose a tag to compare
v1.20.0+docs1

set version to 1.20.0