file:inpcrd#

AMBER ASCII restart/inpcrd file format

  • Technical Form Name: file:inpcrd

  • Form Type: file

Added in version 1.0.0.

Overview#

file:inpcrd is a supported representation form in MolSysMT. AMBER ASCII restart/inpcrd file format

Supported attributes#

The file:inpcrd form container supports a total of 12 attributes:

Category

Subcategory / Level

Supported Attributes

Topological

Atom Level

atom_index

Topological

Element Counts

n_atoms

Structural

Coordinates & Conformations

structure_index, structure_id, coordinates, velocities, n_structures

Structural

Periodic Box

box, box_shape, box_angles, box_lengths, box_volume

Structural

Other Attributes

atom_index, n_atoms

Implemented operations#

The form adapter module molsysmt.form.file_inpcrd implements the following functions and modules:

Function / Module

Description

extract()

Extracts a subset of atoms, groups, or structures into a new file:inpcrd instance.

copy()

Creates an independent deep copy of the file:inpcrd object in memory.

add()

Adds elements from another system into an existing file:inpcrd instance.

merge()

Merges multiple systems into a single combined file:inpcrd object.

append_structures()

Appends new coordinate frames or trajectories to the structures container.

get_topological_attributes

Module containing getters for topological attributes.

get_structural_attributes

Module containing getters for structural attributes.

set

Module containing setters for updating coordinates, box dimensions, or attributes in-place.

iterators

Module providing iterators for streaming trajectory frames and structures.

has_attribute()

Checks whether a specific attribute name is supported by file:inpcrd.

is_form()

Returns True if the provided object is an instance of file:inpcrd.

Supported conversions#

The following table lists all direct conversion functions implemented in molsysmt.form.file_inpcrd:

Target Form

Form Type

API Documentation

file:inpcrd

file

to_file_inpcrd()

molsysmt.Structures

class

to_molsysmt_Structures()

openmm.AmberInpcrdFile

class

to_openmm_AmberInpcrdFile()