All Projects → chemfiles → Chemfiles.jl

chemfiles / Chemfiles.jl

Licence: other
Julia bindings to chemfiles

Programming Languages

julia
2034 projects
python
139335 projects - #7 most used programming language
shell
77523 projects

Chemfiles.jl

Build status Code coverage Documentation

This package contains the Julia binding for the chemfiles library. It allow you, as a programmer, to read and write chemistry trajectory files easily, with the same simple interface for all the supported formats. For more information, please read the introduction to chemfiles.

Documentation

Installation

You can install Chemfiles with Pkg.add("Chemfiles"). You can also run the test suite with:

julia> Pkg.test("Chemfiles")

All the tests should pass. If they don't, please open an issue.

Usage example

Here is a simple usage example for Chemfiles.jl. Please see the examples folder for more examples.

using Chemfiles

trajectory = Trajectory("filename.xyz")
frame = read(trajectory)

println("There are $(size(frame)) atoms in the frame")
pos = positions(frame)

# Do awesome things with the positions here !

Bug reports, feature requests

Please report any bug you find and any feature you may want as a Github issue.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].