Exporting

flat.exporting

Module that allows to save files in additional formats.

flat.exporting.save_colored_fasta(filename, selection='all', invert=False, *, _self=cmd)
DESCRIPTION

Save a HTML file with colored (by C-alpha atoms) FASTA sequence.

USAGE

save_colored_fasta filename [, selection [, invert ]]]

ARGUMENTS
filenamestr

Output file name.

selectionstr, default = ‘all’

Atom selection.

invertbool, default = False

Color background instead of character.

SOURCE

From PSICO (c) 2012 Thomas Holder, MPI for Developmental Biology

flat.exporting.save_csv(filename, selection='all', selector=None, var='b', *, quiet=1, _self=cmd)
DESCRIPTION

Save property from selection to CSV file.

USAGE

save_csv filename [, selection [, selector [, var ]]]

ARGUMENTS
filenamestr

Output file name.

selectionstr, default = ‘all’

Atom selection.

selectorList(str), default = None

List or string of atom selectors to export properties. It defaults to: [chain, resn, resi, name].

varstr, default = ‘b’

Property to export.

flat.exporting.save_gro(filename, selection='all', state=0, *, _self=cmd)
DESCRIPTION

Save structure in GROMACS configuration (.gro) format.

USAGE

save_gro filename [, selection [, state ]]

ARGUMENTS
filenamestr

selectionstr, optional

Atom selection.

stateint, default = 0

flat.exporting.save_mda(filename, selection='all', *, quiet=1, _self=cmd)
DESCRIPTION

Save a trajectory file with the MDAnalysis library.

USAGE

save_mda filename [, selection ]

ARGUMENTS
filenamestr

Output file name.

selectionstr, default = ‘all’

Atom selection.

flat.exporting.save_ndx(filename, *, quiet=1, _self=cmd)
DESCRIPTION

Save all selections as GROMACS index (.ndx) format.

USAGE

save_ndx filename

ARGUMENTS
filenamestr

Output file name.

flat.exporting.save_pir(filename, selection='all', *, _self=cmd)
DESCRIPTION

Save sequence in Protein Information Resource (PIR) format.

USAGE

save_ndx filename [, selection ]

ARGUMENTS
filenamestr

Output file name.

selectionstr, default = ‘all’

Atom selection.

flat.exporting.save_xyzr(filename, selection='all', state=1, *, _self=cmd)
DESCRIPTION

Write the given selection to an xyzr or xyzrn (determined by extension) file for MSMS.

USAGE

save_xyzr filename [, selection [, state ]]]

ARGUMENTS
filenamestr

Output file name.

selectionstr, default = ‘all’

Atom selection.

stateint, default = 1

Object state.