Do you know of any simple code or package that simply outputs the rotameric state of a given residue based on any of the rotamer definitions ? (no rotations or optimization of best possible rotameric state for the given reside etc.,) just calculate Chi angles and print out the rotameric state based on them for all the side chains from a PDB. More like torsions.c or dangle for the main chains. Nothing fancier. Preferably command line based.
Almost all the graphic programs have a rotamer option, but all of them use some kind of rotamer library Dunbrack typically and tries to model the best possible state rather than outputting the current state.
PDB -> Sidechain Chi angles -> Rotamer State (Dunbrack backbone independent librart definition )
I'd be happyto know if some code exists already