readmm_CIF: Reads and output an mmCIF file

View source: R/mmCIF.R

readmm_CIFR Documentation

Reads and output an mmCIF file

Description

Reads and output an mmCIF file

Usage

readmm_CIF(filename, message = FALSE)

Arguments

filename

A character string. The path to a valid CIF file.

message

A logical variable. If TRUE (default) the function prints a message highlighting what is included in the cif file.

Value

A named list. Each name correspond to a valid field in the cif.

Examples

datadir <- system.file("extdata",package="cry")
filename <- file.path(datadir,"3syu.cif")
lCIF <- readmm_CIF(filename)
print(names(lCIF))
print(lCIF$HEADER$Entry)
print(lCIF$HEADER$Symmtery)
print(lCIF$HEADER$CELL)
print(lCIF$EXP_DETAILS$CRYSTAL_CON$VAL)


cry documentation built on Oct. 10, 2022, 9:06 a.m.