How to download zinc-22 using rsync

From DISI
Jump to navigation Jump to search

Ok, you can try this

mkdir zinc-22d
pushd zinc-22d
rsync -Larv --include='*/' --include='zinc-22d/' --include='[a-z]/H*-*-*db2.tgz' --exclude='*' --verbose rsync://files.docking.org/ZINC22-3D .
popd

This will get you all molecules in the "d" layer of ZINC-22. with the db2 format. If you want sdf, mol2 or pdbqt, just change db2 into the relevant one.

There are more layers, currently, we have d g h i k l m n o p q r s t u v x 

n is biggest x is second the rest are modest. The layers have no meaning, other than they allow us to prepare the database independently in steps. If you want only a subset, then you could try using the 3D tranche browser in cartblanche22.docking.org to make a precise selection. 

I hope this helps.