# wget -r -np http://www.ncbi.nlm.nih.gov/data_specs/asn/ $ncbi = "/Users/alanr/repos/lsw/trunk/molbio/ncbi/."; $in = @ARGV[0]; $out = $in; $out =~ s/\.ags/.asn/; $specs = `find $ncbi/asn/ -name \\*\\.asn`; $specs = join(",",split(/\n/,$specs)); $command = "$ncbi/asntool -m $ncbi/asn/entrezgene.asn -d $in -t Entrezgene-Set -p $out -M $specs"; print $command; system($command);