Skip to content

A simple chemistry file conversion CLI which wraps the chemfiles library

License

Notifications You must be signed in to change notification settings

seatonullberg/chemfiles-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chemfiles-cli

This project provides the binary cf which functions as a simple CLI wrapper around the chemfiles library. Just provide the path to a file you would like to convert and a destination you would like to write it to. If the paths have valid extensions then their formats will be automatically detected. Otherwise, you can provide optional arguments to specify the input/output format independent of the file extension. Files with mutiple frames (such as trajectory files) are supported for all formats which have the capability to do so.

Usage: cf [options] [--] <src> <dst>
A simple chemistry file conversion CLI which wraps the chemfiles library

    -h, --help            show this help message and exit
    -v, --version         print version number and exit
    -i, --in-fmt=<str>    format of the input file
    -o, --out-fmt=<str>   format of the output file

Author: Seaton Ullberg <[email protected]>

Installation

Currently, building directly from source is the only installation method, but precompiled packages for distribution are planned.

Build from Source

This project uses git submodules and cmake to manage dependencies.

$ git clone --recurse-submodules [email protected]:seatonullberg/chemfiles-cli.git
$ cd chemfiles-cli
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install

License

Distributed under the BSD 3-Clause License. See LICENSE for more information.

Acknowledgements

  • chemfiles - Library for reading and writing chemistry files

About

A simple chemistry file conversion CLI which wraps the chemfiles library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published