boltz-vsynthes 1.0.4__tar.gz → 1.0.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. {boltz_vsynthes-1.0.4/src/boltz_vsynthes.egg-info → boltz_vsynthes-1.0.5}/PKG-INFO +1 -1
  2. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/pyproject.toml +1 -1
  3. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/main.py +47 -23
  4. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5/src/boltz_vsynthes.egg-info}/PKG-INFO +1 -1
  5. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/LICENSE +0 -0
  6. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/README.md +0 -0
  7. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/setup.cfg +0 -0
  8. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/__init__.py +0 -0
  9. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/__init__.py +0 -0
  10. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/const.py +0 -0
  11. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/crop/__init__.py +0 -0
  12. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/crop/affinity.py +0 -0
  13. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/crop/boltz.py +0 -0
  14. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/crop/cropper.py +0 -0
  15. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/feature/__init__.py +0 -0
  16. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/feature/featurizer.py +0 -0
  17. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/feature/featurizerv2.py +0 -0
  18. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/feature/symmetry.py +0 -0
  19. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/filter/__init__.py +0 -0
  20. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/filter/dynamic/__init__.py +0 -0
  21. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/filter/dynamic/date.py +0 -0
  22. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/filter/dynamic/filter.py +0 -0
  23. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/filter/dynamic/max_residues.py +0 -0
  24. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/filter/dynamic/resolution.py +0 -0
  25. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/filter/dynamic/size.py +0 -0
  26. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/filter/dynamic/subset.py +0 -0
  27. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/filter/static/__init__.py +0 -0
  28. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/filter/static/filter.py +0 -0
  29. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/filter/static/ligand.py +0 -0
  30. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/filter/static/polymer.py +0 -0
  31. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/module/__init__.py +0 -0
  32. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/module/inference.py +0 -0
  33. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/module/inferencev2.py +0 -0
  34. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/module/training.py +0 -0
  35. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/module/trainingv2.py +0 -0
  36. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/mol.py +0 -0
  37. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/msa/__init__.py +0 -0
  38. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/msa/mmseqs2.py +0 -0
  39. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/pad.py +0 -0
  40. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/parse/__init__.py +0 -0
  41. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/parse/a3m.py +0 -0
  42. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/parse/csv.py +0 -0
  43. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/parse/fasta.py +0 -0
  44. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/parse/mmcif.py +0 -0
  45. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/parse/mmcif_with_constraints.py +0 -0
  46. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/parse/schema.py +0 -0
  47. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/parse/yaml.py +0 -0
  48. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/sample/__init__.py +0 -0
  49. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/sample/cluster.py +0 -0
  50. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/sample/distillation.py +0 -0
  51. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/sample/random.py +0 -0
  52. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/sample/sampler.py +0 -0
  53. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/tokenize/__init__.py +0 -0
  54. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/tokenize/boltz.py +0 -0
  55. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/tokenize/boltz2.py +0 -0
  56. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/tokenize/tokenizer.py +0 -0
  57. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/types.py +0 -0
  58. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/write/__init__.py +0 -0
  59. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/write/mmcif.py +0 -0
  60. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/write/pdb.py +0 -0
  61. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/write/utils.py +0 -0
  62. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/data/write/writer.py +0 -0
  63. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/__init__.py +0 -0
  64. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/__init__.py +0 -0
  65. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/attention.py +0 -0
  66. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/attentionv2.py +0 -0
  67. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/confidence_utils.py +0 -0
  68. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/dropout.py +0 -0
  69. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/initialize.py +0 -0
  70. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/outer_product_mean.py +0 -0
  71. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/pair_averaging.py +0 -0
  72. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/pairformer.py +0 -0
  73. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/relative.py +0 -0
  74. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/transition.py +0 -0
  75. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/triangular_attention/__init__.py +0 -0
  76. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/triangular_attention/attention.py +0 -0
  77. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/triangular_attention/primitives.py +0 -0
  78. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/triangular_attention/utils.py +0 -0
  79. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/layers/triangular_mult.py +0 -0
  80. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/loss/__init__.py +0 -0
  81. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/loss/bfactor.py +0 -0
  82. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/loss/confidence.py +0 -0
  83. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/loss/confidencev2.py +0 -0
  84. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/loss/diffusion.py +0 -0
  85. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/loss/diffusionv2.py +0 -0
  86. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/loss/distogram.py +0 -0
  87. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/loss/distogramv2.py +0 -0
  88. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/loss/validation.py +0 -0
  89. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/models/__init__.py +0 -0
  90. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/models/boltz1.py +0 -0
  91. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/models/boltz2.py +0 -0
  92. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/__init__.py +0 -0
  93. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/affinity.py +0 -0
  94. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/confidence.py +0 -0
  95. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/confidence_utils.py +0 -0
  96. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/confidencev2.py +0 -0
  97. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/diffusion.py +0 -0
  98. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/diffusion_conditioning.py +0 -0
  99. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/diffusionv2.py +0 -0
  100. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/encoders.py +0 -0
  101. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/encodersv2.py +0 -0
  102. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/transformers.py +0 -0
  103. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/transformersv2.py +0 -0
  104. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/trunk.py +0 -0
  105. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/trunkv2.py +0 -0
  106. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/modules/utils.py +0 -0
  107. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/optim/__init__.py +0 -0
  108. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/optim/ema.py +0 -0
  109. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/optim/scheduler.py +0 -0
  110. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/potentials/__init__.py +0 -0
  111. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/potentials/potentials.py +0 -0
  112. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz/model/potentials/schedules.py +0 -0
  113. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz_vsynthes.egg-info/SOURCES.txt +0 -0
  114. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz_vsynthes.egg-info/dependency_links.txt +0 -0
  115. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz_vsynthes.egg-info/entry_points.txt +0 -0
  116. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz_vsynthes.egg-info/requires.txt +0 -0
  117. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/src/boltz_vsynthes.egg-info/top_level.txt +0 -0
  118. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/tests/test_kernels.py +0 -0
  119. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/tests/test_regression.py +0 -0
  120. {boltz_vsynthes-1.0.4 → boltz_vsynthes-1.0.5}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: boltz-vsynthes
