Please visit the following site for obtaining this software:
https://www.iucr.org/resources/cif/software/starparser
STAR (CIF) Parsing Tools
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 |
parse.pl -
parse a 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 |
Complete distribution: STAR.tar.gz  (Contains this README file)
Sample file:
1LEP.cif (89 kB) | compressed: 1LEP.cif.gz (21 kB)mmCIF Dictionary:
Version 1.0.00:   mmcif1000.dic (1.5 MB) | compressed: mmcif1000.dic.gz (160 kB)
Version 2.0.03:   mmcif2003.dic (1.6 MB) | compressed: mmcif2003.dic.gz (170 kB)PDB Exchange Dictionary:
Version 0.007:   pdbx0007.dic (320 kB) | compressed: pdbx0007.dic.gz (30 kB)Manual merger of mmCIF (2.0.03) and pdbx (0.007):
mmcif2003x.dic (1.9 MB) | compressed: mmcif2003x.dic.gz (200 kB)Instructions:
- download STAR.tar.gz
% gunzip STAR.tar.gz
% tar xvf STAR.tar
% cd STAR
% 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).
More information on mmCIF can be found on these PDB or NDB pages.