# CRE, CREATE

NAME
CRE, CREATE - create structure
SYNOPSIS
CRE
CREATE
DESCRIPTION
Create structure, using the sequence from the main sequence buffer and the secondary structure from the main secondary structure buffer. At present (version 1.5), garlic is capable to create polypeptides only. Do not use this command to create DNA or RNA structure.
Both buffers have to be initialized before issuing the command CREATE. A typical use will be to create a short peptide, which will be tryed as an inhibitor for a larger, experimentally determined structure.
The present version (garlic 2.1) will correctly interpret the secondary structure codes for alpha helix (H), 3-10 helix (G) and beta strand (E), while coil (C) and turn (T) will be treated the same way as beta strand.
TEMPLATE RESIDUES
The new structure will be created using the residues from the template file. The template file contains 20 standard residues. This file should be named residues.pdb and stored to at least one of the following directories (listed in the search order):
(1) The current working directory.
(2) $HOME (user's home directory).
(3) $HOME/garlic (garlic subdirectory of the user's home directory).
(4) /usr/share/garlic (location for the system-wide file).
(5) /usr/local/lib/garlic (alternative location for the system-wide file).
(6) /usr/lib/garlic (another alternative location for the system-wide file).
If you want to add some extra residues (like modified amino-acids) to the template file, make your own copy of the file residues.pdb and keep it either in $HOME/garlic subdirectory or in your favorite working directory. It is very easy to add residues to the template file: just copy and paste the chosen exotic residue from the PDB file where you have it to the end of garlic template file. Be sure to include hydrogen atoms! There is one more thing: be sure that your residue does not have the same residue serial number as the preceding residue. You don't have to worry about the position and the orientation of your residue.
If you don't have the file residues.pdb, click here for html version. It is very easy to convert this version to the plain PDB, just save it as the plain text.
EXAMPLE

seq = asp ala phe tyr trp asn str = eeeeee cre | Define a short sequence (six residues), use extended structure for all residues and create the short peptide.

NOTES
(1) The command CREATE resets the editing mode to default (no editing).
RELATED COMMANDS
Use SEQUENCE to prepare the protein sequence and STRUCTURE to prepare the secondary structure. The secondary structure buffer is initially filled with MAXRESIDUES codes for extended structure (EEEEEEEE...). MAXRESIDUES is defined in the source file defines.h . BONDS REFRESH may be used to fix bad bonds, which may sometimes be generated after executing the command CREATE.