diff --git a/.github/workflows/merge-gate.yml b/.github/workflows/merge-gate.yml index e707ce0eef..9260adea1e 100644 --- a/.github/workflows/merge-gate.yml +++ b/.github/workflows/merge-gate.yml @@ -83,7 +83,7 @@ jobs: make install cd .. export PATH=$HOME/bin:$PATH - export LD_LIBRARY_PATH=$HOME/lib:$PATH + export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH export DO_PARALLEL="mpirun -n 2" if [ $USE_OPENMP = "yes" ]; then export OMP_NUM_THREADS=1 diff --git a/configure b/configure index b635608b99..38282377c9 100755 --- a/configure +++ b/configure @@ -2342,10 +2342,7 @@ EOF CXXFLAGS="$CXXFLAGS -DMPICH_IGNORE_CXX_SEEK" fi fi - # ----- Mac OSX -------------------------------- - if [ "$PLATFORM" = 'Darwin' ] ; then - SHARED_SUFFIX='.dylib' - if [ "$COMPILERS" = 'clang' ] ; then + if [ "$COMPILERS" = 'clang' ] ; then # On OSX with clang, some libraries may be built with libstdc++ and will # fail to link without this flag. cat > testp.cpp < + @@ -3912,7 +3917,7 @@ Used for cluster analysis. - + \begin_inset Text \begin_layout Plain Layout @@ -3921,7 +3926,7 @@ NetCDF Data \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -3930,7 +3935,7 @@ NetCDF Data \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -3939,7 +3944,7 @@ netcdf \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -3948,13 +3953,107 @@ All data \end_inset - + \begin_inset Text \begin_layout Plain Layout Only state info saved for pH data. \end_layout +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +Amber Prep File +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +.prepin +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +prepin +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +COORDS +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Read Only +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +Amber OFF Library File +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +.off, .lib +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +off,lib +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +COORDS +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Read Only +\end_layout + \end_inset @@ -6253,7 +6352,7 @@ The following COORDS data set commands are available: \begin_layout Standard \align center \begin_inset Tabular - + @@ -6585,7 +6684,27 @@ Rotate specified dihedral to specified value or by given increment. - + +\begin_inset Text + +\begin_layout Plain Layout +sequence +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Create a new molecule from a sequence of COORDS sets. +\end_layout + +\end_inset + + + + \begin_inset Text \begin_layout Plain Layout @@ -6594,13 +6713,34 @@ splitcoords \end_inset - + \begin_inset Text \begin_layout Plain Layout Split molecules in a COORDS set into a trajectory. \end_layout +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +zmatrix +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Apply Z-matrix to a COORDS set or calculate Z-matrix for a molecule/frame + in a COORDS set. +\end_layout + \end_inset @@ -7487,19 +7627,17 @@ graft \end_layout \begin_layout LyX-Code -graft src [srcframe <#>] [srcfitmask ] [srcmask ] +graft src [srcframe <#>] [srcmask [srccharge ]] \end_layout \begin_layout LyX-Code - srccharge -\end_layout - -\begin_layout LyX-Code - tgt [tgtframe <#>] [tgtfitmask ] [tgtmask ] + tgt [tgtframe <#>] [tgtmask [tgtcharge ] +] \end_layout \begin_layout LyX-Code - tgtcharge + {ic | [srcfitmask ] [tgtfitmask ]} \end_layout \begin_layout LyX-Code @@ -7527,14 +7665,6 @@ COORDS> Source coordinates. <#>] Frame # from source coordinates to use (default 1). \end_layout -\begin_layout Description -[srcfitmask -\begin_inset space ~ -\end_inset - -] Atoms from source to use if RMS-fitting source onto target. -\end_layout - \begin_layout Description [srcmask \begin_inset space ~ @@ -7543,6 +7673,7 @@ COORDS> Source coordinates. ] Atoms to keep from source (default all). \end_layout +\begin_deeper \begin_layout Description [srccharge \begin_inset space ~ @@ -7552,6 +7683,7 @@ COORDS> Source coordinates. atoms equals via scaling. \end_layout +\end_deeper \begin_layout Description tgt \begin_inset space ~ @@ -7573,28 +7705,42 @@ COORDS> Target coordinates that will be grafted onto. \end_layout \begin_layout Description -[tgtfitmask +[tgtmask \begin_inset space ~ \end_inset -] Atoms from target to use if RMS-fitting source onto target. +] Atoms to keep from target (default all). \end_layout +\begin_deeper \begin_layout Description -[tgtmask +[tgtcharge \begin_inset space ~ \end_inset -] Atoms to keep from target (default all). +] If trimming atoms from target, ensure sum of charges on remaining + atoms equals via scaling. \end_layout +\end_deeper \begin_layout Description -[tgtcharge +[ic] Connect source and target using internal coordinates. +\end_layout + +\begin_layout Description +[srcfitmask \begin_inset space ~ \end_inset -] If trimming atoms from target, ensure sum of charges on remaining - atoms equals via scaling. +] Atoms from source to use if RMS-fitting source onto target. +\end_layout + +\begin_layout Description +[tgtfitmask +\begin_inset space ~ +\end_inset + +] Atoms from target to use if RMS-fitting source onto target. \end_layout \begin_layout Description @@ -7616,7 +7762,8 @@ COORDS> Name of output COORDS set containing source grafted onto target. ,] Create a bond between target atom selected by and source atoms selected by in the final structure. - May be specified multiple times. + Must be specified only once if connecting via internal coordinates, otherwise + may be specified multiple times. \end_layout \end_deeper @@ -7647,6 +7794,8 @@ bond \series default keyword can be used to create bonds between target and source in the final structure. + If using internal coordinates to connect the units, exactly one bond must + be specified. \end_layout \begin_layout Subsection @@ -8834,6 +8983,147 @@ rotatedihedral crdset TZ2 value 35 res 8 type chip crdout TZ2 tz2.rotate.1.mol2 \end_layout +\begin_layout Subsection +sequence +\begin_inset CommandInset label +LatexCommand label +name "subsec:cpptraj-sequence" + +\end_inset + + +\end_layout + +\begin_layout LyX-Code +sequence name ... +\end_layout + +\begin_layout LyX-Code + [{libset } ...] +\end_layout + +\begin_deeper +\begin_layout Description +name +\begin_inset space ~ +\end_inset + + Name of final molecule. +\end_layout + +\begin_layout Description + +\begin_inset space ~ +\end_inset + + Name of COORDS set (with connection info). +\end_layout + +\begin_layout Description +[{libset +\begin_inset space ~ +\end_inset + +} +\begin_inset space ~ +\end_inset + +...} One or more set name prefixes of data sets (libraries) containing units. +\end_layout + +\begin_layout Standard +Data sets created: +\end_layout + +\begin_layout Description + COORDS set containing final molecule. +\end_layout + +\end_deeper +\begin_layout Standard +Connect units in different COORDS sets together to form a single molecule. + Internal coordinates are used to try to determine the correct geometry + around connection sites. + The COORDS sets must have connection information set, either from reading + in an Amber OFF library file or set manually via +\series bold +\emph on +dataset +\series default +\emph default + +\series bold +connect +\series default + (see +\begin_inset CommandInset ref +LatexCommand vref +reference "subsec:cpptraj-datasetcmd" +plural "false" +caps "false" +noprefix "false" + +\end_inset + +). +\end_layout + +\begin_layout Standard +For example, the following reads in two Mol2 files as COORDS sets, sets + up connection atoms, then creates a molecule via +\series bold +\emph on +sequence: +\end_layout + +\begin_layout LyX-Code +parm MOC.mol2 +\end_layout + +\begin_layout LyX-Code +loadcrd MOC.mol2 parm MOC.mol2 name MOC +\end_layout + +\begin_layout LyX-Code +dataset connect MOC tailmask @O5 +\end_layout + +\begin_layout LyX-Code +parm CNALA.mol2 +\end_layout + +\begin_layout LyX-Code +loadcrd CNALA.mol2 parm CNALA.mol2 name CNALA +\end_layout + +\begin_layout LyX-Code +dataset connect CNALA headmask @N +\end_layout + +\begin_layout LyX-Code +sequence MOC CNALA name Mol +\end_layout + +\begin_layout LyX-Code +crdout Mol Mol.mol2 +\end_layout + \begin_layout Subsection splitcoords \end_layout @@ -8887,6 +9177,141 @@ Set0 splitcoords Set0 name Set0Split \end_layout +\begin_layout Subsection +zmatrix +\end_layout + +\begin_layout LyX-Code +zmatrix [name ] +\end_layout + +\begin_layout LyX-Code + { zset [parm |parmindex <#>] | +\end_layout + +\begin_layout LyX-Code + [molnum ] [frame ] [out ] } +\end_layout + +\begin_deeper +\begin_layout Description + COORDS set to calculate Z-matrix from or use as topology for applied + Z-matrix. +\end_layout + +\begin_layout Description +[name +\begin_inset space ~ +\end_inset + +] Name of output COORDS set (if 'zset') or output Z-matrix set. +\end_layout + +\begin_layout Description +zset +\begin_inset space ~ +\end_inset + + Name of Z-matrix set to use to generate coordinates. +\end_layout + +\begin_deeper +\begin_layout Description +parm +\begin_inset space ~ +\end_inset + + Use specified topology name as topology for generated coordinates. +\end_layout + +\begin_layout Description +parmindex +\begin_inset space ~ +\end_inset + +<#> Use topology index as topology for generated coordinates. +\end_layout + +\end_deeper +\begin_layout Description +[molnum +\begin_inset space ~ +\end_inset + +] Calculate Z-matrix from specified molecule (default first molecule). +\end_layout + +\begin_layout Description +[frame +\begin_inset space ~ +\end_inset + +] Calculate Z-matrix from specified molecule in specified frame + (default first frame). +\end_layout + +\begin_layout Description +[out +\begin_inset space ~ +\end_inset + +] File to write calculated Z-matrix to. +\end_layout + +\begin_layout Standard +Data sets created: +\end_layout + +\begin_layout Description + If 'zset', COORDS set containing final coordinates. + Otherwise contains Z-matrix data. +\end_layout + +\end_deeper +\begin_layout Standard +Command for working with Z-matrices. + If 'zset' is specified, generate coordinates from the specified Z-matrix + data set and topology. + Otherwise, calculate a Z-matrix for a single molecule from the specified + frame of given COORDS data set. +\end_layout + \begin_layout Section General Commands \end_layout @@ -10073,6 +10498,13 @@ reference "subsec:cpptraj-filter" \begin_layout Subsection dataset +\begin_inset CommandInset label +LatexCommand label +name "subsec:cpptraj-datasetcmd" + +\end_inset + + \end_layout \begin_layout LyX-Code @@ -10111,6 +10543,11 @@ dataset { legend | | \end_layout +\begin_layout LyX-Code + connect {[head ] [tail ]|[headmask ] + [tailmask ]} +\end_layout + \begin_layout LyX-Code dim {xdim|ydim|zdim|ndim <#>} [label