selector

create lists of serial atom numbers

Note
This command line tool is implemented as a shell script. Its help message is pasted below:
Example:
echo "
mda:nucleic
mdt:resname RG
" | selector.sh --pdb ref.pdb