ZINC scripts: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
# | # | ||
while (<STDIN>) { | while (<STDIN>) { | ||
my $a = $_; chop $a; | |||
print `wget -q -O - "http://zinc.docking.org/substance/reps/ref/$a.mol2"`; | |||
} | } | ||
Revision as of 02:16, 11 July 2012
ZINC scripts.
download a list of molecules in mol2 format by zincid
#!/usr/bin/perl -w # jji. July 2012 - read list of ZINC ids from stdin, output mol2 files, reference pH, as mol2 # while (<STDIN>) { my $a = $_; chop $a; print `wget -q -O - "http://zinc.docking.org/substance/reps/ref/$a.mol2"`; }