PCA Application
Perform PCA/EDA calculations and output the results in plain text, NMD, and graphical formats.
- prody.apps.prody_apps.prody_pca.prody_pca(coords, **kwargs)[source]
Perform PCA calculations for PDB or DCD format coords file.
- Parameters:
aligned – trajectory is already aligned, default is
Falsealtloc – alternative location identifiers for residues used in the calculations, default is
'A'extend – write NMD file for the model extended to “backbone” (“bb”) or “all” atoms of the residue, model must have one node per residue, default is
''figall – save all figures, default is
Falsefigcc – save cross-correlations figure, default is
Falsefigdpi – figure resolution (dpi), default is
300figformat – figure file format, default is
'pdf'figheight – figure height (inch), default is
6.0figproj – save projections onto specified subspaces, e.g. “1,2” for projections onto PCs 1 and 2; “1,2 1,3” for projections onto PCs 1,2 and 1, 3; “1 1,2,3” for projections onto PCs 1 and 1, 2, 3, default is
''figsf – save square-fluctuations figure, default is
Falsefigwidth – figure width (inch), default is
8.0membrane – whether to include the explicit membrane model, default is
Falsenmodes – number of non-zero eigenvectors (modes) to calculate, default is
10nproc – number of processors, default is
0npzmatrices – write matrix to compressed ProDy data file, default is
Falsenumdelim – number delimiter, default is
' 'numext – numeric file extension, default is
'.txt'numformat – number output format, default is
'%12g'outall – write all outputs, default is
Falseoutcc – write cross-correlations, default is
Falseoutcov – write covariance matrix, default is
Falseoutdir – output directory, default is
'.'outeig – write eigenvalues/vectors, default is
Falseouthm – write cross-correlations heatmap file, default is
Falseoutnpz – write compressed ProDy data file, default is
Falseoutproj – write projections onto PCs, default is
Falseoutscipion – write continuousflex modes directory and sqlite, default is
Falseoutsf – write square-fluctuations, default is
Falseprefix – output file prefix, default is
'_pca'select – atom selection, default is
"protein and name CA or nucleic and name P C4' C2"