A code to correct the coordinate file (.pdb), originated by CNS (structure calculation software), into the standard format.
-- Works in one chain proteins.
Export the code path, adding a line to ~/.bashrc
or ~/.bash_profile
:
export PATH="/caminho/do/seu/diretorio:$PATH"
Alternatively, move the 'cns_pdb_converter' file to /usr/local/bin/
sudo mv cns_pdb_converter /usr/local/bin/
After that:
source ./bashrc
Make the code executable:
chmod +x cns_pdb_converter.py
And execute the code:
cns_pdb_converter file_name.pdb