Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
384 commits
Select commit Hold shift + click to select a range
1ca68fd
Move highest stereocenter calc into IdSugarRing
drroe Oct 6, 2021
a01e4e2
New anomeric ref torsion calc that can handle non-ring-end position
drroe Oct 7, 2021
6493850
Attempt to determine R vs S unobjectively
drroe Oct 7, 2021
add050d
Only consider atoms for the residue itself, with the exception of what
drroe Oct 7, 2021
07885ed
Actually calculate the torsion
drroe Oct 7, 2021
fbff6c6
Atommap the entire system to correctly determine chirality
drroe Oct 7, 2021
6a42c36
Fix phrasing and error return status
drroe Oct 8, 2021
5185085
Just make it so when reference atom isnt the ring end atom definition is
drroe Oct 8, 2021
d11e2e3
Add form to Sugar class. Remove is chiral and ring end atom
drroe Oct 8, 2021
c92b928
Remove need for IsRingAtom array
drroe Oct 8, 2021
7bab85a
Do not create IsRingAtom array
drroe Oct 8, 2021
52e6af3
Put all geometric calculation into IdentifySugar
drroe Oct 8, 2021
3b1afc4
IdSugarRing no longer needs Frame
drroe Oct 8, 2021
623842a
Remove some old routines. Go back to the old way of determining
drroe Oct 8, 2021
17a4c64
Save sugar name to avoid constantly calling function to generate it
drroe Oct 8, 2021
a699f31
Hide some debug info. Report configurational carbon (highest
drroe Oct 8, 2021
f6d4f6b
Add placeholder characters to MapAtom for less common elements
drroe Oct 12, 2021
4b274f2
Save carbon chain atom indices for sugars. Use Iarray in place of
drroe Oct 12, 2021
9144955
Generalize name of IsRingAtom to use for chain atoms too potentially.
drroe Oct 12, 2021
0ccd6b9
Remove unneeded debug statement
drroe Oct 12, 2021
b5f3db7
Add function to calc stereocenter torsion
drroe Oct 12, 2021
c25cb7c
Try to make CalcConfigCarbonTorsion atom ordering consistent with
drroe Oct 12, 2021
d8b1b23
Try to be more rigorous about determining form and chirality
drroe Oct 12, 2021
d55d70c
Comment out old function
drroe Oct 12, 2021
f1bb46d
Hide some debug info
drroe Oct 12, 2021
4c8b4bb
Add IsSelected function
drroe Oct 13, 2021
aca23b7
Add atoms involved in torsion in the order they are used to debug
drroe Oct 13, 2021
0ce8406
Add function to Split residue
drroe Oct 13, 2021
d40d1a1
Ensure name is set
drroe Oct 13, 2021
6a7d66f
Start debugging. Fix map setup
drroe Oct 13, 2021
3ab15f5
Add splitres as a hidden command for testing
drroe Oct 13, 2021
7e04020
Ensure atom indices are properly updated when splitting residue
drroe Oct 13, 2021
691f437
Pass the atom map back out to allow further remapping
drroe Oct 13, 2021
7fabe59
Start adding a routine to check if sugars are terminal
drroe Oct 13, 2021
60c8879
Add back non-map version of SplitResidue
drroe Oct 14, 2021
b1c0bcb
Slight reordering of things to make CheckIfSugarsAreTerminal work
drroe Oct 14, 2021
56be070
Do the residue split and frame reordering
drroe Oct 14, 2021
79e7062
When PDB residue number is via topology res index, no need for insertion
drroe Oct 14, 2021
07c9fe0
Hide some debug info
drroe Oct 14, 2021
747af35
Add notermsearch keyword to prevent searching for terminal sugars
drroe Oct 14, 2021
3d87bed
Really no need for the atoms selected to be consecutive as long as they
drroe Oct 14, 2021
ef11856
Recognized terminal hydroxyl residue name as valid to link to
drroe Oct 14, 2021
786638d
Allow terminal hydroxyl name to be specified
drroe Oct 14, 2021
2dadcb3
Add samarium
drroe Oct 14, 2021
d969831
When searching for new bonds to anomeric carbon, do not search if that
drroe Oct 14, 2021
a3bcc09
Do initial map creation after hydrogens are removed so as not to
drroe Oct 14, 2021
bd170b1
HYP is recognized by Glycam
drroe Oct 14, 2021
7afb77f
Add HYP, recognized by glycam
drroe Oct 14, 2021
3a21657
Start moving C1 bond search to an earlier part of the process
drroe Oct 15, 2021
f08386f
Change function name
drroe Oct 15, 2021
63906ea
Start placing everything that modifies sugars into an entirely separate
drroe Oct 15, 2021
5f0e719
Remove unused arg
drroe Oct 15, 2021
647e6b4
Add ARB: beta-L-arabinopyranose
drroe Oct 15, 2021
66bed7a
Add A2G as an N-acetyl glucosamine
drroe Oct 15, 2021
eb99c52
BDP is beta D glucopyranuronic acid
drroe Oct 15, 2021
4c7d5b7
GXL is alpha L galactopyranose
drroe Oct 15, 2021
00e1319
For Y, 4YS is an isoquinolin, SGN is Y with sulfonyls, and BGLN isnt …
drroe Oct 15, 2021
6a5b45e
Print info on ring type. Just informational for now
drroe Oct 19, 2021
dc1cefc
More general way of doing linkage code determination
drroe Oct 19, 2021
c672a47
Ensure pdb output picks up debug level
drroe Oct 19, 2021
aab469c
Ensure TER indices are properly sorted
drroe Oct 19, 2021
60c7090
When looking for C1 bonds, only take the closest atom
drroe Oct 20, 2021
252307d
Start sulfate routine
drroe Oct 21, 2021
8eb15ca
Fix break statement. No need to pass in residue num.
drroe Oct 21, 2021
b1c4452
Split out the SO3 recognition
drroe Oct 22, 2021
dafb6a1
Remove residue number from Sugar; if indices need to be shifted around
drroe Oct 22, 2021
cb6c639
Start converting FixSugarsStructure into the main sugar setup routine
drroe Oct 22, 2021
7f66139
Add sugar remap indices function
drroe Oct 23, 2021
2d3747d
Ensure sugar indices are remapped.
drroe Oct 23, 2021
c2e6408
Use Sugar in sulfate routine. Ensure bonded atoms are in the same
drroe Oct 23, 2021
f4ed640
Do the sulfate split
drroe Oct 23, 2021
c7b854c
Recognized SO3 as valid res name
drroe Oct 25, 2021
f3348f4
Ensure atom names are properly changed after residues are split
drroe Oct 25, 2021
a9d2e79
Make unrecognized terminal an error.
drroe Oct 25, 2021
3bd7794
Handle case where multiple ring start atoms are found. Allows handling
drroe Oct 25, 2021
d41716c
Recognized methyl group
drroe Oct 25, 2021
19af49d
Start adding standalone function to identify groups
drroe Oct 26, 2021
b4c2586
Use new id routine.
drroe Oct 26, 2021
9be0d2d
Change function name
drroe Oct 26, 2021
7e92395
Create silent and verbose versions of function
drroe Oct 26, 2021
b8dda19
Use new functional group id function
drroe Oct 26, 2021
f534170
Add atom selection to the functional group ID routine
drroe Oct 26, 2021
218112f
Add some sulfated and methylated residues
drroe Oct 26, 2021
b9cf905
Recognize some more sugars
drroe Oct 26, 2021
274c148
Add ASG
drroe Oct 26, 2021
233d43f
Change place when atom names are changed, may depend on alpha/beta
drroe Oct 27, 2021
9ecbdbc
In glycam, sugars like Rhamnose (H) have different atom naming for the
drroe Oct 27, 2021
6a1b85b
Add name for iduronic acid
drroe Oct 27, 2021
24140d3
Try to handle cases where ring oxygen has strange coordination
drroe Oct 27, 2021
991fbd6
Add tetra-sulfated version of glucose
drroe Oct 28, 2021
c9645b1
Remove some unused code
drroe Oct 28, 2021
090eec8
Recognize tetrasulfated fructofuranose
drroe Oct 28, 2021
c2bc73b
Do not assume anomeric atom is at position 0 in the chain
drroe Oct 28, 2021
baf08a4
When determining carbon chain, get previous carbons as well. Instead of
drroe Oct 28, 2021
8e77de2
If potential anomeric substituents are both in residue or out of
drroe Oct 29, 2021
ade08fe
Split Chirality routines into a separate file.
drroe Oct 29, 2021
b5fa4c1
Chiral routines have been moved
drroe Oct 29, 2021
27af445
Add version that doesnt return torsion value
drroe Oct 29, 2021
59d4917
Add Chirality to cpptrajfiles
drroe Oct 29, 2021
b59000e
Add form determination for furanose
drroe Oct 29, 2021
226f725
Make unrecognized linkage a warning
drroe Oct 29, 2021
bebb80d
Fix the sugar index remap code
drroe Oct 29, 2021
309b9ed
Hide debug info
drroe Oct 29, 2021
5b40251
When following bonds to complete ring cycle, stay within same residue.
drroe Oct 30, 2021
2bab946
Add furanose link
drroe Oct 31, 2021
6f92109
Add alpha-D-psicofuranose
drroe Oct 31, 2021
c3ca499
Better handle the case where there are multiple potential ring start
drroe Oct 31, 2021
1b1f9b5
Handle CIF files with multiple data_ blocks
drroe Nov 2, 2021
bcf02e2
Add CSV with glycam codes and PDB names
drroe Nov 2, 2021
2e9f105
Change ordering to match glycam table and csv file. Remove wrong names
drroe Nov 2, 2021
b04131e
Change origin, no longer from website
drroe Nov 2, 2021
7b31571
Add sulfated residue
drroe Nov 2, 2021
9fa3dc8
Convert to unix line endings
drroe Nov 2, 2021
b8f1877
Add substituted residue names
drroe Nov 2, 2021
178e20d
Add Rhamnose beta map
drroe Nov 2, 2021
33a177c
Fix typos
drroe Nov 2, 2021
9209b41
Update with the latest from components.cif. Remove a lot of wrong res
drroe Nov 2, 2021
96af8d2
Cleanup; remove old code, add some comments
drroe Nov 2, 2021
f6fdc50
Hide some debug info
drroe Nov 2, 2021
d700a85
Add file for reading components.cif. Does not compile yet, but added for
drroe Nov 2, 2021
3a6c5e1
Recognized terminal OME group. Recognize Terminal-O5 linkage for
drroe Nov 3, 2021
8b532bf
Recognize OME as valid
drroe Nov 3, 2021
052f1c3
Add a methylated form of G
drroe Nov 3, 2021
68afcb4
Add interface to leap
drroe Nov 4, 2021
a38597a
Try to execute leap
drroe Nov 4, 2021
01f2ef5
Ensure leap input file is closed before trying to use it
drroe Nov 4, 2021
155941c
Do not put the leap input file on the master data file list since it
drroe Nov 4, 2021
aa4f985
Actually capture the leap output
drroe Nov 4, 2021
fe86f11
Record error messages from leap
drroe Nov 4, 2021
eeaf39a
Save file names in variables
drroe Nov 4, 2021
3c39f71
Read topology written by leap
drroe Nov 4, 2021
0c88107
Print out total charges on residues
drroe Nov 4, 2021
2cce2b5
Adjust sulfate charges
drroe Nov 4, 2021
baf2377
Add MEX adjustment
drroe Nov 4, 2021
dda59f9
Save format type when reading to allow easy write back in same format if
drroe Nov 4, 2021
0b1f4fc
Add function to return last type read
drroe Nov 5, 2021
d0b8cfb
If topology becomes modified, write it back out
drroe Nov 5, 2021
6beee9c
Add modification for ACX
drroe Nov 5, 2021
8dbc244
Add ACX recognition
drroe Nov 5, 2021
112de33
Add note about deoxy carbon charge
drroe Nov 5, 2021
991a8e4
Put tng and xdr in the cpp link var
drroe Nov 5, 2021
360814a
Fix lib ordering
drroe Nov 5, 2021
4450cf5
Remove obsolete code
drroe Nov 5, 2021
4c17f56
Remove old code
drroe Nov 5, 2021
c56d7cc
Fix the deoxy note
drroe Nov 5, 2021
e9c67e5
Do better error reporting when sugars are not recognized.
drroe Nov 5, 2021
c35f0b1
Add direct PDB to glycam mapping
drroe Nov 8, 2021
29d441c
Documentation
drroe Nov 9, 2021
8dd6433
Clean up output, hide some debug info
drroe Nov 9, 2021
d3f6deb
Hide more debug info. Make functional group output simpler
drroe Nov 9, 2021
3b95cc2
Add ability to read in existing glycam stuff
drroe Nov 10, 2021
9fe0d43
Actually use file names if they are specified
drroe Nov 10, 2021
34109b0
Actually use file name
drroe Nov 10, 2021
a9e9fda
Extract the form etc from the name associated with each ID
drroe Nov 10, 2021
68ae4a3
Do furano to catch furanoside as well
drroe Nov 10, 2021
c11418e
Add file containing only sugar residue names and the corresponding
drroe Nov 12, 2021
3ffdf94
Add file with just glycam names
drroe Nov 12, 2021
bd56ebd
Start generating a new style of carbohydrate names, one line for each
drroe Nov 12, 2021
c72b02e
Add name map and linkage maps
drroe Nov 12, 2021
1c4ab57
Fix output file name
drroe Nov 12, 2021
c2fd500
Add different modes
drroe Nov 12, 2021
210c1ab
Start SugarToken class
drroe Nov 12, 2021
51bcf18
Actually parse the line. Do not store residue name, will be used to map
drroe Nov 12, 2021
70d3ac7
Add PrintInfo
drroe Nov 12, 2021
a02e2f7
Use updated sugar information that includes form, chirality, and ring
drroe Nov 12, 2021
7b55ea0
Will use SugarToken and compare to the token associated with the PDB
drroe Nov 12, 2021
6852fcd
When sugar information cannot be fully determined, try to fill in what's
drroe Nov 16, 2021
9928fcc
Give identify sugar a chance to work even if all atoms not set
drroe Nov 16, 2021
088921e
Differentiate between unrecognized link residue and unrecognized linkage
drroe Nov 16, 2021
0b1b796
Differentiate between unrecognized linkage and no linkage. Do not look
drroe Nov 17, 2021
18e8094
Also ignore hydrogens when looking for linkages
drroe Nov 17, 2021
ad0e03c
Distinguish between potential problems (residue name not recognized but
drroe Nov 17, 2021
13bb22a
Allow sugars to be partially set up for linkage determination when chain
drroe Nov 17, 2021
7f8b66e
If no chain atoms are identified this will break the current linkage
drroe Nov 17, 2021
e9be7e3
Add note about recognizing NHE
drroe Nov 17, 2021
5c54355
Add sugar name mismatch status
drroe Nov 19, 2021
fd9f8d5
Merge branch 'master' into improve_prepareforleap
drroe Nov 19, 2021
69ba5e3
Merge branch 'master' into improve_prepareforleap
drroe Nov 29, 2021
836d632
Add hasglycam keyword in case the PDB already has glycam sugar names
drroe Dec 1, 2021
fac0221
Set each sugar and the preceding residue as terminal, set split residues
drroe Dec 1, 2021
8d1dc9d
Have solvent marked as terminal for now
drroe Dec 1, 2021
d2aeff6
Add terbymol keyword to recover previous behavior if desired
drroe Dec 1, 2021
d4bd46e
Add some test code. Not enabled though.
drroe Dec 2, 2021
ee24484
Fix error message
drroe Dec 2, 2021
b4b4fee
Start getting missing residue info to store in topology
drroe Dec 6, 2021
9e1c6ba
Remove reliance on ArgList
drroe Dec 6, 2021
0bd8763
Get list of residues missing heteroatoms
drroe Dec 6, 2021
02ad4d7
Save missing res info
drroe Dec 6, 2021
f19ffd3
Add missing res info to topology
drroe Dec 6, 2021
c73ce7e
Print if sugar res is missing atoms
drroe Dec 6, 2021
9168401
Store missing status in sugar
drroe Dec 6, 2021
d2340f9
When a form/chirality/ring type mismatch occurs, if the sugar was
drroe Dec 6, 2021
87f5a01
Try to use missing res in top
drroe Dec 7, 2021
5b8654d
Use missing res info in Topology to find gaps
drroe Dec 8, 2021
4ab567d
Remove old code
drroe Dec 8, 2021
67355ee
Change histidine residue names at time of detection since residue
drroe Dec 9, 2021
5d3838b
Merge branch 'master' into improve_prepareforleap
drroe Dec 14, 2021
8fae070
Modify the error message; sugar may still be identified from name
drroe Dec 17, 2021
5346c5e
Add comment
drroe Dec 17, 2021
a50ed65
Merge branch 'master' into improve_prepareforleap
drroe Dec 17, 2021
9a25af8
sugar missing a C1X may no longer be an issue since we can determine
drroe Jan 5, 2022
03b264a
Warn if the leap unit name is a number; can confuse leap
drroe Jan 5, 2022
e0ad1ca
Remove terminalhydroxyname keyword; info should be in file eventually
drroe Jan 6, 2022
71f0157
Merge branch 'master' into improve_prepareforleap
drroe Jan 19, 2022
8d816c7
Merge branch 'master' into improve_prepareforleap
drroe Feb 10, 2022
b190c69
Merge branch 'master' into improve_prepareforleap
drroe Feb 11, 2022
2cb2f26
Merge branch 'master' into improve_prepareforleap
drroe Feb 14, 2022
442435a
Merge branch 'master' into improve_prepareforleap
drroe Feb 17, 2022
11a896a
Separate least squares plane code not needed yet.
drroe Feb 17, 2022
031872d
Clean up output a little
drroe Feb 17, 2022
0fab862
Hide some debug info
drroe Feb 17, 2022
c7ee070
Make prepareforleap not hidden
drroe Feb 17, 2022
362ca36
Add a test for prepareforleap
drroe Feb 17, 2022
be16022
Enable prepareforleap test
drroe Feb 17, 2022
c0cd426
Print warnings for atoms that will need charge modifications after leap.
drroe Feb 17, 2022
6163967
Print total charge after running leap
drroe Feb 17, 2022
7288606
Prepareforleap no longer hidden
drroe Feb 17, 2022
15601b5
Different way of dealing with alternate atom locations
drroe Feb 17, 2022
fe64c97
Add test with keepaltloc
drroe Feb 18, 2022
05a0ac3
Add highestocc keyword for keepaltloc
drroe Feb 18, 2022
19553dd
Start manual entry
drroe Feb 18, 2022
2d9e468
Change order in help text
drroe Feb 22, 2022
e742ed6
Change notermsearch to nosplitres to better describe what it does.
drroe Feb 22, 2022
910a38f
Finish initial manual entry for prepareforleap
drroe Feb 22, 2022
3522471
Add an example.
drroe Feb 22, 2022
fe61c4d
Hide some debug info
drroe Feb 22, 2022
6928ca4
Indicate that sugars with no linkages are likely missing atoms and are
drroe Feb 23, 2022
4e736f7
Merge branch 'master' into improve_prepareforleap
drroe Feb 23, 2022
f905527
Add usesugarname keyword
drroe Feb 24, 2022
cc40e91
Add usesugarname keyword to manual
drroe Feb 24, 2022
a5b91b0
Change usesugarname to determinesugarsby to make it a choice for the
drroe Feb 25, 2022
95a29b8
Merge branch 'master' into improve_prepareforleap
drroe Feb 28, 2022
c9baa46
Change 'form' to 'anomer type' for all output text
drroe Mar 1, 2022
fd82e23
Chirality -> configuration for output text
drroe Mar 1, 2022
e771c1a
Change form/chirality to anomer/config
drroe Mar 1, 2022
81b5708
Change form to anomer type and chirality to configuration in the manual.
drroe Mar 1, 2022
56f7479
6.4.0. Minor version increment for major enhancements and improvements
drroe Mar 1, 2022
fe5f462
Add placeholder citation. Fix formatting of help text.
drroe Mar 1, 2022
820b86e
If CPPTRAJHOME is not set, try to find where the map file is for
drroe Mar 1, 2022
d19b772
Use string for glycam code search in case residue names ever have mor…
drroe Mar 2, 2022
e9991c9
Remove old code
drroe Mar 2, 2022
fd1d10e
Since popen/pclose do not work on windows, disable leap interface for
drroe Mar 2, 2022
2aff325
Try to fix up some clang issues.
drroe Mar 2, 2022
4b8e517
Change to Anomer and Config
drroe Mar 2, 2022
05c5447
Generate code for the Exec_PrepareForLeap::SetGlycamPdbResMap routine.
drroe Mar 2, 2022
44a1eab
Update internal residue mapping
drroe Mar 2, 2022
22afa91
return should be inside the ifdef
drroe Mar 2, 2022
83a34cb
Add internal PDB to glycam atom name maps
drroe Mar 2, 2022
2d76462
Force use of internal map for at least one test
drroe Mar 2, 2022
8c02c71
Fix printf format
drroe Mar 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ LIB_FLAG[$LXDRFILE]='-lxdrfile'
LIB_STTC[$LXDRFILE]='libxdrfile.a'
LIB_D_ON[$LXDRFILE]=''
LIB_DOFF[$LXDRFILE]='-DNO_XDRFILE'
LIB_TYPE[$LXDRFILE]='ld'
LIB_TYPE[$LXDRFILE]='cpp'

LIB_STAT[$LSANDER]='amberopt'
LIB_CKEY[$LSANDER]='sanderlib'
Expand Down Expand Up @@ -367,7 +367,7 @@ LIB_FLAG[$LTNGFILE]='-ltng_io'
LIB_STTC[$LTNGFILE]='libtng_io.a'
LIB_D_ON[$LTNGFILE]='-DHAS_TNGFILE'
LIB_DOFF[$LTNGFILE]=''
LIB_TYPE[$LTNGFILE]='ld'
LIB_TYPE[$LTNGFILE]='cpp'

LIB_STAT[$LOPENMM]='off'
LIB_CKEY[$LOPENMM]='openmm'
Expand Down Expand Up @@ -2532,6 +2532,17 @@ fi
# Basic checks and directives
BasicChecks

# Create directories if necessary
if [ ! -e "$CPPTRAJBIN" ] ; then
mkdir "$CPPTRAJBIN"
fi
if [ ! -e "$CPPTRAJLIB" ] ; then
mkdir "$CPPTRAJLIB"
fi
if [ ! -e "$CPPTRAJDAT" ] ; then
mkdir "$CPPTRAJDAT"
fi

# Set up compilers and compiler options
SetupCompilers

Expand Down Expand Up @@ -2787,17 +2798,6 @@ if [ "${LIB_STAT[$LZIP]}" != 'off' ] ; then
echo "ZLIB_INCL=${LIB_INCL[$LZIP]}" >> $external_config
fi

# ----- Create directories if necessary ----------
if [ ! -e "$CPPTRAJBIN" ] ; then
mkdir "$CPPTRAJBIN"
fi
if [ ! -e "$CPPTRAJLIB" ] ; then
mkdir "$CPPTRAJLIB"
fi
if [ ! -e "$CPPTRAJDAT" ] ; then
mkdir "$CPPTRAJDAT"
fi

# ----- Create a resource file. ------------------
# If PERFORM_CHECKS is 'no' assume we are in AmberTools, no resource file needed.
RFILE=''
Expand Down
110 changes: 110 additions & 0 deletions dat/Carbohydrate_PDB_Glycam_Names.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# This file contains the mapping from common PDB names to Glycam residue codes.
# Information obtained from mining the PDB chemical database (components.cif).
# Last updated 11/12/21 12:05:19
#ResName GlycamCode Anomer Config RingType "Name"
64K A A D P "alpha-D-arabinopyranose"
AHR A A L F "alpha-L-arabinofuranose"
ARA A A L P "alpha-L-arabinopyranose"
ARB A B L P "beta-L-arabinopyranose"
AXR A A D F "methyl alpha-D-arabinofuranoside"
BXX A B D F "beta-D-arabinofuranose"
BXY A A D F "alpha-D-arabinofuranose"
FUB A B L F "beta-L-arabinofuranose"
SEJ A B D P "beta-D-arabinopyranose"
LDY D A D P "alpha-D-lyxopyranose"
Z4W D B D P "beta-D-lyxopyranose"
0MK R B L P "beta-L-ribopyranose"
32O R B L F "beta-L-ribofuranose"
BDR R B D F "beta-D-ribofuranose"
RIB R A D F "alpha-D-ribofuranose"
RIP R B D P "beta-D-ribopyranose"
YYM R A D P "alpha-D-ribopyranose"
Z6J R A L F "alpha-L-ribofuranose"
HSY X A L P "alpha-L-xylopyranose"
HSZ X B D P "beta-D-xylopyranose"
LXC X B L P "beta-L-xylopyranose"
XYP X B D P "beta-D-xylopyranose"
XYS X A D P "alpha-D-xylopyranose"
XYZ X B D F "beta-D-xylofuranose"
AFD N A D P "alpha-D-allopyranose"
ALL N B D P "beta-D-allopyranose"
VDS N B D F "beta-D-allofuranose"
VDV N A D F "alpha-D-allofuranose"
WOO N B L P "beta-L-allopyranose"
Z2D N A L P "alpha-L-allopyranose"
3MK E B L P "beta-L-altropyranose"
SHD E A D P "alpha-D-altropyranose"
Z6H E A L P "alpha-L-altropyranose"
GAL L B D P "beta-D-galactopyranose"
GIV L B L P "beta-L-galactopyranose"
GLA L A D P "alpha-D-galactopyranose"
GXL L A L P "alpha-L-galactopyranose"
GZL L B D F "beta-D-galactofuranose"
BGC G B D P "beta-D-glucopyranose"
GLC G A D P "alpha-D-glucopyranose"
GU4 G A D P "2,3,4,6-tetra-O-sulfonato-alpha-D-glucopyranose"
MGL G B D P "methyl beta-D-glucopyranoside"
Z8T G B L P "beta-L-glucopyranose"
4GL K A D P "alpha-D-gulopyranose"
GL0 K B D P "beta-D-gulopyranose"
GUP K A L P "alpha-L-gulopyranose"
Z8H K B L P "beta-L-gulopyranose"
BMA M B D P "beta-D-mannopyranose"
MAN M A D P "alpha-D-mannopyranose"
A5C T A L F "alpha-L-talofuranose"
SDY T B D P "beta-D-talopyranose"
ZEE T B L P "beta-L-talopyranose"
BDF C B D P "beta-D-fructopyranose"
FRU C B D F "beta-D-fructofuranose"
LFR C B L F "beta-L-fructofuranose"
YYJ C B D F "1,3,4,6-tetra-O-sulfo-beta-D-fructofuranose"
Z9N C A D F "alpha-D-fructofuranose"
PSV P A D F "alpha-D-psicofuranose"
SF6 P A L F "alpha-L-psicofuranose"
SF9 P B L F "beta-L-psicofuranose"
TTV P B D F "beta-D-psicofuranose"
SOE B A L P "alpha-L-sorbopyranose"
UEA B B D F "beta-D-sorbofuranose"
T6T J A D P "alpha-D-tagatopyranose"
FCA F A D P "alpha-D-fucopyranose"
FCB F B D P "beta-D-fucopyranose"
FUC F A L P "alpha-L-fucopyranose"
FUL F B L P "beta-L-fucopyranose"
GYE F B D F "beta-D-fucofuranose"
MXY F B L P "2-O-methyl-beta-L-fucopyranose"
MXZ F A L P "2-O-methyl-alpha-L-fucopyranose"
G6D Q A D P "alpha-D-quinovopyranose"
YYK Q B D P "beta-D-quinovopyranose"
RAM H A L P "alpha-L-rhamnopyranose"
RM4 H B L P "beta-L-rhamnopyranose"
XXR H A D P "alpha-D-rhamnopyranose"
ADA O A D P "alpha-D-galactopyranuronic acid"
GTR O B D P "beta-D-galactopyranuronic acid"
BDP Z B D P "beta-D-glucopyranuronic acid"
GCU Z A D P "alpha-D-glucopyranuronic acid"
GCV Z A D P "4-O-methyl-alpha-D-glucopyranuronic acid"
IDR U A L P "alpha-L-idopyranuronic acid"
IDS U A L P "2-O-sulfo-alpha-L-idopyranuronic acid"
A2G V A D P "2-acetamido-2-deoxy-alpha-D-galactopyranose"
ASG V B D P "2-acetamido-2-deoxy-4-O-sulfo-beta-D-galactopyranose"
NG6 V B D P "2-acetamido-2-deoxy-6-O-sulfo-beta-D-galactopyranose"
NGA V B D P "2-acetamido-2-deoxy-beta-D-galactopyranose"
YYQ V A L P "2-acetamido-2-deoxy-alpha-L-galactopyranose"
NAG Y B D P "2-acetamido-2-deoxy-beta-D-glucopyranose"
NDG Y A D P "2-acetamido-2-deoxy-alpha-D-glucopyranose"
NGZ Y A L P "2-acetamido-2-deoxy-alpha-L-glucopyranose"
BM3 W A D P "2-acetamido-2-deoxy-alpha-D-mannopyranose"
BM7 W B D P "2-acetamido-2-deoxy-beta-D-mannopyranose"
SIA S A D P "N-acetyl-alpha-neuraminic acid"
SLB S B D P "N-acetyl-beta-neuraminic acid"

# PDB to glycam atom name maps
V,W,Y C7,C2N O7,O2N C8,CME
S C10,C5N O10,O5N C11,CME
H C6,C6M,B

# PDB to glycam linkage residue name maps
SER OLS
THR OLT
HYP OLP
ASN NLN
68 changes: 68 additions & 0 deletions dat/GlycamCodes.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
Abbreviation,Name,PDB,Glycam
Ara,Arabinose,64K ARA SEJ ARB BXY AHR BXX FUB AXR,A
Lyx,Lyxose,LDY Z4W,D
Rib,Ribose,YYM RIP 0MK RIB Z6J BDR 32O,R
Xyl,Xylose,XYS HSY HSZ XYP LXC XYZ,X
All,Allose,AFD Z2D ALL WOO VDV VDS,N
Alt,Altrose,SHD Z6H 3MK,E
Gal,Galactose,GLA GXL GAL GIV GZL,L
Glc,Glucose,GLC BGC Z8T GU4,G
Gul,Gulose,4GL GUP GL0 Z8H,K
Ido,Idose,ZCD Z0F 4N2,.
Man,Mannose,MAN BMA,M
Tal,Talose,SDY ZEE A5C,T
Fru,Fructose,BDF Z9N FRU LFR YYJ,C
Psi,Psicose,PSV SF6 TTV SF9,P
Sor,Sorbose,SOE UEA,B
Tag,Tagatose,T6T,J
Fuc,Fucose,FCA FUC FCB FUL GYE MXY MXZ,F
Qui,Quinovose,G6D YYK,Q
Rha,Rhamnose,XXR RAM RM4,H
GalA,Galacturonic Acid,ADA GTR,O
GlcA,Glucuronic Acid,GCU BDP GCV,Z
IdoA,Iduronic Acid,IDR IDS,U
GalNAc,N-Acetyl Galactosamine,A2G YYQ NGA NG6 ASG,V
GlcNAc,N-Acetyl Glucosamine,NDG NGZ NAG,Y
ManNAc,N-Acetyl Mannosamine,BM3 BM7,W
Neu5Ac,N-Acetyl Neuraminic Acid,SIA SLB,S
GlcN,Glucosamine,GCS,.
QuiNAc,N-Acetyl Quinovosamine,.,.
Oli,Olivose,OLI,.
ManN,Mannosamine,.,.
ManA,Mannuronic Acid,MAV BEM,.
RhaNAc,N-Acetyl Rhamnosamine,.,.
Tyv,Tyvelose,TYV,.
GalN,Galactosamine,.,.
GulNAc,N-Acetyl Gulosamine,.,.
GulN,Gulosamine,.,.
GulA,Guluronic Acid,LGU,.
AltNAc,N-Acetyl Altrosamine,.,.
AltN,Altrosamine,.,.
AltA,Altruronic Acid,.,.
6dAlt,6-Deoxy Altrose,.,.
AllNAc,N-Acetyl Allosamine,.,.
AllN,Allosamine,.,.
AllA,Alluronic Acid,.,.
TalNAc,N-Acetyl Talosamine,.,.
TalN,Talosamine,.,.
TalA,Taluronic Acid,.,.
6dTal,6-Deoxy Talose,.,.
IdoNAc,N-Acetyl Idosamine,.,.
IdoN,Idosamine,.,.
FucNAc,N-Acetyl Fucosamine,.,.
Abe,Abequose,ABE,.
Par,Paratose,PAR,.
Dig,Digitoxose,DIG,.
Col,Colitose,COL,.
Bac,Bacillosamine,BAC,.
Api,Apicose,API,.
Dha,3-Deoxy Lyxo-Heptulosaric Acid,DHA,.
Kdn,Keto-Deoxy Nonulonic Acid,KDN,.
Kdo,Keto-Deoxy Octulonic Acid,KDO,.
Neu,Neuraminic Acid,NEU,.
Neu5Gc,N-Glycolyl Neuraminic Acid,.,.
Mur,Muramic Acid,MUR,.
MurNAc,N-Acetyl Muramic Acid,.,.
MurNGc,N-Glycolyl Muramic Acid,.,.
LDManHep,L-Glycero-D-Manno Heptose,GMH,.
DDManHep,D-Glycero-D-Manno-Heptose,.,.
42 changes: 42 additions & 0 deletions dat/PDB_ResidueNames.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# A list of PDB residue names that Amber FFs will recognize.
# Protein
ACE
ALA
ARG
ASH
ASN
ASP
CYM
CYS
CYX
GLH
GLN
GLU
GLY
HIE
HIP
HIS
HYP
ILE
LEU
LYN
LYS
MET
NME
PHE
PRO
SER
THR
TRP
TYR
VAL
# DNA
DA
DC
DG
DT
# RNA
A
C
G
U
95 changes: 95 additions & 0 deletions dat/ResNames.sugar.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
0MK R
32O R
3MK E
4GL K
64K A
A2G V
A5C T
ADA O
AFD N
AHR A
ALL N
ARA A
ARB A
ASG V
AXR A
BDF C
BDP Z
BDR R
BGC G
BM3 W
BM7 W
BMA M
BXX A
BXY A
FCA F
FCB F
FRU C
FUB A
FUC F
FUL F
G6D Q
GAL L
GCU Z
GCV Z
GIV L
GL0 K
GLA L
GLC G
GTR O
GU4 G
GUP K
GXL L
GYE F
GZL L
HSY X
HSZ X
IDR U
IDS U
LDY D
LFR C
LXC X
MAN M
MGL G
MXY F
MXZ F
NAG Y
NDG Y
NG6 V
NGA V
NGZ Y
PSV P
RAM H
RIB R
RIP R
RM4 H
SDY T
SEJ A
SF6 P
SF9 P
SHD E
SIA S
SLB S
SOE B
T6T J
TTV P
UEA B
VDS N
VDV N
WOO N
XXR H
XYP X
XYS X
XYZ X
YYJ C
YYK Q
YYM R
YYQ V
Z2D N
Z4W D
Z6H E
Z6J R
Z8H K
Z8T G
Z9N C
ZEE T
26 changes: 26 additions & 0 deletions devtools/converters/glycam.csv.to.dat/GlycamNames.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This file contains sugar names mapped to glycam codes.
"Arabinose" A
"Lyxose" D
"Ribose" R
"Xylose" X
"Allose" N
"Altrose" E
"Galactose" L
"Glucose" G
"Gulose" K
"Mannose" M
"Talose" T
"Fructose" C
"Psicose" P
"Sorbose" B
"Tagatose" J
"Fucose" F
"Quinovose" Q
"Rhamnose" H
"Galacturonic Acid" O
"Glucuronic Acid" Z
"Iduronic Acid" U
"N-Acetyl Galactosamine" V
"N-Acetyl Glucosamine" Y
"N-Acetyl Mannosamine" W
"N-Acetyl Neuraminic Acid" S
Loading