0
EMBL Hamburg Biological
Small Angle Scattering
BioSAXS
SASBDB

CIFOP manual

cifop

Written by D. Franke
Post all your questions about CIFOP to the ATSAS Forum.

© ATSAS Team, 2021, 2022

Table of Contents

Manual

The following sections shortly describe the method implemented in CIFOP, how to run CIFOP from the command-line on any of the supported platforms, as well as the required input and the produced output file.

Introduction

CIFOP applies linear operations on atomic coordinates files in PDF or mmCIF format. Operations include any combination of translation, rotation and reflection, as well as derived operations like translation to origin or alignment of principle axes to coordinate directions.

Running CIFOP

Usage:

$> CIFOP [OPTIONS] [FILE]

CIFOP accepts absolute as well as relative paths to the atomic coordinate FILE. If no FILE path is provided, CIFOP reads from stdin. In all cases the input may be either in PDB or mmCIF format.

The OPTIONS known by CIFOP are described in the next section.

Command-Line Arguments and Options

CIFOP requires the following command line arguments:

ArgumentDescription
FILE Optional. The atomic coordinate file in PDB or mmCIF format. If no FILE path is specified, input is read from stdin.

CIFOP recognizes the following command-line options.

Short optionLong optionDescription
--model=<ARG> model number or ID in the atomic coordinates data to transform (default: all)
--shift-x=<ARG> offset to apply in X direction; default: 0.0
--shift-y=<ARG> offset to apply in Y direction; default: 0.0
--shift-z=<ARG> offset to apply in Z direction; default: 0.0
--alpha=<ARG> Euler rotation angle alpha; default: 0.0
--beta=<ARG> Euler rotation angle beta; default: 0.0
--gamma=<ARG> Euler rotation angle gamma; default: 0.0
--reflect-x If set, all X coordinates are replaced with -X; default: no reflection
--reflect-y If set, all Y coordinates are replaced with -Y; default: no reflection
--reflect-z If set, all Z coordinates are replaced with -Z; default: no reflection
--shift-to-origin shift geometric center of each selected model to the origin
--align-axis align eigenvectors with coordinate axes
--dam=<R> convert to dummy atom model with bead radius R
-o --output=<FILE> write output to FILE; writes to stdout if undefined
-v --version Print version information and exit.
-h --help Print a summary of arguments and options and exit.

Runtime Output

CIFOP does not have any runtime output. If the output file is undefined, the transformed coordinates will be written to stdout.

CIFOP Input Files

CIFOP accepts atomic coordinate data in PDB or mmCIF format as input. This may be either a relative or absolute file path, or data will be read from stdin.

CIFOP Output Files

CIFOP may write atomic coordinate data in PDB or mmCIF format on output. By default the transformed coordinates are written to stdout, or an output file path my be specified.

Examples

CIFOP as replacement of ALPRAXIN

Use CIFOP to align 6lyz.cif and write the result to 6lyz-aligned.pdb:

$ cifop --align-axis 6lyz.cif -o 6lyz-aligned.pdb

CIFOP as replacement of DAM2EN

Use CIFOP to create an enantiomorph of 6lyz.cif and write the result to 6lyz-en.cif:

$ cifop --reflext-z 6lyz.cif -o 6lyz-en.cif

CIFOP as replacement of DAM2DAM

Use CIFOP to create a DAM representation of 6lyz.cif and write the result to 6lyz-dam.pdb:

$ cifop --dam=2.0 6lyz.cif -o 6lyz-dam.pdb

  Last modified: June 7, 2022

© BioSAXS group 2022