GithubHelp home page GithubHelp logo

encodetraj's Introduction

Build Status

encodetraj

Autoencoders for molecular trajectory analysis

Requires numpy, keras and mdtraj

Example:

encodetraj -i traj_fit.xtc -p reference.pdb -boxx 1 -boxy 1 -boxz 1 -testset 0.2 \ 
           -low low.txt -high high.txt -filter filtered -model model -epochs 1000

c8

Usage:

usage: encodetraj    [-h] [-i INFILE] [-p INTOP] [-boxx BOXX] [-boxy BOXY]
                     [-boxz BOXZ] [-testset TESTSET] [-shuffle SHUFFLE]
                     [-layers LAYERS] [-layer1 LAYER1] [-layer2 LAYER2]
                     [-encdim ENCDIM] [-actfun1 ACTFUN1] [-actfun2 ACTFUN2]
                     [-optim OPTIM] [-loss LOSS] [-epochs EPOCHS]
                     [-batch BATCH] [-low LOWFILE] [-high HIGHFILE]
                     [-filter FILTERFILE] [-model MODELFILE]
                     [-plumed PLUMEDFILE]

Autoencoders for molecular trajectory analysis, requires numpy, keras and mdtraj

optional arguments:
  -h, --help          show this help message and exit
  -i INFILE           Input trajectory in pdb, xtc, trr, dcd, netcdf or mdcrd,
                      WARNING: the trajectory must be 1. centered in the PBC
                      box, 2. fitted to a reference structure and 3. must
                      contain only atoms to be analysed!
  -p INTOP            Input topology in pdb, WARNING: the structure must be 1.
                      centered in the PBC box and 2. must contain only atoms
                      to be analysed!
  -boxx BOXX          Size of x coordinate of PBC box (from 0 to set value in
                      nm)
  -boxy BOXY          Size of y coordinate of PBC box (from 0 to set value in
                      nm)
  -boxz BOXZ          Size of z coordinate of PBC box (from 0 to set value in
                      nm)
  -testset TESTSET    Size of test set (fraction of the trajectory, default =
                      0.1)
  -shuffle SHUFFLE    Shuffle trajectory frames to obtain training and test
                      set (default True)
  -layers LAYERS      Number of encoding layers (same as number of decoding,
                      allowed values 2-3, default = 2)
  -layer1 LAYER1      Number of neurons in the second encoding layer (default
                      = 256)
  -layer2 LAYER2      Number of neurons in the third encoding layer (default =
                      256)
  -encdim ENCDIM      Encoding dimension (default = 3)
  -actfun1 ACTFUN1    Activation function of the first layer (default =
                      sigmoid, for options see keras documentation)
  -actfun2 ACTFUN2    Activation function of the second layer (default =
                      sigmoid, for options see keras documentation)
  -optim OPTIM        Optimizer (default = adam, for options see keras
                      documentation)
  -loss LOSS          Loss function (default = mean_squared_error, for options
                      see keras documentation)
  -epochs EPOCHS      Number of epochs (default = 100, >1000 may be necessary
                      for real life applications)
  -batch BATCH        Batchsize (0 = no batches, default = 256)
  -low LOWFILE        Output file with low-dimensional embedings (xvg or txt,
                      default = no output)
  -high HIGHFILE      Output file with original coordinates and encoded-
                      decoded coordinates (xvg or txt, default = no output)
  -filter FILTERFILE  Output file with encoded-decoded trajectory in .xtc
                      format (default = no output)
  -model MODELFILE    Prefix for output model files (experimental, default =
                      no output)
  -plot PLOTFILE      Model plot file in png (default = no output)
  -plumed PLUMEDFILE  Output file for Plumed (default = no output)

encodetraj's People

Contributors

spiwokv avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.