> For a revision I am making to firstglance.jmol.org, I need definitions of
> the predefined atom sets "protein", "dna", "rna", and "nucleic".

OK

> By that I
> mean I need the lists of group names for amino acids and nucleotides that
> are selected when you "select (protein,nucleic)". Can someone please give
> me those lists from the Jmol source code?

Given the way that you phrased the question ... this does not have a
direct answer. That is, 'protein' and 'nucleic' are defined by structure,
not by group name. Therefore, there is no list of group names.

I'll make an attempt to define the sets ... ask me if you have additional
questions.

amino
=====
Group name of one of the following. This is based only upon group name and
has nothing to do with the actual atoms that make up the group.

    "ALA", // 1
    "ARG",
    "ASN",
    "ASP",
    "CYS",
    "GLN",
    "GLU",
    "GLY",
    "HIS",
    "ILE",
    "LEU",
    "LYS",
    "MET",
    "PHE",
    "PRO", // 15 Proline
    "SER",
    "THR",
    "TRP",
    "TYR",
    "VAL",
    "ASX", // 21 ASP/ASN ambiguous
    "GLX", // 22 GLU/GLN ambiguous
    "UNK", // 23 unknown -- 23


water
=====
based only on group name ... one of the following:

    "HOH", // 70
    "DOD", // 71
    "WAT", // 72

ions
====
based only on group name

    "PO4", // 73 phosphate ions
    "SO4", // 74 sulphate ions

protein
=======
The 'protein' set is based solely on the atoms that make up the group. It
is independent of the group name and independent of whether the atoms are
defined in ATOM records or HETATM records.

This has the advantage that modified groups and interesting things that
are not amino acids can still be identified as part of the protein.

The atoms that make up the set are recognized by the names of the atoms.

Case 1:
If the group has 4 atoms named 'N', 'CA', 'C' and ('O' or 'O1') and they
are bonded in the correct order, then the group is considered protein.

Case 2:
If the group has exactly 1 atom whose name is 'CA' then it is considered
protein. The purpose of this is to pick up alpha-carbon-only models


nucleic
=======
A group is considered 'nucleic' iff it contains (sugar?) atoms with all of
the following names:

    JmolConstants.ATOMID_C5,   //  3 C5
    JmolConstants.ATOMID_C6,   //  4 C6
    JmolConstants.ATOMID_N1,   //  5 N1
    JmolConstants.ATOMID_C2,   //  6 C2
    JmolConstants.ATOMID_N3,   //  7 N3
    JmolConstants.ATOMID_C4,   //  8 C4

    JmolConstants.ATOMID_O5_PRIME,      // 22 O5' terminus

    JmolConstants.ATOMID_O3_PRIME,      // 24 O3' terminus

    JmolConstants.ATOMID_C3_PRIME,              // 26 C3'


rna
===
a group is in the rna group if it is 'nucleic' and it also contains at
atom named O2'

dna
===
a group is in the dna group if it is 'nucleic' and it does *not* contain
an atom named O2'


other nucleic-related groups
============================
    // nucleic acid base ring functional groups
    //
    "N4",  // 74 - base ring N4, unique to C
    "N2",  // 75 - base amino N2, unique to G
    "N6",  // 76 - base amino N6, unique to A
    "C5M", // 77 - base methyl carbon, unique to T

    "O6",  // 78 - base carbonyl O6, only in G and I
    "O4",  // 79 - base carbonyl O4, only in T and U
    "S4",  // 80 - base thiol sulfur, unique to thio-U

[SNIP]

    "@c nucleic & within(group,_a=74)", // ATOMID_N4
    "@g nucleic & within(group,_a=75)", // ATOMID_N2
    "@cg c,g",
    "@a nucleic & within(group,_a=76)", // ATOMID_N6
    "@t nucleic & within(group,_a=77)", // ATOMID_C5M
    "@at a,t",
    "@i nucleic & within(group,_a=78) & !g", // ATOMID_O6
    "@u nucleic & within(group,_a=79) & !t", // ATOMID_O4
    "@tu nucleic & within(group,_a=80)", // ATOMID_S4


Finally, here are the definitions of a lot of other predefined sets ...
most of which are consistent with RasMol.

  ////////////////////////////////////////////////////////////////
  // predefined sets
  ////////////////////////////////////////////////////////////////

  public static String[] predefinedSets = {
    //
    // protein related
    //
    // protein is hardwired
    "@amino _g>0 & _g<=23",
    "@acidic asp,glu",
    "@basic arg,his,lys",
    "@charged acidic,basic",
    "@negative acidic",
    "@positive basic",
    "@neutral amino&!(acidic,basic)",
    "@polar amino&!hydrophobic",

    "@cyclic his,phe,pro,trp,tyr",
    "@acyclic amino&!cyclic",
    "@aliphatic ala,gly,ile,leu,val",
    "@aromatic his,phe,trp,tyr",
    //    "@cystine",

    "@buried ala,cys,ile,leu,met,phe,trp,val",
    "@surface !buried", // this looks wrong to me -- mth

    // doc on hydrophobic is inconsistent
    // text description of hydrophobic says this
    //    "@hydrophobic ala,leu,val,ile,pro,phe,met,trp",
    // table says this
    "@hydrophobic ala,gly,ile,leu,met,phe,pro,trp,tyr,val",
    "@ligand hetero & !solvent",
    "@mainchain backbone",
    "@small ala,gly,ser",
    "@medium asn,asp,cys,pro,thr,val",
    "@large arg,glu,gln,his,ile,leu,lys,met,phe,trp,tyr",

    //
    // nucleic acid related

    // nucleic, dna, rna, purine, pyrimidine are hard-wired
    //
    "@c nucleic & within(group,_a=74)", // ATOMID_N4
    "@g nucleic & within(group,_a=75)", // ATOMID_N2
    "@cg c,g",
    "@a nucleic & within(group,_a=76)", // ATOMID_N6
    "@t nucleic & within(group,_a=77)", // ATOMID_C5M
    "@at a,t",
    "@i nucleic & within(group,_a=78) & !g", // ATOMID_O6
    "@u nucleic & within(group,_a=79) & !t", // ATOMID_O4
    "@tu nucleic & within(group,_a=80)", // ATOMID_S4

    //
    // solvent
    //
    "@solvent _g>=70 & _g<=74", // water or ions
    "@hoh water",
    "@water _g>=70 & _g<=72",
    "@ions _g=73,_g=74",

    //
    // structure related
    //
    "@alpha _a=2", // rasmol doc says "approximately *.CA" - whatever?
    "@backbone (protein,nucleic) & _a>0 & _a<=63",
    "@sidechain (protein,nucleic) & !backbone",
    "@base nucleic & !backbone",

    "@turn _structure=1",
    "@sheet _structure=2",
    "@helix _structure=3",

    "@bonded _bondedcount>0",
    //    "@hetero", handled specially

  };




Miguel



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to