Files
paperspec/fixtures/src/smithlab2027charges.json
T
alexmandClaude 3ab96d653f feat: structure and sequence annotation bodies; paperspec.structures and paperspec.sequences
Chemical structures (spec/18 section 18.6) and biological sequences (18.7) tied to
the words of a paper. Minor change: two new body kinds, optional properties and
seven rules, with no valid file made invalid.

- annotation schema: structure (SMILES or SMARTS, role, identity, written, label,
  accessions, force-field terms) and sequence (alphabet, role, identity, start,
  organism, regions, variants); body_kind in sql/store.sql; nine terms in the
  JSON-LD context; rules layer.structure.{value,identity,term} and
  layer.sequence.{value,identity,region,variant}.
- paperspec.structures reads the atoms and bonds of a SMILES or SMARTS with the
  standard library, so a term's atoms are checked without a toolkit; checked against
  RDKit on a corpus and random texts. paperspec.sequences checks alphabets,
  identities, regions and variants.
- fixtures/records/chemistry (on the main example) and biology (on the draft, which
  gains a last sentence), vectors/structures.jsonl and vectors/sequences.jsonl;
  check.py runs both layers and the vectors; counts, guides and CHANGELOG updated.
- the prose check no longer takes organism for a UK spelling.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B8cL4zN4XpaQF5cBtASzfq
2026-10-18 15:38:31 -04:00

37 lines
2.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"comment": "A short synthetic Typst draft that cites sentences of hale2026harmonic by address. Text written for this fixture; CC0-1.0.",
"document": {
"store": "smithlab",
"kind": "draft",
"work": {"same_as": []},
"version": {"type": "draft", "seq": 3},
"relations": [],
"meta": {"type": "report", "title": "Fixed charges in biomolecular force fields", "author": [{"family": "Writer", "given": "A."}], "issued": {"date-parts": [[2027]]}},
"language": "en",
"license": {"spdx": "CC-BY-4.0"},
"policy": "full"
},
"tree": {"kind": "document", "children": [
{"kind": "front", "children": [
{"kind": "title", "children": [{"s": ["Fixed charges in biomolecular force fields"], "fidelity": "F2"}]},
{"kind": "authors", "runs": ["A. Writer"], "fidelity": "F2"}
]},
{"kind": "section", "label": "1", "level": 1, "title": "Introduction", "children": [
{"p": [
{"name": "@d1", "s": ["The bond term is harmonic in the bond length."], "fidelity": "F2"},
{"name": "@d2", "s": ["Its constants come from a two-step fit ", {"xref": "ext:hale2026harmonic:@s5", "text": "(Hale and Osei, Table 1)"}, ".", {"cite": ["@dr1"], "text": "1"}], "fidelity": "F2"},
{"name": "@d3", "s": ["In that fit the energy is ", {"t": "E = K_r (r - r_\"eq\")^2"}, ", up to a constant factor."], "fidelity": "F2"},
{"name": "@d4", "s": ["We test the charges on the villin headpiece subdomain HP35, LSDEDFKAVFGMTRSAFANLPLWKQQNLKKEKGLF, and on its N68H variant."], "fidelity": "F2"}
]}
]},
{"kind": "back", "children": [
{"kind": "references", "children": [
{"kind": "reference", "name": "@dr1", "label": "1", "runs": ["1. R. Hale and M. Osei, J. Example Chem. 2026, 14, 101–109."], "fidelity": "F2",
"csl": {"type": "article-journal", "author": [{"family": "Hale", "given": "R."}, {"family": "Osei", "given": "M."}], "container-title": "J. Example Chem.", "volume": "14", "page": "101-109", "issued": {"date-parts": [[2026]]}, "DOI": "10.5555/example.hale.2026"},
"resolution": {"type": "document", "doc": "ext:hale2026harmonic"}}
]}
]}
]},
"typst": {"sha_seed": "smithlab2027charges: Typst project, revision 3 (synthetic)", "size": 4211}
}