24 Commits

Author SHA1 Message Date
3e07402f4e feat(numbering): publish canonical numbering API
Add a public numbering module and route fragmenting, validation,
and scaffold preparation through the canonical numbering entry.

Rewrite the repository entry docs around the fixed numbering
contract, add MkDocs landing pages, and document the mirror
mapping used for medicinal-chemistry comparisons.

Also refresh the validation analysis reports to explain the
canonical-versus-mirrored numbering relationship.
2026-03-20 15:14:31 +08:00
8071a141ee feat(validation): archive key result assets
Keep key validation outputs and analysis tables tracked directly,
package analysis plot PNGs into a small tar.gz backup, and add
analysis scripts plus tests so the stored results remain
reproducible without flooding git with large image trees.
2026-03-19 21:34:27 +08:00
f6bf9e85a3 chore(validation-output): add gt3 fragment export
Track refreshed validation outputs and add a filtered fragment
library export that retains only side-chain fragments with more
than 3 heavy atoms.
2026-03-19 21:20:56 +08:00
46a438dd36 feat(validation): enforce single-anchor fragments
- skip fused/shared/multi-anchor side systems during extraction
- add fragment library schema and fragment_library.csv export
- make scaffold prep strict for non-spliceable positions
2026-03-19 14:20:32 +08:00
07ba27be2b docs: add MacrolactoneDB validation module usage to README 2026-03-19 12:20:12 +08:00
f43f0520ce chore: remove validation_output and add to gitignore 2026-03-19 11:45:02 +08:00
bb42044faf refactor(validation): use ml_id as primary ID, add chembl_id field 2026-03-19 11:44:56 +08:00
360cbc487e feat(data): add MacrolactoneDB data directory with ml_id column
- Add MacrolactoneDB filtered datasets
- Add ring12_20 and ring16 subdirectories with processed data
- Add ml_id column as unique identifier (ML00000001 format)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 11:43:45 +08:00
13dd336e37 fix(validation): handle exceptions in sampling and processing 2026-03-19 10:33:10 +08:00
a9052bbf89 feat(validation): export validation module from package 2026-03-19 10:32:05 +08:00
dc2812842e feat(validation): add CLI entry point script 2026-03-19 10:31:38 +08:00
e3c08ad8c0 feat(validation): add main validator class 2026-03-19 10:31:08 +08:00
4e869bb693 feat(validation): add visualization output module 2026-03-19 10:29:13 +08:00
1e36e52112 feat(validation): add stratified sampling by ring size 2026-03-19 10:28:38 +08:00
2e3b52d049 feat(validation): add isotope tagging utilities 2026-03-19 10:28:03 +08:00
d18133ce16 feat(validation): add SQLModel database models and fix relationships 2026-03-19 10:27:20 +08:00
d0cdf50ed5 feat(validation): add SQLModel database models 2026-03-19 10:23:47 +08:00
c0ead42384 feat(toolkit): add classification and migration
Implement the standard/non-standard/not-macrolactone classification layer
and integrate it into analyzer, fragmenter, and CLI outputs.

Port the remaining legacy package capabilities into new visualization and
workflow modules, restore batch/statistics/SDF scripts on top of the flat
CSV workflow, and update active docs to the new package API.
2026-03-18 23:56:41 +08:00
9ccbcfcd04 chore(repo): ignore project worktrees 2026-03-18 23:35:56 +08:00
5e7b236f31 feat(toolkit): ship macro_lactone_toolkit package
Unify macrolactone detection, numbering, fragmentation, and
splicing under the installable macro_lactone_toolkit package.

- replace legacy src.* modules with the new package layout
- add analyze/number/fragment CLI entrypoints and pixi tasks
- migrate tests, README, and scripts to the new package API
2026-03-18 22:06:45 +08:00
a768d26e47 Move project docs to docs/project-docs and update references
- Move AGENTS.md, CLEANUP_SUMMARY.md, DOCUMENTATION_GUIDE.md,
  IMPLEMENTATION_SUMMARY.md, QUICK_COMMANDS.md to docs/project-docs/
- Update AGENTS.md to include splicing module documentation
- Update mkdocs.yml navigation to include project-docs section
- Update .gitignore to track docs/ directory
- Add docs/plans/ splicing design documents

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 17:56:03 +08:00
68f171ad1d Add splicing module and related tests
- Add src/splicing/ module with scaffold_prep, fragment_prep, and engine
- Add tylosin_splicer.py entry script
- Add unit tests for splicing components

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 17:47:00 +08:00
0ced0fa816 Add AGENTS.md and ring numbering test
- Add AGENTS.md with AI assistant guidelines for the project
- Add tests/test_ring_numbering.py to verify ring numbering consistency
- Test confirms atom numbering is fixed and reproducible

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-23 09:53:27 +08:00
0d99f7d12c first add 2025-11-14 20:34:58 +08:00