DOKK / manpages / debian 12 / cif-tools / cif-grep.1.en
cif-grep(1) User Commands cif-grep(1)

cif-grep - A tool like grep to print fields in mmCIF files that match patterns

cif-grep [OPTION] pattern file1 [file2..]

This tool tries to work in a similar way as grep by searching mmCIF files comparing the content of fields to patterns.

Multiple files can be specified to search. If a directory name if specified, all files in that directory will be searched. Use the --recursive flag to do a recursive search.

Limit the search to only the item specified in <item>. Default is to search all items. Item should be of the form '_category.item' with the leading underscore.
Print only the file names that match the pattern.
Only show the number of hits.
Only select the fields that do not match the pattern.
Print the line numbers.
Do not print the filename.
Do print the filename.
Print only the names of the files containing matches.
Search recursively.
Be more verbose, useful to diagnose validation errors.

Written by Maarten L. Hekkelman <maarten@hekkelman.com>

Report bugs at https://github.com/PDB-REDO/cif-tools/issues

cif-diff, cif-merge, cif-validate, cif2pdb, mmCQL, pdb2cif.

2022-11-20 version 1.0.5