From: Efthymiou, Christos (christos.dereschuk.20_at_ucl.ac.uk)
Date: Sun Jun 19 2022 - 08:15:37 CDT

Thank you for the link to the Windows installation!

Reading the possible input files, I see that .psf files are not one of the acceptable files. Is there a reason why water molecules cannot be removed from psf files? For my particular case, I was interested in using catdcd to reduce the size of my dcd trajectories to be able to analyze them with the program MDContactCom, which requires dcd and psf files as inputs. However, if I remove the water molecules from the dcd file and not the psf file, I get this error:

traj2pdb.py - Func: convert - ERROR - xyz must be shape (Any, 44191, 3). You supplied (200, 5508, 3)

Searching online, this seems to be caused by a disconnect between the total number of atoms in the trajectory compared to the psf file (i.e. the lack of water in the dcd file). Is there a way to remove water molecules from the psf file?

Thanks again for all the help.

Best,
Christos
________________________________
From: Axel Kohlmeyer <akohlmey_at_gmail.com>
Sent: Friday, June 17, 2022 5:45 PM
To: Efthymiou, Christos <christos.dereschuk.20_at_ucl.ac.uk>
Cc: Geist, Norman <norman.geist_at_uni-greifswald.de>; vmd-l_at_ks.uiuc.edu <vmd-l_at_ks.uiuc.edu>
Subject: Re: vmd-l: How to reduce the size of a .dcd file?

⚠ Caution: External sender

On Fri, Jun 17, 2022 at 10:35 AM Efthymiou, Christos <christos.dereschuk.20_at_ucl.ac.uk<mailto:christos.dereschuk.20_at_ucl.ac.uk>> wrote:

Additionally, is catdcd available on Windows? I cannot find any instructions or a manual on how to install and use the program.

I have not installed VMD on Windows in a long time. It used to be that a catdcd executable is only included in some packages and not in the Windows package.
Quite some time ago for some tutorials (and my own education), I had built Windows installer packages for catdcd. Those are still available at: https://urldefense.com/v3/__https://rpm.lammps.org/windows/testing/__;!!DZ3fjg!7XmvSBreyGabRM5k1DOGGyWjo20ych0dgQ_VssTmXcYOYq3xNod2COOqgpfT8MDfPbS39tCanyuGAT6yUWnLG1EbVIXYqus$ <https://urldefense.com/v3/__https://eur01.safelinks.protection.outlook.com/?url=https*3A*2F*2Frpm.lammps.org*2Fwindows*2Ftesting*2F&data=05*7C01*7Cchristos.dereschuk.20*40ucl.ac.uk*7C8890106491e14e685fa108da5070059a*7C1faf88fea9984c5b93c9210a11d9a5c2*7C0*7C0*7C637910739312920792*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000*7C*7C*7C&sdata=RZz1t4RW*2FWS*2BJisfkvNIQ2PKh0VGmDQpPa4fhfniQAk*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUl!!DZ3fjg!7XmvSBreyGabRM5k1DOGGyWjo20ych0dgQ_VssTmXcYOYq3xNod2COOqgpfT8MDfPbS39tCanyuGAT6yUWnLG1Eb9HwYrVc$ >
Use at your own risk. I just checked with a Windows 11 virtual machine and it can still be installed and run...

Axel.

```
Microsoft Windows [Version 10.0.22000.739]
(c) Microsoft Corporation. All rights reserved.

C:\Users\akohl>catdcd
CatDCD 5.4
   catdcd -o outputfile [-otype <filetype>] [-i indexfile]
      [-stype <filetype>] [-s structurefile]
      [-first firstframe] [-last lastframe] [-stride stride]
      [-<filetype>] inputfile1 [-<filetype>] inputfile2 ...

Allowed input file types:
crd crdbox XDATCAR rst7 OUTCAR xml vcf vtf js car dcd namdbin POSCAR pqr cpmd dlpolyhist dlpoly3hist dlpolyconfig xyz tinker binpos ABINIT pdb lammpstrj hoomd cor bgf xsf gro g96 trr trj xtc pdbx xbgf cube mol2 dms dtr mae

Allowed output file types:
crd crdbox rst7 js dcd namdbin POSCAR pqr xyz binpos ABINIT pdb lammpstrj hoomd bgf gro trr pdbx xbgf mol2 dms dtr mae
```

Thanks for the help!

Best,
Christos

--
Dr. Axel Kohlmeyer  akohlmey_at_gmail.com<mailto:akohlmey_at_gmail.com>  https://urldefense.com/v3/__http://goo.gl/1wk0__;!!DZ3fjg!7XmvSBreyGabRM5k1DOGGyWjo20ych0dgQ_VssTmXcYOYq3xNod2COOqgpfT8MDfPbS39tCanyuGAT6yUWnLG1EbMe6V5Lg$ <https://urldefense.com/v3/__https://eur01.safelinks.protection.outlook.com/?url=http*3A*2F*2Fgoo.gl*2F1wk0&data=05*7C01*7Cchristos.dereschuk.20*40ucl.ac.uk*7C8890106491e14e685fa108da5070059a*7C1faf88fea9984c5b93c9210a11d9a5c2*7C0*7C0*7C637910739312920792*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000*7C*7C*7C&sdata=a84ybypvBZmHXFLVPuC3yP6p2swbWXTy0V*2B4REjamVA*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUl!!DZ3fjg!7XmvSBreyGabRM5k1DOGGyWjo20ych0dgQ_VssTmXcYOYq3xNod2COOqgpfT8MDfPbS39tCanyuGAT6yUWnLG1EbOs9dlXM$ >
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.