The converters module¶
This module contains some high-level utility functions to interconvert between different file formats. When installed it also creates the following standalone executable scripts:
oxDNA_LAMMPS input_file [bond_file], which callsoxDNA_LAMMPS_command_line().oxDNA_cogli input_file, which callsoxDNA_cogli_command_line().LAMMPS_cogli input_file, which callsLAMMPS_cogli_command_line().
Convert an oxDNA configuration into a LAMMPS data file. |
|
Convert the command-line supplied oxDNA configuration into a LAMMPS data file. |
|
Convert an oxDNA configuration into a cogli file. |
|
Convert the command-line supplied oxDNA configuration into a cogli file. |
|
Convert a LAMMPS data/dump file into a cogli file. |
|
Convert the command-line supplied LAMMPS data/dump file into a cogli file. |
-
baggianalysis.converters.oxDNA_LAMMPS(input_file, output_file, bond_file=None, datafile_type=None)¶ Convert an oxDNA configuration into a LAMMPS data file.
-
baggianalysis.converters.oxDNA_LAMMPS_command_line()¶ Convert the command-line supplied oxDNA configuration into a LAMMPS data file.
The name of the output file is the same as the input file plus ‘.lammps’.
-
baggianalysis.converters.oxDNA_cogli(input_file, output_file)¶ Convert an oxDNA configuration into a cogli file.
-
baggianalysis.converters.oxDNA_cogli_command_line()¶ Convert the command-line supplied oxDNA configuration into a cogli file.
The name of the output file is the same as the input file plus ‘.mgl’.