![]() |
STAR (CIF) Parser |
|
Modules |
Examples of application scripts |
|
| Documentation | Source code | Source code - description |
|
Parser.html DataBlock.html Dictionary.html Checker.html Writer.html Filter.html |
Parser.pm DataBlock.pm Dictionary.pm Checker.pm Writer.pm Filter.pm |
parseMulti.pl -
parse all files in a directory (multiple command line switches) parse.pl - parse one file (with some command line switches) query.pl - query a previously saved data structure check.pl - check a parsed file against a dictionary write.pl - write a data structure as a CIF file create.pl - a mini example of creating a data structure from scratch filter.pl - filter a file against a dictionary filterDict.pl - filter (reduce) a dictionary keys.pl - write a hierarchical list of all hash keys in a data structure mandatory.pl - list mandatory/optional categories/items in a dictionary dependent.pl - list dependent items in a dictionary parentChild.pl - list parent-child relationships in a dictionary |
| Copyright (c) 2000 University of California, San Diego | ||
Complete distribution: STAR-Parser-0.59.tar.gz (Contains this README file, version history, and a binding Copyright notice)
Instructions:
- download STAR-Parser-0.59.tar.gz
% gunzip STAR-Parser-0.59.tar.gz% tar xvf STAR-Parser-0.59.tar% cd STAR-Parser-0.59% perl Makefile.PL% make% make test% make install- This should install the modules into a default location on your system.
- Alternative, you may create a STAR directory in a location of your choice, copy the "*.pm" files into the STAR directory, and then include the line
use lib "<path to the directory above STAR>";
in the scripts.- Documentation can be extracted with
% pod2html Parser.pm >Parser.html
or viewed with
% perldoc Parser.pm- These modules require Storable (get it from CPAN).