From: fan li (
Date: Tue Jul 06 2021 - 05:23:48 CDT

Dear VMD users

I have a group of molecules with resname PRO, I would like to randomly
select 30% of those molecules then delete them. Finally, I would like to
write out the PDB and psf files. I do know how to select molecules by
atomselection function, but I don't how to randomly select molecules.

Any help would be appreciated.

Thank you