Logo
latest

Links

  • Go back to ioChem-BD central

User guide

  • Create module walktrough
  • Uploading content into Create
  • Publish a dataset into Browse
  • Generating reports
  • Video tutorials

Installation guide

  • System requirements
  • Steps prior installation
  • Installation procedure
  • Creating users and groups
  • Publishing endpoints definition
  • Post-installation steps
  • Advanced system configuration

FAQ

  • General usage
  • Administration
  • Errors

Data conversion

  • How to use this help?
  • From chemical codes to CML
    • ADF
    • Amber
      • control
      • averages
      • results
      • timing
      • header
      • input.file
      • gpuinfo
      • amber.parm
      • amber.nctraj
    • Gaussian
    • GROMACS
    • GronOR
    • LAMMPS
    • MOLCAS
    • MOPAC
    • Orca
    • QuantumEspresso
    • Turbomole
    • VASP
  • From CML to HTML5 report
  • Conversion test dataset
ioChem-BD
  • Docs »
  • From chemical codes to CML »
  • Amber »
  • header
  • Edit on GitHub

header¶

Implementation level¶
Type Status
CML extraction template image1
HTML5 representation image2
Template attributes¶
Attribute Value
source Amber log
id header
name Amber header
pattern \s*-{20,}.*$\s*Amber.*$\s*-{20,}.*
endPattern \s*\|\s*Run\son.*
endOffset 1
xml:base header.xml
Input
          -------------------------------------------------------
          Amber 18 PMEMD                              2018
          -------------------------------------------------------

| PMEMD implementation of SANDER, Release 18

| Run on 02/11/2021 at 12:01:11
Output text
<comment class="example.output" id="header">
        <module cmlx:templateRef="header">
           <scalar dataType="xsd:string" dictRef="cc:program">Amber</scalar>
           <scalar dataType="xsd:string" dictRef="cc:programVersion">18</scalar>
           <scalar dataType="xsd:date" dictRef="cc:runDate">2021-11-16T11:14:57.000</scalar>
        </module>
    </comment>
Template definition
<record />
<record>\s*{A,cc:program}{A,cc:programVersion}.*</record>
<templateList>  <template id="rundate" pattern="\s*\|\s*Run\son.*" enPattern=".*" endPattern2="~">    <record>\s*\|\s*Run\son{X,cc:runDate}</record>
        </template>
    </templateList>
<transform process="createDate" xpath=".//cml:scalar[@dictRef='cc:runDate']" format="MM/dd/yyyy 'at' HH:mm:ss" />
<transform process="pullup" xpath=".//cml:scalar" repeat="2" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />
<transform process="delete" xpath=".//cml:molecule[count(*)=0]" />
Next Previous

© Copyright 2022, ioChem-BD software Revision e3405a5c.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
Downloads
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.