3
- Version: 1.0.4
3
+ Version: 1.0.5
4
4
  Summary: Boltz for V-Synthes
5
5
  Requires-Python: <3.13,>=3.10
6
6
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "boltz-vsynthes"
7
- version = "1.0.4"
7
+ version = "1.0.5"
8
8
  requires-python = ">=3.10,<3.13"
9
9
  description = "Boltz for V-Synthes"
10
10
  readme = "README.md"
@@ -669,9 +669,25 @@ def process_inputs(
669
669
  processed_dir = out_dir / "processed"
670
670
  processed_dir.mkdir(parents=True, exist_ok=True)
671
671
 
672
- # Create structure directory
672
+ # Create central directories
673
673
  structure_dir = processed_dir / "structures"
674
+ msa_dir = processed_dir / "msa"
675
+ records_dir = processed_dir / "records"
676
+ processed_msa_dir = processed_dir / "processed" / "msa"
677
+ processed_constraints_dir = processed_dir / "processed" / "constraints"
678
+ processed_templates_dir = processed_dir / "processed" / "templates"
679
+ processed_mols_dir = processed_dir / "processed" / "mols"
680
+ predictions_dir = processed_dir / "predictions"
681
+
682
+ # Create all central directories
674
683
  structure_dir.mkdir(parents=True, exist_ok=True)
684
+ msa_dir.mkdir(parents=True, exist_ok=True)
685
+ records_dir.mkdir(parents=True, exist_ok=True)
686
+ processed_msa_dir.mkdir(parents=True, exist_ok=True)
687
+ processed_constraints_dir.mkdir(parents=True, exist_ok=True)
688
+ processed_templates_dir.mkdir(parents=True, exist_ok=True)
689
+ processed_mols_dir.mkdir(parents=True, exist_ok=True)
690
+ predictions_dir.mkdir(parents=True, exist_ok=True)
675
691
 
676
692
  # Process each input file in its own directory
677
693
  for input_file in data:
@@ -680,22 +696,23 @@ def process_inputs(
680
696
  file_out_dir.mkdir(parents=True, exist_ok=True)
681
697
 
682
698
  # Create output directories for this file
683
- msa_dir = file_out_dir / "msa"
684
- records_dir = file_out_dir / "processed" / "records"
685
- processed_msa_dir = file_out_dir / "processed" / "msa"
686
- processed_constraints_dir = file_out_dir / "processed" / "constraints"
687
- processed_templates_dir = file_out_dir / "processed" / "templates"
688
- processed_mols_dir = file_out_dir / "processed" / "mols"
689
- predictions_dir = file_out_dir / "predictions"
690
-
699
+ file_msa_dir = file_out_dir / "msa"
700
+ file_records_dir = file_out_dir / "processed" / "records"
701
+ file_processed_msa_dir = file_out_dir / "processed" / "msa"
702
+ file_processed_constraints_dir = file_out_dir / "processed" / "constraints"
703
+ file_processed_templates_dir = file_out_dir / "processed" / "templates"
704
+ file_processed_mols_dir = file_out_dir / "processed" / "mols"
705
+ file_predictions_dir = file_out_dir / "predictions"
706
+
707
+ # Create all file-specific directories
691
708
  file_out_dir.mkdir(parents=True, exist_ok=True)
692
- msa_dir.mkdir(parents=True, exist_ok=True)
693
- records_dir.mkdir(parents=True, exist_ok=True)
694
- processed_msa_dir.mkdir(parents=True, exist_ok=True)
695
- processed_constraints_dir.mkdir(parents=True, exist_ok=True)
696
- processed_templates_dir.mkdir(parents=True, exist_ok=True)
697
- processed_mols_dir.mkdir(parents=True, exist_ok=True)
698
- predictions_dir.mkdir(parents=True, exist_ok=True)
709
+ file_msa_dir.mkdir(parents=True, exist_ok=True)
710
+ file_records_dir.mkdir(parents=True, exist_ok=True)
711
+ file_processed_msa_dir.mkdir(parents=True, exist_ok=True)
712
+ file_processed_constraints_dir.mkdir(parents=True, exist_ok=True)
713
+ file_processed_templates_dir.mkdir(parents=True, exist_ok=True)
714
+ file_processed_mols_dir.mkdir(parents=True, exist_ok=True)
715
+ file_predictions_dir.mkdir(parents=True, exist_ok=True)
699
716
 
700
717
  # Load CCD
701
718
  if boltz2:
@@ -708,27 +725,34 @@ def process_inputs(
708
725
  process_input_partial = partial(
709
726
  process_input,
710
727
  ccd=ccd,
711
- msa_dir=msa_dir,
728
+ msa_dir=file_msa_dir,
712
729
  mol_dir=mol_dir,
713
730
  boltz2=boltz2,
714
731
  use_msa_server=use_msa_server,
715
732
  msa_server_url=msa_server_url,
716
733
  msa_pairing_strategy=msa_pairing_strategy,
717
734
  max_msa_seqs=max_msa_seqs,
718
- processed_msa_dir=processed_msa_dir,
719
- processed_constraints_dir=processed_constraints_dir,
720
- processed_templates_dir=processed_templates_dir,
721
- processed_mols_dir=processed_mols_dir,
735
+ processed_msa_dir=file_processed_msa_dir,
736
+ processed_constraints_dir=file_processed_constraints_dir,
737
+ processed_templates_dir=file_processed_templates_dir,
738
+ processed_mols_dir=file_processed_mols_dir,
722
739
  structure_dir=structure_dir, # Use the central structure directory
723
- records_dir=records_dir,
740
+ records_dir=file_records_dir,
724
741
  )
725
742
 
726
743
  # Process this input file
727
744
  click.echo(f"Processing {input_file.name}")
728
745
  process_input_partial(input_file)
729
746
 
747
+ # Copy MSA files to central MSA directory
748
+ for msa_file in file_processed_msa_dir.glob("*.npz"):
749
+ target_msa_file = msa_dir / msa_file.name
750
+ if not target_msa_file.exists():
751
+ import shutil
752
+ shutil.copy2(msa_file, target_msa_file)
753
+
730
754
  # Load records for this file
731
- records = [Record.load(p) for p in records_dir.glob("*.json")]
755
+ records = [Record.load(p) for p in file_records_dir.glob("*.json")]
732
756
  all_records.extend(records)
733
757
 
734
758
  # Create combined manifest
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: boltz-vsynthes
3
- Version: 1.0.4
3
+ Version: 1.0.5
4
4
  Summary: Boltz for V-Synthes
5
5
  Requires-Python: <3.13,>=3.10
6
6
  Description-Content-Type: text/markdown
File without changes
File without changes
File without changes