czty commited on
Commit
de8c392
·
verified ·
1 Parent(s): 1fa77ed

BioOcto code and data release (snapshot 2026-11-27, resumed) (part 9)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/nextalign_align_nucleotides_test.json.usage.json +26 -0
  2. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/nextclade_analyze_sequence_test.json +204 -0
  3. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/nextclade_analyze_sequence_test.json.raw.txt +204 -0
  4. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/nextclade_analyze_sequence_test.json.usage.json +26 -0
  5. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/ngmlr_align_long_reads_test.json +208 -0
  6. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/ngmlr_align_long_reads_test.json.raw.txt +208 -0
  7. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/ngmlr_align_long_reads_test.json.usage.json +26 -0
  8. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/ont-fast5-api_summarize_single_read_fast5_test.json +170 -0
  9. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/ont-fast5-api_summarize_single_read_fast5_test.json.raw.txt +170 -0
  10. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/ont-fast5-api_summarize_single_read_fast5_test.json.usage.json +26 -0
  11. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/orthofinder_infer_orthogroups_test.json +134 -0
  12. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/orthofinder_infer_orthogroups_test.json.raw.txt +134 -0
  13. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/orthofinder_infer_orthogroups_test.json.usage.json +26 -0
  14. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/paml_pairwise_dn_ds_test.json +227 -0
  15. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/paml_pairwise_dn_ds_test.json.raw.txt +205 -0
  16. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/paml_pairwise_dn_ds_test.json.usage.json +26 -0
  17. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/parasail-python_global_align_test.json +245 -0
  18. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/parasail-python_global_align_test.json.raw.txt +217 -0
  19. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/parasail-python_global_align_test.json.usage.json +26 -0
  20. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/picard_sort_sam_test.json +205 -0
  21. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/picard_sort_sam_test.json.raw.txt +205 -0
  22. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/picard_sort_sam_test.json.usage.json +26 -0
  23. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/portcullis_prepare_splice_inputs_test.json +158 -0
  24. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/portcullis_prepare_splice_inputs_test.json.raw.txt +150 -0
  25. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/portcullis_prepare_splice_inputs_test.json.usage.json +26 -0
  26. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/prank_align_proteins_test.json +179 -0
  27. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/prank_align_proteins_test.json.raw.txt +179 -0
  28. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/prank_align_proteins_test.json.usage.json +26 -0
  29. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/prophyle_index_and_classify_reads_test.json +235 -0
  30. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/prophyle_index_and_classify_reads_test.json.raw.txt +235 -0
  31. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/prophyle_index_and_classify_reads_test.json.usage.json +26 -0
  32. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyfastx_fasta_statistics_test.json +139 -0
  33. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyfastx_fasta_statistics_test.json.raw.txt +139 -0
  34. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyfastx_fasta_statistics_test.json.usage.json +26 -0
  35. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyranges_merge_genomic_ranges_test.json +141 -0
  36. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyranges_merge_genomic_ranges_test.json.raw.txt +137 -0
  37. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyranges_merge_genomic_ranges_test.json.usage.json +26 -0
  38. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyrodigal_predict_genes_test.json +222 -0
  39. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyrodigal_predict_genes_test.json.raw.txt +222 -0
  40. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyrodigal_predict_genes_test.json.usage.json +26 -0
  41. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pysam_summarize_bam_test.json +133 -0
  42. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pysam_summarize_bam_test.json.raw.txt +133 -0
  43. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pysam_summarize_bam_test.json.usage.json +26 -0
  44. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/python-edlib_global_align_test.json +172 -0
  45. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/python-edlib_global_align_test.json.raw.txt +172 -0
  46. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/python-edlib_global_align_test.json.usage.json +26 -0
  47. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/raxml_infer_protein_tree_test.json +162 -0
  48. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/raxml_infer_protein_tree_test.json.raw.txt +148 -0
  49. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/raxml_infer_protein_tree_test.json.usage.json +26 -0
  50. Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/rgi_remove_duplicate_prevalence_sequences_test.json +192 -0
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/nextalign_align_nucleotides_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "f4c05ec6e22cbf0f310593f7d2bda22c2a218f805399dfe85741184bdf6403f3",
12
+ "elapsed_seconds": 5.505701541900635,
13
+ "usage": {
14
+ "prompt_tokens": 1130,
15
+ "completion_tokens": 1101,
16
+ "total_tokens": 2231,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 1130
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "edf44ccb-87fe-45ab-b3f8-17d6359e10cd"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/nextclade_analyze_sequence_test.json ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "nextclade",
5
+ "version": "3.23.0",
6
+ "build": "h9ee0642_0",
7
+ "executable": "nextclade",
8
+ "subcommand": "run",
9
+ "environment": "conda run -n bioenv_cli"
10
+ },
11
+ "endpoint": {
12
+ "name": "analyze_sequence",
13
+ "description": "Run sequence analysis: alignment, mutation calling, clade assignment, quality checks and phylogenetic placement"
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "reference_fasta",
18
+ "flag": "-r",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Path to reference FASTA file"
25
+ },
26
+ {
27
+ "name": "query_fasta",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": 0,
33
+ "repeat": false,
34
+ "description": "Path to query FASTA file"
35
+ },
36
+ {
37
+ "name": "output_fasta",
38
+ "flag": "-o",
39
+ "kind": "option",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": null,
43
+ "repeat": false,
44
+ "description": "Path to output FASTA file"
45
+ },
46
+ {
47
+ "name": "output_json",
48
+ "flag": "-J",
49
+ "kind": "option",
50
+ "value_type": "path",
51
+ "required": true,
52
+ "position": null,
53
+ "repeat": false,
54
+ "description": "Path to output JSON file"
55
+ }
56
+ ],
57
+ "inputs": [
58
+ {
59
+ "name": "reference_fasta",
60
+ "artifact_type": "fasta",
61
+ "binding": "reference_fasta",
62
+ "assertions": [
63
+ {
64
+ "name": "exists",
65
+ "status": "declared"
66
+ },
67
+ {
68
+ "name": "readable",
69
+ "status": "declared"
70
+ }
71
+ ]
72
+ },
73
+ {
74
+ "name": "query_fasta",
75
+ "artifact_type": "fasta",
76
+ "binding": "query_fasta",
77
+ "assertions": [
78
+ {
79
+ "name": "exists",
80
+ "status": "declared"
81
+ },
82
+ {
83
+ "name": "readable",
84
+ "status": "declared"
85
+ }
86
+ ]
87
+ }
88
+ ],
89
+ "outputs": [
90
+ {
91
+ "name": "output_fasta",
92
+ "artifact_type": "fasta",
93
+ "binding": "output_fasta",
94
+ "assertions": [
95
+ {
96
+ "name": "created",
97
+ "status": "declared"
98
+ }
99
+ ]
100
+ },
101
+ {
102
+ "name": "output_json",
103
+ "artifact_type": "json",
104
+ "binding": "output_json",
105
+ "assertions": [
106
+ {
107
+ "name": "created",
108
+ "status": "declared"
109
+ }
110
+ ]
111
+ }
112
+ ],
113
+ "validators": [
114
+ {
115
+ "name": "output_fasta_valid",
116
+ "artifact_type": "fasta",
117
+ "binding": "output_fasta",
118
+ "assertions": [
119
+ {
120
+ "name": "valid_fasta",
121
+ "status": "declared"
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "output_json_valid",
127
+ "artifact_type": "json",
128
+ "binding": "output_json",
129
+ "assertions": [
130
+ {
131
+ "name": "valid_json",
132
+ "status": "declared"
133
+ }
134
+ ]
135
+ }
136
+ ],
137
+ "evidence": [
138
+ {
139
+ "id": "ev1",
140
+ "field": "tool.executable",
141
+ "source_type": "help_text",
142
+ "locator": "Usage: nextclade [OPTIONS] <COMMAND>",
143
+ "excerpt": "Usage: nextclade [OPTIONS] <COMMAND>",
144
+ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
145
+ },
146
+ {
147
+ "id": "ev2",
148
+ "field": "tool.subcommand",
149
+ "source_type": "help_text",
150
+ "locator": "Commands: run",
151
+ "excerpt": "run Run sequence analysis: alignment, mutation calling, clade assignment, quality checks and phylogenetic placement",
152
+ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
153
+ },
154
+ {
155
+ "id": "ev3",
156
+ "field": "arguments.reference_fasta.flag",
157
+ "source_type": "help_text",
158
+ "locator": "nextclade run --help",
159
+ "excerpt": "-r",
160
+ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
161
+ },
162
+ {
163
+ "id": "ev4",
164
+ "field": "arguments.query_fasta.position",
165
+ "source_type": "help_text",
166
+ "locator": "nextclade run --help",
167
+ "excerpt": "positional",
168
+ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
169
+ },
170
+ {
171
+ "id": "ev5",
172
+ "field": "arguments.output_fasta.flag",
173
+ "source_type": "help_text",
174
+ "locator": "nextclade run --help",
175
+ "excerpt": "-o",
176
+ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
177
+ },
178
+ {
179
+ "id": "ev6",
180
+ "field": "arguments.output_json.flag",
181
+ "source_type": "help_text",
182
+ "locator": "nextclade run --help",
183
+ "excerpt": "-J",
184
+ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
185
+ }
186
+ ],
187
+ "execution_plan": {
188
+ "steps": [
189
+ {
190
+ "command": [
191
+ "nextclade",
192
+ "run",
193
+ "-r",
194
+ "{reference_fasta}",
195
+ "-o",
196
+ "{output_fasta}",
197
+ "-J",
198
+ "{output_json}",
199
+ "{query_fasta}"
200
+ ]
201
+ }
202
+ ]
203
+ }
204
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/nextclade_analyze_sequence_test.json.raw.txt ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "nextclade",
5
+ "version": "3.23.0",
6
+ "build": "h9ee0642_0",
7
+ "executable": "nextclade",
8
+ "subcommand": "run",
9
+ "environment": "conda run -n bioenv_cli"
10
+ },
11
+ "endpoint": {
12
+ "name": "analyze_sequence",
13
+ "description": "Run sequence analysis: alignment, mutation calling, clade assignment, quality checks and phylogenetic placement"
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "reference_fasta",
18
+ "flag": "-r",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Path to reference FASTA file"
25
+ },
26
+ {
27
+ "name": "query_fasta",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": 0,
33
+ "repeat": false,
34
+ "description": "Path to query FASTA file"
35
+ },
36
+ {
37
+ "name": "output_fasta",
38
+ "flag": "-o",
39
+ "kind": "option",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": null,
43
+ "repeat": false,
44
+ "description": "Path to output FASTA file"
45
+ },
46
+ {
47
+ "name": "output_json",
48
+ "flag": "-J",
49
+ "kind": "option",
50
+ "value_type": "path",
51
+ "required": true,
52
+ "position": null,
53
+ "repeat": false,
54
+ "description": "Path to output JSON file"
55
+ }
56
+ ],
57
+ "inputs": [
58
+ {
59
+ "name": "reference_fasta",
60
+ "artifact_type": "fasta",
61
+ "binding": "reference_fasta",
62
+ "assertions": [
63
+ {
64
+ "name": "exists",
65
+ "status": "declared"
66
+ },
67
+ {
68
+ "name": "readable",
69
+ "status": "declared"
70
+ }
71
+ ]
72
+ },
73
+ {
74
+ "name": "query_fasta",
75
+ "artifact_type": "fasta",
76
+ "binding": "query_fasta",
77
+ "assertions": [
78
+ {
79
+ "name": "exists",
80
+ "status": "declared"
81
+ },
82
+ {
83
+ "name": "readable",
84
+ "status": "declared"
85
+ }
86
+ ]
87
+ }
88
+ ],
89
+ "outputs": [
90
+ {
91
+ "name": "output_fasta",
92
+ "artifact_type": "fasta",
93
+ "binding": "output_fasta",
94
+ "assertions": [
95
+ {
96
+ "name": "created",
97
+ "status": "declared"
98
+ }
99
+ ]
100
+ },
101
+ {
102
+ "name": "output_json",
103
+ "artifact_type": "json",
104
+ "binding": "output_json",
105
+ "assertions": [
106
+ {
107
+ "name": "created",
108
+ "status": "declared"
109
+ }
110
+ ]
111
+ }
112
+ ],
113
+ "validators": [
114
+ {
115
+ "name": "output_fasta_valid",
116
+ "artifact_type": "fasta",
117
+ "binding": "output_fasta",
118
+ "assertions": [
119
+ {
120
+ "name": "valid_fasta",
121
+ "status": "declared"
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "output_json_valid",
127
+ "artifact_type": "json",
128
+ "binding": "output_json",
129
+ "assertions": [
130
+ {
131
+ "name": "valid_json",
132
+ "status": "declared"
133
+ }
134
+ ]
135
+ }
136
+ ],
137
+ "evidence": [
138
+ {
139
+ "id": "ev1",
140
+ "field": "tool.executable",
141
+ "source_type": "help_text",
142
+ "locator": "Usage: nextclade [OPTIONS] <COMMAND>",
143
+ "excerpt": "Usage: nextclade [OPTIONS] <COMMAND>",
144
+ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
145
+ },
146
+ {
147
+ "id": "ev2",
148
+ "field": "tool.subcommand",
149
+ "source_type": "help_text",
150
+ "locator": "Commands: run",
151
+ "excerpt": "run Run sequence analysis: alignment, mutation calling, clade assignment, quality checks and phylogenetic placement",
152
+ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
153
+ },
154
+ {
155
+ "id": "ev3",
156
+ "field": "arguments.reference_fasta.flag",
157
+ "source_type": "help_text",
158
+ "locator": "nextclade run --help",
159
+ "excerpt": "-r",
160
+ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
161
+ },
162
+ {
163
+ "id": "ev4",
164
+ "field": "arguments.query_fasta.position",
165
+ "source_type": "help_text",
166
+ "locator": "nextclade run --help",
167
+ "excerpt": "positional",
168
+ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
169
+ },
170
+ {
171
+ "id": "ev5",
172
+ "field": "arguments.output_fasta.flag",
173
+ "source_type": "help_text",
174
+ "locator": "nextclade run --help",
175
+ "excerpt": "-o",
176
+ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
177
+ },
178
+ {
179
+ "id": "ev6",
180
+ "field": "arguments.output_json.flag",
181
+ "source_type": "help_text",
182
+ "locator": "nextclade run --help",
183
+ "excerpt": "-J",
184
+ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
185
+ }
186
+ ],
187
+ "execution_plan": {
188
+ "steps": [
189
+ {
190
+ "command": [
191
+ "nextclade",
192
+ "run",
193
+ "-r",
194
+ "{reference_fasta}",
195
+ "-o",
196
+ "{output_fasta}",
197
+ "-J",
198
+ "{output_json}",
199
+ "{query_fasta}"
200
+ ]
201
+ }
202
+ ]
203
+ }
204
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/nextclade_analyze_sequence_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "10f1b4f516d5b90f5b5572129e1a00197407ba1d4332bff69f376f72e5f27797",
12
+ "elapsed_seconds": 6.745133638381958,
13
+ "usage": {
14
+ "prompt_tokens": 1557,
15
+ "completion_tokens": 1347,
16
+ "total_tokens": 2904,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 1557
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "94799388-ef23-41c7-86cb-17358e48b69e"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/ngmlr_align_long_reads_test.json ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "ngmlr",
5
+ "version": "0.2.7",
6
+ "build": "h077b44d_10",
7
+ "executable": "ngmlr",
8
+ "subcommand": null,
9
+ "environment": "conda run -n bioenv_cli"
10
+ },
11
+ "endpoint": {
12
+ "name": "align_long_reads",
13
+ "description": "Align long reads to a reference genome using ngmlr."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "reference_fasta",
18
+ "flag": "-r",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Path to the reference genome (FASTA/Q, can be gzipped)."
25
+ },
26
+ {
27
+ "name": "reads_fastq",
28
+ "flag": "-q",
29
+ "kind": "option",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": null,
33
+ "repeat": false,
34
+ "description": "Path to the read file (FASTA/Q)."
35
+ },
36
+ {
37
+ "name": "output_sam",
38
+ "flag": "-o",
39
+ "kind": "option",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": null,
43
+ "repeat": false,
44
+ "description": "Output SAM file path."
45
+ },
46
+ {
47
+ "name": "threads",
48
+ "flag": "-t",
49
+ "kind": "option",
50
+ "value_type": "integer",
51
+ "required": false,
52
+ "position": null,
53
+ "repeat": false,
54
+ "description": "Number of threads (fixed to 1)."
55
+ },
56
+ {
57
+ "name": "skip_write",
58
+ "flag": "--skip-write",
59
+ "kind": "switch",
60
+ "value_type": "boolean",
61
+ "required": false,
62
+ "position": null,
63
+ "repeat": false,
64
+ "description": "Don't write reference index to disk."
65
+ },
66
+ {
67
+ "name": "no_progress",
68
+ "flag": "--no-progress",
69
+ "kind": "switch",
70
+ "value_type": "boolean",
71
+ "required": false,
72
+ "position": null,
73
+ "repeat": false,
74
+ "description": "Don't print progress info while mapping."
75
+ }
76
+ ],
77
+ "inputs": [
78
+ {
79
+ "name": "reference_fasta",
80
+ "artifact_type": "file",
81
+ "binding": "reference_fasta",
82
+ "assertions": [
83
+ {
84
+ "name": "exists",
85
+ "status": "declared",
86
+ "description": "Reference FASTA file must exist."
87
+ }
88
+ ]
89
+ },
90
+ {
91
+ "name": "reads_fastq",
92
+ "artifact_type": "file",
93
+ "binding": "reads_fastq",
94
+ "assertions": [
95
+ {
96
+ "name": "exists",
97
+ "status": "declared",
98
+ "description": "Reads file must exist."
99
+ }
100
+ ]
101
+ }
102
+ ],
103
+ "outputs": [
104
+ {
105
+ "name": "output_sam",
106
+ "artifact_type": "file",
107
+ "binding": "output_sam",
108
+ "assertions": [
109
+ {
110
+ "name": "created",
111
+ "status": "declared",
112
+ "description": "Output SAM file will be created."
113
+ }
114
+ ]
115
+ }
116
+ ],
117
+ "validators": [
118
+ {
119
+ "name": "output_sam_valid",
120
+ "artifact_type": "file",
121
+ "binding": "output_sam",
122
+ "assertions": [
123
+ {
124
+ "name": "sam_format",
125
+ "status": "inferred",
126
+ "description": "Output file is expected to be in SAM format."
127
+ }
128
+ ]
129
+ }
130
+ ],
131
+ "evidence": [
132
+ {
133
+ "id": "ev1",
134
+ "field": "tool.version",
135
+ "source_type": "help_text",
136
+ "locator": "ngmlr --help",
137
+ "excerpt": "ngmlr 0.2.7 (build: Jun 21 2024 14:45:51, start: 2026-04-30.09:13:48)",
138
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
139
+ },
140
+ {
141
+ "id": "ev2",
142
+ "field": "arguments.reference_fasta",
143
+ "source_type": "help_text",
144
+ "locator": "ngmlr --help",
145
+ "excerpt": "-r <file>, --reference <file> (required) Path to the reference genome (FASTA/Q, can be gzipped)",
146
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
147
+ },
148
+ {
149
+ "id": "ev3",
150
+ "field": "arguments.reads_fastq",
151
+ "source_type": "help_text",
152
+ "locator": "ngmlr --help",
153
+ "excerpt": "-q <file>, --query <file> Path to the read file (FASTA/Q) [/dev/stdin]",
154
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
155
+ },
156
+ {
157
+ "id": "ev4",
158
+ "field": "arguments.output_sam",
159
+ "source_type": "help_text",
160
+ "locator": "ngmlr --help",
161
+ "excerpt": "-o <string>, --output <string> Adds RG:Z:<string> to all alignments in SAM/BAM [none]",
162
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
163
+ },
164
+ {
165
+ "id": "ev5",
166
+ "field": "arguments.threads",
167
+ "source_type": "help_text",
168
+ "locator": "ngmlr --help",
169
+ "excerpt": "-t <int>, --threads <int> Number of threads [1]",
170
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
171
+ },
172
+ {
173
+ "id": "ev6",
174
+ "field": "arguments.skip_write",
175
+ "source_type": "help_text",
176
+ "locator": "ngmlr --help",
177
+ "excerpt": "--skip-write Don't write reference index to disk [false]",
178
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
179
+ },
180
+ {
181
+ "id": "ev7",
182
+ "field": "arguments.no_progress",
183
+ "source_type": "help_text",
184
+ "locator": "ngmlr --help",
185
+ "excerpt": "--no-progress Don't print progress info while mapping [false]",
186
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
187
+ }
188
+ ],
189
+ "execution_plan": {
190
+ "steps": [
191
+ {
192
+ "command": [
193
+ "ngmlr",
194
+ "-r",
195
+ "{reference_fasta}",
196
+ "-q",
197
+ "{reads_fastq}",
198
+ "-o",
199
+ "{output_sam}",
200
+ "-t",
201
+ "1",
202
+ "--skip-write",
203
+ "--no-progress"
204
+ ]
205
+ }
206
+ ]
207
+ }
208
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/ngmlr_align_long_reads_test.json.raw.txt ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "ngmlr",
5
+ "version": "0.2.7",
6
+ "build": "h077b44d_10",
7
+ "executable": "ngmlr",
8
+ "subcommand": null,
9
+ "environment": "conda run -n bioenv_cli"
10
+ },
11
+ "endpoint": {
12
+ "name": "align_long_reads",
13
+ "description": "Align long reads to a reference genome using ngmlr."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "reference_fasta",
18
+ "flag": "-r",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Path to the reference genome (FASTA/Q, can be gzipped)."
25
+ },
26
+ {
27
+ "name": "reads_fastq",
28
+ "flag": "-q",
29
+ "kind": "option",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": null,
33
+ "repeat": false,
34
+ "description": "Path to the read file (FASTA/Q)."
35
+ },
36
+ {
37
+ "name": "output_sam",
38
+ "flag": "-o",
39
+ "kind": "option",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": null,
43
+ "repeat": false,
44
+ "description": "Output SAM file path."
45
+ },
46
+ {
47
+ "name": "threads",
48
+ "flag": "-t",
49
+ "kind": "option",
50
+ "value_type": "integer",
51
+ "required": false,
52
+ "position": null,
53
+ "repeat": false,
54
+ "description": "Number of threads (fixed to 1)."
55
+ },
56
+ {
57
+ "name": "skip_write",
58
+ "flag": "--skip-write",
59
+ "kind": "switch",
60
+ "value_type": "boolean",
61
+ "required": false,
62
+ "position": null,
63
+ "repeat": false,
64
+ "description": "Don't write reference index to disk."
65
+ },
66
+ {
67
+ "name": "no_progress",
68
+ "flag": "--no-progress",
69
+ "kind": "switch",
70
+ "value_type": "boolean",
71
+ "required": false,
72
+ "position": null,
73
+ "repeat": false,
74
+ "description": "Don't print progress info while mapping."
75
+ }
76
+ ],
77
+ "inputs": [
78
+ {
79
+ "name": "reference_fasta",
80
+ "artifact_type": "file",
81
+ "binding": "reference_fasta",
82
+ "assertions": [
83
+ {
84
+ "name": "exists",
85
+ "status": "declared",
86
+ "description": "Reference FASTA file must exist."
87
+ }
88
+ ]
89
+ },
90
+ {
91
+ "name": "reads_fastq",
92
+ "artifact_type": "file",
93
+ "binding": "reads_fastq",
94
+ "assertions": [
95
+ {
96
+ "name": "exists",
97
+ "status": "declared",
98
+ "description": "Reads file must exist."
99
+ }
100
+ ]
101
+ }
102
+ ],
103
+ "outputs": [
104
+ {
105
+ "name": "output_sam",
106
+ "artifact_type": "file",
107
+ "binding": "output_sam",
108
+ "assertions": [
109
+ {
110
+ "name": "created",
111
+ "status": "declared",
112
+ "description": "Output SAM file will be created."
113
+ }
114
+ ]
115
+ }
116
+ ],
117
+ "validators": [
118
+ {
119
+ "name": "output_sam_valid",
120
+ "artifact_type": "file",
121
+ "binding": "output_sam",
122
+ "assertions": [
123
+ {
124
+ "name": "sam_format",
125
+ "status": "inferred",
126
+ "description": "Output file is expected to be in SAM format."
127
+ }
128
+ ]
129
+ }
130
+ ],
131
+ "evidence": [
132
+ {
133
+ "id": "ev1",
134
+ "field": "tool.version",
135
+ "source_type": "help_text",
136
+ "locator": "ngmlr --help",
137
+ "excerpt": "ngmlr 0.2.7 (build: Jun 21 2024 14:45:51, start: 2026-04-30.09:13:48)",
138
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
139
+ },
140
+ {
141
+ "id": "ev2",
142
+ "field": "arguments.reference_fasta",
143
+ "source_type": "help_text",
144
+ "locator": "ngmlr --help",
145
+ "excerpt": "-r <file>, --reference <file> (required) Path to the reference genome (FASTA/Q, can be gzipped)",
146
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
147
+ },
148
+ {
149
+ "id": "ev3",
150
+ "field": "arguments.reads_fastq",
151
+ "source_type": "help_text",
152
+ "locator": "ngmlr --help",
153
+ "excerpt": "-q <file>, --query <file> Path to the read file (FASTA/Q) [/dev/stdin]",
154
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
155
+ },
156
+ {
157
+ "id": "ev4",
158
+ "field": "arguments.output_sam",
159
+ "source_type": "help_text",
160
+ "locator": "ngmlr --help",
161
+ "excerpt": "-o <string>, --output <string> Adds RG:Z:<string> to all alignments in SAM/BAM [none]",
162
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
163
+ },
164
+ {
165
+ "id": "ev5",
166
+ "field": "arguments.threads",
167
+ "source_type": "help_text",
168
+ "locator": "ngmlr --help",
169
+ "excerpt": "-t <int>, --threads <int> Number of threads [1]",
170
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
171
+ },
172
+ {
173
+ "id": "ev6",
174
+ "field": "arguments.skip_write",
175
+ "source_type": "help_text",
176
+ "locator": "ngmlr --help",
177
+ "excerpt": "--skip-write Don't write reference index to disk [false]",
178
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
179
+ },
180
+ {
181
+ "id": "ev7",
182
+ "field": "arguments.no_progress",
183
+ "source_type": "help_text",
184
+ "locator": "ngmlr --help",
185
+ "excerpt": "--no-progress Don't print progress info while mapping [false]",
186
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
187
+ }
188
+ ],
189
+ "execution_plan": {
190
+ "steps": [
191
+ {
192
+ "command": [
193
+ "ngmlr",
194
+ "-r",
195
+ "{reference_fasta}",
196
+ "-q",
197
+ "{reads_fastq}",
198
+ "-o",
199
+ "{output_sam}",
200
+ "-t",
201
+ "1",
202
+ "--skip-write",
203
+ "--no-progress"
204
+ ]
205
+ }
206
+ ]
207
+ }
208
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/ngmlr_align_long_reads_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "3fa795d1ac0c428733abcfee80085074e305470d99600040f08012232014e0c9",
12
+ "elapsed_seconds": 7.894618034362793,
13
+ "usage": {
14
+ "prompt_tokens": 1704,
15
+ "completion_tokens": 1675,
16
+ "total_tokens": 3379,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 1704
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "85e333f6-4bf5-47be-9db5-07cce81b8530"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/ont-fast5-api_summarize_single_read_fast5_test.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "ont-fast5-api",
5
+ "version": "0.4.1",
6
+ "build": "py36_0",
7
+ "executable": "python",
8
+ "subcommand": null,
9
+ "environment": "conda"
10
+ },
11
+ "endpoint": {
12
+ "name": "summarize_single_read_fast5",
13
+ "description": "Extract channel metadata, tracking metadata, and raw signal from a single-read FAST5 file and write a JSON summary."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_fast5",
18
+ "flag": null,
19
+ "kind": "positional",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": 1,
23
+ "repeat": false,
24
+ "description": "Path to the input single-read FAST5 file."
25
+ },
26
+ {
27
+ "name": "output_json",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": 2,
33
+ "repeat": false,
34
+ "description": "Path to the output JSON file."
35
+ }
36
+ ],
37
+ "inputs": [
38
+ {
39
+ "name": "input_fast5",
40
+ "artifact_type": "fast5",
41
+ "binding": "input_fast5",
42
+ "assertions": [
43
+ {
44
+ "name": "single_read",
45
+ "status": "inferred",
46
+ "description": "Input is expected to be a single-read FAST5 file."
47
+ }
48
+ ]
49
+ }
50
+ ],
51
+ "outputs": [
52
+ {
53
+ "name": "output_json",
54
+ "artifact_type": "json",
55
+ "binding": "output_json",
56
+ "assertions": [
57
+ {
58
+ "name": "json_schema",
59
+ "status": "inferred",
60
+ "description": "Output JSON contains channel, read_count, raw, and tracking fields."
61
+ }
62
+ ]
63
+ }
64
+ ],
65
+ "validators": [
66
+ {
67
+ "name": "input_fast5_exists",
68
+ "artifact_type": "fast5",
69
+ "binding": "input_fast5",
70
+ "assertions": [
71
+ {
72
+ "name": "exists",
73
+ "status": "inferred",
74
+ "description": "Input file must exist."
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "name": "output_json_writable",
80
+ "artifact_type": "json",
81
+ "binding": "output_json",
82
+ "assertions": [
83
+ {
84
+ "name": "writable",
85
+ "status": "inferred",
86
+ "description": "Output path must be writable."
87
+ }
88
+ ]
89
+ }
90
+ ],
91
+ "evidence": [
92
+ {
93
+ "id": "ev1",
94
+ "field": "tool.package",
95
+ "source_type": "conda_search",
96
+ "locator": "https://conda.anaconda.org/bioconda/linux-64/ont-fast5-api-0.4.1-py36_0.tar.bz2",
97
+ "excerpt": "ont-fast5-api 0.4.1 py36_0",
98
+ "digest": "sha256:3ec0c7071c0a5d2a093c0f9cc83cbdc7"
99
+ },
100
+ {
101
+ "id": "ev2",
102
+ "field": "tool.version",
103
+ "source_type": "conda_search",
104
+ "locator": "https://conda.anaconda.org/bioconda/linux-64/ont-fast5-api-0.4.1-py36_0.tar.bz2",
105
+ "excerpt": "version: 0.4.1",
106
+ "digest": "sha256:3ec0c7071c0a5d2a093c0f9cc83cbdc7"
107
+ },
108
+ {
109
+ "id": "ev3",
110
+ "field": "tool.build",
111
+ "source_type": "conda_search",
112
+ "locator": "https://conda.anaconda.org/bioconda/linux-64/ont-fast5-api-0.4.1-py36_0.tar.bz2",
113
+ "excerpt": "build: py36_0",
114
+ "digest": "sha256:3ec0c7071c0a5d2a093c0f9cc83cbdc7"
115
+ },
116
+ {
117
+ "id": "ev4",
118
+ "field": "tool.executable",
119
+ "source_type": "inferred",
120
+ "locator": "https://github.com/nanoporetech/ont_fast5_api",
121
+ "excerpt": "ont_fast5_api is a pure python project",
122
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
123
+ },
124
+ {
125
+ "id": "ev5",
126
+ "field": "endpoint.name",
127
+ "source_type": "target_interface",
128
+ "locator": "method-neutral target interface",
129
+ "excerpt": "summarize_single_read_fast5",
130
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
131
+ },
132
+ {
133
+ "id": "ev6",
134
+ "field": "arguments.input_fast5",
135
+ "source_type": "target_interface",
136
+ "locator": "method-neutral target interface",
137
+ "excerpt": "native_binding: argv1",
138
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
139
+ },
140
+ {
141
+ "id": "ev7",
142
+ "field": "arguments.output_json",
143
+ "source_type": "target_interface",
144
+ "locator": "method-neutral target interface",
145
+ "excerpt": "native_binding: argv2",
146
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
147
+ },
148
+ {
149
+ "id": "ev8",
150
+ "field": "execution_plan",
151
+ "source_type": "target_interface",
152
+ "locator": "method-neutral target interface",
153
+ "excerpt": "Use ont_fast5_api.Fast5File to read channel metadata, tracking metadata, and raw signal from one deterministic FAST5.",
154
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
155
+ }
156
+ ],
157
+ "execution_plan": {
158
+ "steps": [
159
+ {
160
+ "command": [
161
+ "python",
162
+ "-c",
163
+ "import json,sys; from ont_fast5_api.fast5_file import Fast5File; h=Fast5File(sys.argv[1]); r=h.get_raw_data(); d={'channel':h.get_channel_info()['channel_number'],'read_count':len(h.status.read_info),'raw':[int(x) for x in r.tolist()],'tracking':h.get_tracking_id()}; h.close(); open(sys.argv[2],'w').write(json.dumps(d,sort_keys=True)+'\\n')",
164
+ "{input_fast5}",
165
+ "{output_json}"
166
+ ]
167
+ }
168
+ ]
169
+ }
170
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/ont-fast5-api_summarize_single_read_fast5_test.json.raw.txt ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "ont-fast5-api",
5
+ "version": "0.4.1",
6
+ "build": "py36_0",
7
+ "executable": "python",
8
+ "subcommand": null,
9
+ "environment": "conda"
10
+ },
11
+ "endpoint": {
12
+ "name": "summarize_single_read_fast5",
13
+ "description": "Extract channel metadata, tracking metadata, and raw signal from a single-read FAST5 file and write a JSON summary."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_fast5",
18
+ "flag": null,
19
+ "kind": "positional",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": 1,
23
+ "repeat": false,
24
+ "description": "Path to the input single-read FAST5 file."
25
+ },
26
+ {
27
+ "name": "output_json",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": 2,
33
+ "repeat": false,
34
+ "description": "Path to the output JSON file."
35
+ }
36
+ ],
37
+ "inputs": [
38
+ {
39
+ "name": "input_fast5",
40
+ "artifact_type": "fast5",
41
+ "binding": "input_fast5",
42
+ "assertions": [
43
+ {
44
+ "name": "single_read",
45
+ "status": "inferred",
46
+ "description": "Input is expected to be a single-read FAST5 file."
47
+ }
48
+ ]
49
+ }
50
+ ],
51
+ "outputs": [
52
+ {
53
+ "name": "output_json",
54
+ "artifact_type": "json",
55
+ "binding": "output_json",
56
+ "assertions": [
57
+ {
58
+ "name": "json_schema",
59
+ "status": "inferred",
60
+ "description": "Output JSON contains channel, read_count, raw, and tracking fields."
61
+ }
62
+ ]
63
+ }
64
+ ],
65
+ "validators": [
66
+ {
67
+ "name": "input_fast5_exists",
68
+ "artifact_type": "fast5",
69
+ "binding": "input_fast5",
70
+ "assertions": [
71
+ {
72
+ "name": "exists",
73
+ "status": "inferred",
74
+ "description": "Input file must exist."
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "name": "output_json_writable",
80
+ "artifact_type": "json",
81
+ "binding": "output_json",
82
+ "assertions": [
83
+ {
84
+ "name": "writable",
85
+ "status": "inferred",
86
+ "description": "Output path must be writable."
87
+ }
88
+ ]
89
+ }
90
+ ],
91
+ "evidence": [
92
+ {
93
+ "id": "ev1",
94
+ "field": "tool.package",
95
+ "source_type": "conda_search",
96
+ "locator": "https://conda.anaconda.org/bioconda/linux-64/ont-fast5-api-0.4.1-py36_0.tar.bz2",
97
+ "excerpt": "ont-fast5-api 0.4.1 py36_0",
98
+ "digest": "sha256:3ec0c7071c0a5d2a093c0f9cc83cbdc7"
99
+ },
100
+ {
101
+ "id": "ev2",
102
+ "field": "tool.version",
103
+ "source_type": "conda_search",
104
+ "locator": "https://conda.anaconda.org/bioconda/linux-64/ont-fast5-api-0.4.1-py36_0.tar.bz2",
105
+ "excerpt": "version: 0.4.1",
106
+ "digest": "sha256:3ec0c7071c0a5d2a093c0f9cc83cbdc7"
107
+ },
108
+ {
109
+ "id": "ev3",
110
+ "field": "tool.build",
111
+ "source_type": "conda_search",
112
+ "locator": "https://conda.anaconda.org/bioconda/linux-64/ont-fast5-api-0.4.1-py36_0.tar.bz2",
113
+ "excerpt": "build: py36_0",
114
+ "digest": "sha256:3ec0c7071c0a5d2a093c0f9cc83cbdc7"
115
+ },
116
+ {
117
+ "id": "ev4",
118
+ "field": "tool.executable",
119
+ "source_type": "inferred",
120
+ "locator": "https://github.com/nanoporetech/ont_fast5_api",
121
+ "excerpt": "ont_fast5_api is a pure python project",
122
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
123
+ },
124
+ {
125
+ "id": "ev5",
126
+ "field": "endpoint.name",
127
+ "source_type": "target_interface",
128
+ "locator": "method-neutral target interface",
129
+ "excerpt": "summarize_single_read_fast5",
130
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
131
+ },
132
+ {
133
+ "id": "ev6",
134
+ "field": "arguments.input_fast5",
135
+ "source_type": "target_interface",
136
+ "locator": "method-neutral target interface",
137
+ "excerpt": "native_binding: argv1",
138
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
139
+ },
140
+ {
141
+ "id": "ev7",
142
+ "field": "arguments.output_json",
143
+ "source_type": "target_interface",
144
+ "locator": "method-neutral target interface",
145
+ "excerpt": "native_binding: argv2",
146
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
147
+ },
148
+ {
149
+ "id": "ev8",
150
+ "field": "execution_plan",
151
+ "source_type": "target_interface",
152
+ "locator": "method-neutral target interface",
153
+ "excerpt": "Use ont_fast5_api.Fast5File to read channel metadata, tracking metadata, and raw signal from one deterministic FAST5.",
154
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
155
+ }
156
+ ],
157
+ "execution_plan": {
158
+ "steps": [
159
+ {
160
+ "command": [
161
+ "python",
162
+ "-c",
163
+ "import json,sys; from ont_fast5_api.fast5_file import Fast5File; h=Fast5File(sys.argv[1]); r=h.get_raw_data(); d={'channel':h.get_channel_info()['channel_number'],'read_count':len(h.status.read_info),'raw':[int(x) for x in r.tolist()],'tracking':h.get_tracking_id()}; h.close(); open(sys.argv[2],'w').write(json.dumps(d,sort_keys=True)+'\\n')",
164
+ "{input_fast5}",
165
+ "{output_json}"
166
+ ]
167
+ }
168
+ ]
169
+ }
170
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/ont-fast5-api_summarize_single_read_fast5_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "fdf4ef309f6111ee26c45649213b656d1c2124bbf5abfe344c1e931b2e6ed268",
12
+ "elapsed_seconds": 12.714971780776978,
13
+ "usage": {
14
+ "prompt_tokens": 9854,
15
+ "completion_tokens": 1597,
16
+ "total_tokens": 11451,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 9854
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "b01c9f69-f14c-412a-96fe-189d228261ce"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/orthofinder_infer_orthogroups_test.json ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "orthofinder",
5
+ "version": "2.2.7",
6
+ "build": "0",
7
+ "executable": "orthofinder",
8
+ "subcommand": null,
9
+ "environment": "conda run -n bioenv_py_sc"
10
+ },
11
+ "endpoint": {
12
+ "name": "infer_orthogroups",
13
+ "description": "Run DIAMOND all-vs-all and stop after orthogroup inference; copy date-named results to stable output paths."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_dir",
18
+ "flag": "-f",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Directory containing FASTA proteomes"
25
+ },
26
+ {
27
+ "name": "orthogroups_tsv",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": 1,
33
+ "repeat": false,
34
+ "description": "Stable output path for Orthogroups.csv"
35
+ },
36
+ {
37
+ "name": "statistics_csv",
38
+ "flag": null,
39
+ "kind": "positional",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": 2,
43
+ "repeat": false,
44
+ "description": "Stable output path for Statistics_Overall.csv"
45
+ }
46
+ ],
47
+ "inputs": [
48
+ {
49
+ "name": "input_dir",
50
+ "artifact_type": "directory",
51
+ "binding": "input_dir",
52
+ "assertions": [
53
+ {
54
+ "name": "exists",
55
+ "status": "declared",
56
+ "description": "Input directory must exist"
57
+ }
58
+ ]
59
+ }
60
+ ],
61
+ "outputs": [
62
+ {
63
+ "name": "orthogroups_tsv",
64
+ "artifact_type": "file",
65
+ "binding": "orthogroups_tsv",
66
+ "assertions": [
67
+ {
68
+ "name": "exists",
69
+ "status": "declared",
70
+ "description": "Output file must exist"
71
+ }
72
+ ]
73
+ },
74
+ {
75
+ "name": "statistics_csv",
76
+ "artifact_type": "file",
77
+ "binding": "statistics_csv",
78
+ "assertions": [
79
+ {
80
+ "name": "exists",
81
+ "status": "declared",
82
+ "description": "Output file must exist"
83
+ }
84
+ ]
85
+ }
86
+ ],
87
+ "validators": [
88
+ {
89
+ "name": "orthogroups_tsv_nonempty",
90
+ "artifact_type": "file",
91
+ "binding": "orthogroups_tsv",
92
+ "assertions": [
93
+ {
94
+ "name": "nonempty",
95
+ "status": "declared",
96
+ "description": "Orthogroups file must be non-empty"
97
+ }
98
+ ]
99
+ },
100
+ {
101
+ "name": "statistics_csv_nonempty",
102
+ "artifact_type": "file",
103
+ "binding": "statistics_csv",
104
+ "assertions": [
105
+ {
106
+ "name": "nonempty",
107
+ "status": "declared",
108
+ "description": "Statistics file must be non-empty"
109
+ }
110
+ ]
111
+ }
112
+ ],
113
+ "evidence": [
114
+ {
115
+ "id": "help_text",
116
+ "field": "arguments",
117
+ "source_type": "help_text",
118
+ "locator": "orthofinder --help",
119
+ "excerpt": "-f <dir> ... -og Stop after inferring orthogroups",
120
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
121
+ }
122
+ ],
123
+ "execution_plan": {
124
+ "steps": [
125
+ {
126
+ "command": [
127
+ "bash",
128
+ "-lc",
129
+ "orthofinder -f '{input_dir}' -t 1 -a 1 -S diamond -og && result_dir=$(find '{input_dir}' -maxdepth 1 -type d -name 'Results_*' | sort | tail -1) && cp \"$result_dir/Orthogroups.csv\" '{orthogroups_tsv}' && cp \"$result_dir/Statistics_Overall.csv\" '{statistics_csv}'"
130
+ ]
131
+ }
132
+ ]
133
+ }
134
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/orthofinder_infer_orthogroups_test.json.raw.txt ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "orthofinder",
5
+ "version": "2.2.7",
6
+ "build": "0",
7
+ "executable": "orthofinder",
8
+ "subcommand": null,
9
+ "environment": "conda run -n bioenv_py_sc"
10
+ },
11
+ "endpoint": {
12
+ "name": "infer_orthogroups",
13
+ "description": "Run DIAMOND all-vs-all and stop after orthogroup inference; copy date-named results to stable output paths."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_dir",
18
+ "flag": "-f",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Directory containing FASTA proteomes"
25
+ },
26
+ {
27
+ "name": "orthogroups_tsv",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": 1,
33
+ "repeat": false,
34
+ "description": "Stable output path for Orthogroups.csv"
35
+ },
36
+ {
37
+ "name": "statistics_csv",
38
+ "flag": null,
39
+ "kind": "positional",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": 2,
43
+ "repeat": false,
44
+ "description": "Stable output path for Statistics_Overall.csv"
45
+ }
46
+ ],
47
+ "inputs": [
48
+ {
49
+ "name": "input_dir",
50
+ "artifact_type": "directory",
51
+ "binding": "input_dir",
52
+ "assertions": [
53
+ {
54
+ "name": "exists",
55
+ "status": "declared",
56
+ "description": "Input directory must exist"
57
+ }
58
+ ]
59
+ }
60
+ ],
61
+ "outputs": [
62
+ {
63
+ "name": "orthogroups_tsv",
64
+ "artifact_type": "file",
65
+ "binding": "orthogroups_tsv",
66
+ "assertions": [
67
+ {
68
+ "name": "exists",
69
+ "status": "declared",
70
+ "description": "Output file must exist"
71
+ }
72
+ ]
73
+ },
74
+ {
75
+ "name": "statistics_csv",
76
+ "artifact_type": "file",
77
+ "binding": "statistics_csv",
78
+ "assertions": [
79
+ {
80
+ "name": "exists",
81
+ "status": "declared",
82
+ "description": "Output file must exist"
83
+ }
84
+ ]
85
+ }
86
+ ],
87
+ "validators": [
88
+ {
89
+ "name": "orthogroups_tsv_nonempty",
90
+ "artifact_type": "file",
91
+ "binding": "orthogroups_tsv",
92
+ "assertions": [
93
+ {
94
+ "name": "nonempty",
95
+ "status": "declared",
96
+ "description": "Orthogroups file must be non-empty"
97
+ }
98
+ ]
99
+ },
100
+ {
101
+ "name": "statistics_csv_nonempty",
102
+ "artifact_type": "file",
103
+ "binding": "statistics_csv",
104
+ "assertions": [
105
+ {
106
+ "name": "nonempty",
107
+ "status": "declared",
108
+ "description": "Statistics file must be non-empty"
109
+ }
110
+ ]
111
+ }
112
+ ],
113
+ "evidence": [
114
+ {
115
+ "id": "help_text",
116
+ "field": "arguments",
117
+ "source_type": "help_text",
118
+ "locator": "orthofinder --help",
119
+ "excerpt": "-f <dir> ... -og Stop after inferring orthogroups",
120
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
121
+ }
122
+ ],
123
+ "execution_plan": {
124
+ "steps": [
125
+ {
126
+ "command": [
127
+ "bash",
128
+ "-lc",
129
+ "orthofinder -f '{input_dir}' -t 1 -a 1 -S diamond -og && result_dir=$(find '{input_dir}' -maxdepth 1 -type d -name 'Results_*' | sort | tail -1) && cp \"$result_dir/Orthogroups.csv\" '{orthogroups_tsv}' && cp \"$result_dir/Statistics_Overall.csv\" '{statistics_csv}'"
130
+ ]
131
+ }
132
+ ]
133
+ }
134
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/orthofinder_infer_orthogroups_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "82be95a4e94db3bc3212e935f3d71a4d848ae1289a480c42e566541ba74399ed",
12
+ "elapsed_seconds": 5.197443723678589,
13
+ "usage": {
14
+ "prompt_tokens": 1629,
15
+ "completion_tokens": 951,
16
+ "total_tokens": 2580,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 1629
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "ab187c59-f484-4c2d-a173-d58af43d1e0f"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/paml_pairwise_dn_ds_test.json ADDED
@@ -0,0 +1,227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "paml",
5
+ "version": "4.10.10",
6
+ "build": "h87e0c26_2",
7
+ "executable": "yn00",
8
+ "subcommand": null,
9
+ "environment": {
10
+ "dependencies": [
11
+ "libgcc >=14"
12
+ ],
13
+ "execution_environment": "Compiled"
14
+ }
15
+ },
16
+ "endpoint": {
17
+ "name": "pairwise_dn_ds",
18
+ "description": "Estimate pairwise non-synonymous and synonymous substitution rates using the yn00 program from PAML."
19
+ },
20
+ "arguments": [
21
+ {
22
+ "name": "input_sequences",
23
+ "flag": null,
24
+ "kind": "positional",
25
+ "value_type": "path",
26
+ "required": true,
27
+ "position": 0,
28
+ "repeat": false,
29
+ "description": "Path to the input sequence file (codon alignment)."
30
+ },
31
+ {
32
+ "name": "control_file",
33
+ "flag": null,
34
+ "kind": "positional",
35
+ "value_type": "path",
36
+ "required": true,
37
+ "position": 1,
38
+ "repeat": false,
39
+ "description": "Path to the control file (yn00.ctl)."
40
+ },
41
+ {
42
+ "name": "output_results",
43
+ "flag": null,
44
+ "kind": "positional",
45
+ "value_type": "path",
46
+ "required": true,
47
+ "position": 2,
48
+ "repeat": false,
49
+ "description": "Path to the output results file (outfile)."
50
+ },
51
+ {
52
+ "name": "output_dn",
53
+ "flag": null,
54
+ "kind": "positional",
55
+ "value_type": "path",
56
+ "required": true,
57
+ "position": 3,
58
+ "repeat": false,
59
+ "description": "Path to the output dN matrix file (copied from 2YN.dN)."
60
+ }
61
+ ],
62
+ "inputs": [
63
+ {
64
+ "name": "input_sequences",
65
+ "artifact_type": "file",
66
+ "binding": "input_sequences",
67
+ "assertions": [
68
+ {
69
+ "name": "exists",
70
+ "status": "declared",
71
+ "evidence": [
72
+ "ev-001"
73
+ ]
74
+ },
75
+ {
76
+ "name": "readable",
77
+ "status": "declared",
78
+ "evidence": [
79
+ "ev-001"
80
+ ]
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "name": "control_file",
86
+ "artifact_type": "file",
87
+ "binding": "control_file",
88
+ "assertions": [
89
+ {
90
+ "name": "exists",
91
+ "status": "declared",
92
+ "evidence": [
93
+ "ev-002"
94
+ ]
95
+ },
96
+ {
97
+ "name": "readable",
98
+ "status": "declared",
99
+ "evidence": [
100
+ "ev-002"
101
+ ]
102
+ }
103
+ ]
104
+ }
105
+ ],
106
+ "outputs": [
107
+ {
108
+ "name": "output_results",
109
+ "artifact_type": "file",
110
+ "binding": "output_results",
111
+ "assertions": [
112
+ {
113
+ "name": "exists",
114
+ "status": "declared",
115
+ "evidence": [
116
+ "ev-003"
117
+ ]
118
+ },
119
+ {
120
+ "name": "non_empty",
121
+ "status": "declared",
122
+ "evidence": [
123
+ "ev-003"
124
+ ]
125
+ }
126
+ ]
127
+ },
128
+ {
129
+ "name": "output_dn",
130
+ "artifact_type": "file",
131
+ "binding": "output_dn",
132
+ "assertions": [
133
+ {
134
+ "name": "exists",
135
+ "status": "declared",
136
+ "evidence": [
137
+ "ev-004"
138
+ ]
139
+ },
140
+ {
141
+ "name": "non_empty",
142
+ "status": "declared",
143
+ "evidence": [
144
+ "ev-004"
145
+ ]
146
+ }
147
+ ]
148
+ }
149
+ ],
150
+ "validators": [
151
+ {
152
+ "name": "output_results_exists",
153
+ "artifact_type": "file",
154
+ "binding": "output_results",
155
+ "assertions": [
156
+ {
157
+ "name": "exists",
158
+ "status": "declared",
159
+ "evidence": [
160
+ "ev-003"
161
+ ]
162
+ }
163
+ ]
164
+ },
165
+ {
166
+ "name": "output_dn_exists",
167
+ "artifact_type": "file",
168
+ "binding": "output_dn",
169
+ "assertions": [
170
+ {
171
+ "name": "exists",
172
+ "status": "declared",
173
+ "evidence": [
174
+ "ev-004"
175
+ ]
176
+ }
177
+ ]
178
+ }
179
+ ],
180
+ "evidence": [
181
+ {
182
+ "id": "ev-001",
183
+ "field": "input_sequences",
184
+ "source_type": "target_interface",
185
+ "locator": "parameters[0].native_binding",
186
+ "excerpt": "ctl seqfile",
187
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
188
+ },
189
+ {
190
+ "id": "ev-002",
191
+ "field": "control_file",
192
+ "source_type": "target_interface",
193
+ "locator": "parameters[1].native_binding",
194
+ "excerpt": "ctl path",
195
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
196
+ },
197
+ {
198
+ "id": "ev-003",
199
+ "field": "output_results",
200
+ "source_type": "target_interface",
201
+ "locator": "parameters[2].native_binding",
202
+ "excerpt": "ctl outfile",
203
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
204
+ },
205
+ {
206
+ "id": "ev-004",
207
+ "field": "output_dn",
208
+ "source_type": "target_interface",
209
+ "locator": "parameters[3].native_binding",
210
+ "excerpt": "copied 2YN.dN",
211
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
212
+ }
213
+ ],
214
+ "execution_plan": {
215
+ "steps": [
216
+ {
217
+ "command": [
218
+ "bash",
219
+ "-lc",
220
+ {
221
+ "format": "cp '{input_sequences}' '{control_file}.seq' && cd \"$(dirname '{control_file}')\" && printf 'seqfile = yn00.ctl.seq\\noutfile = results.txt\\nverbose = 0\\nicode = 0\\nweighting = 0\\ncommonf3x4 = 0\\n' > yn00.ctl && yn00 yn00.ctl >/dev/null"
222
+ }
223
+ ]
224
+ }
225
+ ]
226
+ }
227
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/paml_pairwise_dn_ds_test.json.raw.txt ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "paml",
5
+ "version": "4.10.10",
6
+ "build": "h87e0c26_2",
7
+ "executable": "yn00",
8
+ "subcommand": null,
9
+ "environment": {
10
+ "dependencies": ["libgcc >=14"],
11
+ "execution_environment": "Compiled"
12
+ }
13
+ },
14
+ "endpoint": {
15
+ "name": "pairwise_dn_ds",
16
+ "description": "Estimate pairwise non-synonymous and synonymous substitution rates using the yn00 program from PAML."
17
+ },
18
+ "arguments": [
19
+ {
20
+ "name": "input_sequences",
21
+ "flag": null,
22
+ "kind": "positional",
23
+ "value_type": "path",
24
+ "required": true,
25
+ "position": 0,
26
+ "repeat": false,
27
+ "description": "Path to the input sequence file (codon alignment)."
28
+ },
29
+ {
30
+ "name": "control_file",
31
+ "flag": null,
32
+ "kind": "positional",
33
+ "value_type": "path",
34
+ "required": true,
35
+ "position": 1,
36
+ "repeat": false,
37
+ "description": "Path to the control file (yn00.ctl)."
38
+ },
39
+ {
40
+ "name": "output_results",
41
+ "flag": null,
42
+ "kind": "positional",
43
+ "value_type": "path",
44
+ "required": true,
45
+ "position": 2,
46
+ "repeat": false,
47
+ "description": "Path to the output results file (outfile)."
48
+ },
49
+ {
50
+ "name": "output_dn",
51
+ "flag": null,
52
+ "kind": "positional",
53
+ "value_type": "path",
54
+ "required": true,
55
+ "position": 3,
56
+ "repeat": false,
57
+ "description": "Path to the output dN matrix file (copied from 2YN.dN)."
58
+ }
59
+ ],
60
+ "inputs": [
61
+ {
62
+ "name": "input_sequences",
63
+ "artifact_type": "file",
64
+ "binding": "input_sequences",
65
+ "assertions": [
66
+ {
67
+ "name": "exists",
68
+ "status": "declared",
69
+ "evidence": ["ev-001"]
70
+ },
71
+ {
72
+ "name": "readable",
73
+ "status": "declared",
74
+ "evidence": ["ev-001"]
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "name": "control_file",
80
+ "artifact_type": "file",
81
+ "binding": "control_file",
82
+ "assertions": [
83
+ {
84
+ "name": "exists",
85
+ "status": "declared",
86
+ "evidence": ["ev-002"]
87
+ },
88
+ {
89
+ "name": "readable",
90
+ "status": "declared",
91
+ "evidence": ["ev-002"]
92
+ }
93
+ ]
94
+ }
95
+ ],
96
+ "outputs": [
97
+ {
98
+ "name": "output_results",
99
+ "artifact_type": "file",
100
+ "binding": "output_results",
101
+ "assertions": [
102
+ {
103
+ "name": "exists",
104
+ "status": "declared",
105
+ "evidence": ["ev-003"]
106
+ },
107
+ {
108
+ "name": "non_empty",
109
+ "status": "declared",
110
+ "evidence": ["ev-003"]
111
+ }
112
+ ]
113
+ },
114
+ {
115
+ "name": "output_dn",
116
+ "artifact_type": "file",
117
+ "binding": "output_dn",
118
+ "assertions": [
119
+ {
120
+ "name": "exists",
121
+ "status": "declared",
122
+ "evidence": ["ev-004"]
123
+ },
124
+ {
125
+ "name": "non_empty",
126
+ "status": "declared",
127
+ "evidence": ["ev-004"]
128
+ }
129
+ ]
130
+ }
131
+ ],
132
+ "validators": [
133
+ {
134
+ "name": "output_results_exists",
135
+ "artifact_type": "file",
136
+ "binding": "output_results",
137
+ "assertions": [
138
+ {
139
+ "name": "exists",
140
+ "status": "declared",
141
+ "evidence": ["ev-003"]
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "name": "output_dn_exists",
147
+ "artifact_type": "file",
148
+ "binding": "output_dn",
149
+ "assertions": [
150
+ {
151
+ "name": "exists",
152
+ "status": "declared",
153
+ "evidence": ["ev-004"]
154
+ }
155
+ ]
156
+ }
157
+ ],
158
+ "evidence": [
159
+ {
160
+ "id": "ev-001",
161
+ "field": "input_sequences",
162
+ "source_type": "target_interface",
163
+ "locator": "parameters[0].native_binding",
164
+ "excerpt": "ctl seqfile",
165
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
166
+ },
167
+ {
168
+ "id": "ev-002",
169
+ "field": "control_file",
170
+ "source_type": "target_interface",
171
+ "locator": "parameters[1].native_binding",
172
+ "excerpt": "ctl path",
173
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
174
+ },
175
+ {
176
+ "id": "ev-003",
177
+ "field": "output_results",
178
+ "source_type": "target_interface",
179
+ "locator": "parameters[2].native_binding",
180
+ "excerpt": "ctl outfile",
181
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
182
+ },
183
+ {
184
+ "id": "ev-004",
185
+ "field": "output_dn",
186
+ "source_type": "target_interface",
187
+ "locator": "parameters[3].native_binding",
188
+ "excerpt": "copied 2YN.dN",
189
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
190
+ }
191
+ ],
192
+ "execution_plan": {
193
+ "steps": [
194
+ {
195
+ "command": [
196
+ "bash",
197
+ "-lc",
198
+ {
199
+ "format": "cp '{input_sequences}' '{control_file}.seq' && cd \"$(dirname '{control_file}')\" && printf 'seqfile = yn00.ctl.seq\\noutfile = results.txt\\nverbose = 0\\nicode = 0\\nweighting = 0\\ncommonf3x4 = 0\\n' > yn00.ctl && yn00 yn00.ctl >/dev/null"
200
+ }
201
+ ]
202
+ }
203
+ ]
204
+ }
205
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/paml_pairwise_dn_ds_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "79f30ea7258ecd8610dd8f1d190dc45346aa92716e6b01a89c591037643c3250",
12
+ "elapsed_seconds": 7.044546127319336,
13
+ "usage": {
14
+ "prompt_tokens": 10250,
15
+ "completion_tokens": 1464,
16
+ "total_tokens": 11714,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 10250
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "52d1b2e7-bc29-4a46-9322-3382c759e0f6"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/parasail-python_global_align_test.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "parasail-python",
5
+ "version": "1.3.4",
6
+ "build": "py313h5565187_6",
7
+ "executable": "python3.13",
8
+ "subcommand": null,
9
+ "environment": {
10
+ "conda_channels": [
11
+ "bioconda",
12
+ "conda-forge"
13
+ ],
14
+ "dependencies": [
15
+ "libgcc >=14",
16
+ "libstdcxx >=14",
17
+ "libzlib >=1.3.1,<2.0a0",
18
+ "numpy",
19
+ "python >=3.13,<3.14.0a0",
20
+ "python_abi 3.13.* *_cp313"
21
+ ]
22
+ }
23
+ },
24
+ "endpoint": {
25
+ "name": "global_align",
26
+ "description": "Perform global pairwise sequence alignment using parasail NW trace striped 16 with gap open 10 and gap extension 1, outputting score, end positions, and CIGAR as JSON."
27
+ },
28
+ "arguments": [
29
+ {
30
+ "name": "sequence_a",
31
+ "flag": null,
32
+ "kind": "positional",
33
+ "value_type": "path",
34
+ "required": true,
35
+ "position": 1,
36
+ "repeat": false,
37
+ "description": "Path to FASTA file containing the first sequence."
38
+ },
39
+ {
40
+ "name": "sequence_b",
41
+ "flag": null,
42
+ "kind": "positional",
43
+ "value_type": "path",
44
+ "required": true,
45
+ "position": 2,
46
+ "repeat": false,
47
+ "description": "Path to FASTA file containing the second sequence."
48
+ },
49
+ {
50
+ "name": "output_json",
51
+ "flag": null,
52
+ "kind": "positional",
53
+ "value_type": "path",
54
+ "required": true,
55
+ "position": 3,
56
+ "repeat": false,
57
+ "description": "Path to output JSON file."
58
+ }
59
+ ],
60
+ "inputs": [
61
+ {
62
+ "name": "sequence_a",
63
+ "artifact_type": "fasta",
64
+ "binding": "sequence_a",
65
+ "assertions": [
66
+ {
67
+ "name": "exists",
68
+ "status": "declared",
69
+ "evidence": [
70
+ "ev_sequence_a_exists"
71
+ ]
72
+ },
73
+ {
74
+ "name": "readable",
75
+ "status": "declared",
76
+ "evidence": [
77
+ "ev_sequence_a_readable"
78
+ ]
79
+ },
80
+ {
81
+ "name": "fasta_format",
82
+ "status": "declared",
83
+ "evidence": [
84
+ "ev_sequence_a_fasta"
85
+ ]
86
+ }
87
+ ]
88
+ },
89
+ {
90
+ "name": "sequence_b",
91
+ "artifact_type": "fasta",
92
+ "binding": "sequence_b",
93
+ "assertions": [
94
+ {
95
+ "name": "exists",
96
+ "status": "declared",
97
+ "evidence": [
98
+ "ev_sequence_b_exists"
99
+ ]
100
+ },
101
+ {
102
+ "name": "readable",
103
+ "status": "declared",
104
+ "evidence": [
105
+ "ev_sequence_b_readable"
106
+ ]
107
+ },
108
+ {
109
+ "name": "fasta_format",
110
+ "status": "declared",
111
+ "evidence": [
112
+ "ev_sequence_b_fasta"
113
+ ]
114
+ }
115
+ ]
116
+ }
117
+ ],
118
+ "outputs": [
119
+ {
120
+ "name": "output_json",
121
+ "artifact_type": "json",
122
+ "binding": "output_json",
123
+ "assertions": [
124
+ {
125
+ "name": "writable",
126
+ "status": "declared",
127
+ "evidence": [
128
+ "ev_output_writable"
129
+ ]
130
+ },
131
+ {
132
+ "name": "json_format",
133
+ "status": "declared",
134
+ "evidence": [
135
+ "ev_output_json"
136
+ ]
137
+ }
138
+ ]
139
+ }
140
+ ],
141
+ "validators": [
142
+ {
143
+ "name": "output_json_valid",
144
+ "artifact_type": "json",
145
+ "binding": "output_json",
146
+ "assertions": [
147
+ {
148
+ "name": "valid_json",
149
+ "status": "declared",
150
+ "evidence": [
151
+ "ev_output_json_valid"
152
+ ]
153
+ }
154
+ ]
155
+ }
156
+ ],
157
+ "evidence": [
158
+ {
159
+ "id": "ev_sequence_a_exists",
160
+ "field": "inputs[sequence_a].assertions[exists]",
161
+ "source_type": "declared",
162
+ "locator": "method-neutral target interface",
163
+ "excerpt": "sequence_a required path",
164
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
165
+ },
166
+ {
167
+ "id": "ev_sequence_a_readable",
168
+ "field": "inputs[sequence_a].assertions[readable]",
169
+ "source_type": "declared",
170
+ "locator": "method-neutral target interface",
171
+ "excerpt": "sequence_a required path",
172
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
173
+ },
174
+ {
175
+ "id": "ev_sequence_a_fasta",
176
+ "field": "inputs[sequence_a].assertions[fasta_format]",
177
+ "source_type": "inferred",
178
+ "locator": "execution_plan steps[0] command: rd=lambda p:''.join(x.strip() for x in open(p) if not x.startswith('>'))",
179
+ "excerpt": "reads FASTA by skipping header lines",
180
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
181
+ },
182
+ {
183
+ "id": "ev_sequence_b_exists",
184
+ "field": "inputs[sequence_b].assertions[exists]",
185
+ "source_type": "declared",
186
+ "locator": "method-neutral target interface",
187
+ "excerpt": "sequence_b required path",
188
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
189
+ },
190
+ {
191
+ "id": "ev_sequence_b_readable",
192
+ "field": "inputs[sequence_b].assertions[readable]",
193
+ "source_type": "declared",
194
+ "locator": "method-neutral target interface",
195
+ "excerpt": "sequence_b required path",
196
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
197
+ },
198
+ {
199
+ "id": "ev_sequence_b_fasta",
200
+ "field": "inputs[sequence_b].assertions[fasta_format]",
201
+ "source_type": "inferred",
202
+ "locator": "execution_plan steps[0] command: rd=lambda p:''.join(x.strip() for x in open(p) if not x.startswith('>'))",
203
+ "excerpt": "reads FASTA by skipping header lines",
204
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
205
+ },
206
+ {
207
+ "id": "ev_output_writable",
208
+ "field": "outputs[output_json].assertions[writable]",
209
+ "source_type": "declared",
210
+ "locator": "method-neutral target interface",
211
+ "excerpt": "output_json required path",
212
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
213
+ },
214
+ {
215
+ "id": "ev_output_json",
216
+ "field": "outputs[output_json].assertions[json_format]",
217
+ "source_type": "inferred",
218
+ "locator": "execution_plan steps[0] command: open(sys.argv[3],'w').write(json.dumps(d,sort_keys=True)+'\\n')",
219
+ "excerpt": "writes JSON with json.dumps",
220
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
221
+ },
222
+ {
223
+ "id": "ev_output_json_valid",
224
+ "field": "validators[output_json_valid].assertions[valid_json]",
225
+ "source_type": "inferred",
226
+ "locator": "execution_plan steps[0] command: json.dumps(d,sort_keys=True)",
227
+ "excerpt": "uses json.dumps to produce valid JSON",
228
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
229
+ }
230
+ ],
231
+ "execution_plan": {
232
+ "steps": [
233
+ {
234
+ "command": [
235
+ "python3.13",
236
+ "-c",
237
+ "import json,parasail,sys; rd=lambda p:''.join(x.strip() for x in open(p) if not x.startswith('>')); r=parasail.nw_trace_striped_16(rd(sys.argv[1]),rd(sys.argv[2]),10,1,parasail.dnafull); d={'score':r.score,'end_query':r.end_query,'end_ref':r.end_ref,'cigar':r.cigar.decode.decode()}; open(sys.argv[3],'w').write(json.dumps(d,sort_keys=True)+'\\n')",
238
+ "{sequence_a}",
239
+ "{sequence_b}",
240
+ "{output_json}"
241
+ ]
242
+ }
243
+ ]
244
+ }
245
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/parasail-python_global_align_test.json.raw.txt ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "parasail-python",
5
+ "version": "1.3.4",
6
+ "build": "py313h5565187_6",
7
+ "executable": "python3.13",
8
+ "subcommand": null,
9
+ "environment": {
10
+ "conda_channels": ["bioconda", "conda-forge"],
11
+ "dependencies": ["libgcc >=14", "libstdcxx >=14", "libzlib >=1.3.1,<2.0a0", "numpy", "python >=3.13,<3.14.0a0", "python_abi 3.13.* *_cp313"]
12
+ }
13
+ },
14
+ "endpoint": {
15
+ "name": "global_align",
16
+ "description": "Perform global pairwise sequence alignment using parasail NW trace striped 16 with gap open 10 and gap extension 1, outputting score, end positions, and CIGAR as JSON."
17
+ },
18
+ "arguments": [
19
+ {
20
+ "name": "sequence_a",
21
+ "flag": null,
22
+ "kind": "positional",
23
+ "value_type": "path",
24
+ "required": true,
25
+ "position": 1,
26
+ "repeat": false,
27
+ "description": "Path to FASTA file containing the first sequence."
28
+ },
29
+ {
30
+ "name": "sequence_b",
31
+ "flag": null,
32
+ "kind": "positional",
33
+ "value_type": "path",
34
+ "required": true,
35
+ "position": 2,
36
+ "repeat": false,
37
+ "description": "Path to FASTA file containing the second sequence."
38
+ },
39
+ {
40
+ "name": "output_json",
41
+ "flag": null,
42
+ "kind": "positional",
43
+ "value_type": "path",
44
+ "required": true,
45
+ "position": 3,
46
+ "repeat": false,
47
+ "description": "Path to output JSON file."
48
+ }
49
+ ],
50
+ "inputs": [
51
+ {
52
+ "name": "sequence_a",
53
+ "artifact_type": "fasta",
54
+ "binding": "sequence_a",
55
+ "assertions": [
56
+ {
57
+ "name": "exists",
58
+ "status": "declared",
59
+ "evidence": ["ev_sequence_a_exists"]
60
+ },
61
+ {
62
+ "name": "readable",
63
+ "status": "declared",
64
+ "evidence": ["ev_sequence_a_readable"]
65
+ },
66
+ {
67
+ "name": "fasta_format",
68
+ "status": "declared",
69
+ "evidence": ["ev_sequence_a_fasta"]
70
+ }
71
+ ]
72
+ },
73
+ {
74
+ "name": "sequence_b",
75
+ "artifact_type": "fasta",
76
+ "binding": "sequence_b",
77
+ "assertions": [
78
+ {
79
+ "name": "exists",
80
+ "status": "declared",
81
+ "evidence": ["ev_sequence_b_exists"]
82
+ },
83
+ {
84
+ "name": "readable",
85
+ "status": "declared",
86
+ "evidence": ["ev_sequence_b_readable"]
87
+ },
88
+ {
89
+ "name": "fasta_format",
90
+ "status": "declared",
91
+ "evidence": ["ev_sequence_b_fasta"]
92
+ }
93
+ ]
94
+ }
95
+ ],
96
+ "outputs": [
97
+ {
98
+ "name": "output_json",
99
+ "artifact_type": "json",
100
+ "binding": "output_json",
101
+ "assertions": [
102
+ {
103
+ "name": "writable",
104
+ "status": "declared",
105
+ "evidence": ["ev_output_writable"]
106
+ },
107
+ {
108
+ "name": "json_format",
109
+ "status": "declared",
110
+ "evidence": ["ev_output_json"]
111
+ }
112
+ ]
113
+ }
114
+ ],
115
+ "validators": [
116
+ {
117
+ "name": "output_json_valid",
118
+ "artifact_type": "json",
119
+ "binding": "output_json",
120
+ "assertions": [
121
+ {
122
+ "name": "valid_json",
123
+ "status": "declared",
124
+ "evidence": ["ev_output_json_valid"]
125
+ }
126
+ ]
127
+ }
128
+ ],
129
+ "evidence": [
130
+ {
131
+ "id": "ev_sequence_a_exists",
132
+ "field": "inputs[sequence_a].assertions[exists]",
133
+ "source_type": "declared",
134
+ "locator": "method-neutral target interface",
135
+ "excerpt": "sequence_a required path",
136
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
137
+ },
138
+ {
139
+ "id": "ev_sequence_a_readable",
140
+ "field": "inputs[sequence_a].assertions[readable]",
141
+ "source_type": "declared",
142
+ "locator": "method-neutral target interface",
143
+ "excerpt": "sequence_a required path",
144
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
145
+ },
146
+ {
147
+ "id": "ev_sequence_a_fasta",
148
+ "field": "inputs[sequence_a].assertions[fasta_format]",
149
+ "source_type": "inferred",
150
+ "locator": "execution_plan steps[0] command: rd=lambda p:''.join(x.strip() for x in open(p) if not x.startswith('>'))",
151
+ "excerpt": "reads FASTA by skipping header lines",
152
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
153
+ },
154
+ {
155
+ "id": "ev_sequence_b_exists",
156
+ "field": "inputs[sequence_b].assertions[exists]",
157
+ "source_type": "declared",
158
+ "locator": "method-neutral target interface",
159
+ "excerpt": "sequence_b required path",
160
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
161
+ },
162
+ {
163
+ "id": "ev_sequence_b_readable",
164
+ "field": "inputs[sequence_b].assertions[readable]",
165
+ "source_type": "declared",
166
+ "locator": "method-neutral target interface",
167
+ "excerpt": "sequence_b required path",
168
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
169
+ },
170
+ {
171
+ "id": "ev_sequence_b_fasta",
172
+ "field": "inputs[sequence_b].assertions[fasta_format]",
173
+ "source_type": "inferred",
174
+ "locator": "execution_plan steps[0] command: rd=lambda p:''.join(x.strip() for x in open(p) if not x.startswith('>'))",
175
+ "excerpt": "reads FASTA by skipping header lines",
176
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
177
+ },
178
+ {
179
+ "id": "ev_output_writable",
180
+ "field": "outputs[output_json].assertions[writable]",
181
+ "source_type": "declared",
182
+ "locator": "method-neutral target interface",
183
+ "excerpt": "output_json required path",
184
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
185
+ },
186
+ {
187
+ "id": "ev_output_json",
188
+ "field": "outputs[output_json].assertions[json_format]",
189
+ "source_type": "inferred",
190
+ "locator": "execution_plan steps[0] command: open(sys.argv[3],'w').write(json.dumps(d,sort_keys=True)+'\\n')",
191
+ "excerpt": "writes JSON with json.dumps",
192
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
193
+ },
194
+ {
195
+ "id": "ev_output_json_valid",
196
+ "field": "validators[output_json_valid].assertions[valid_json]",
197
+ "source_type": "inferred",
198
+ "locator": "execution_plan steps[0] command: json.dumps(d,sort_keys=True)",
199
+ "excerpt": "uses json.dumps to produce valid JSON",
200
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
201
+ }
202
+ ],
203
+ "execution_plan": {
204
+ "steps": [
205
+ {
206
+ "command": [
207
+ "python3.13",
208
+ "-c",
209
+ "import json,parasail,sys; rd=lambda p:''.join(x.strip() for x in open(p) if not x.startswith('>')); r=parasail.nw_trace_striped_16(rd(sys.argv[1]),rd(sys.argv[2]),10,1,parasail.dnafull); d={'score':r.score,'end_query':r.end_query,'end_ref':r.end_ref,'cigar':r.cigar.decode.decode()}; open(sys.argv[3],'w').write(json.dumps(d,sort_keys=True)+'\\n')",
210
+ "{sequence_a}",
211
+ "{sequence_b}",
212
+ "{output_json}"
213
+ ]
214
+ }
215
+ ]
216
+ }
217
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/parasail-python_global_align_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "54c5783c75c8460a2e53891ef76b203a489d0be3a9b540464f7502d537ce3250",
12
+ "elapsed_seconds": 11.194429159164429,
13
+ "usage": {
14
+ "prompt_tokens": 11863,
15
+ "completion_tokens": 2049,
16
+ "total_tokens": 13912,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 11863
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "759d1f3f-e86a-4a4c-a5c5-899e97419d9b"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/picard_sort_sam_test.json ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "picard",
5
+ "version": "2.18.7",
6
+ "build": "py36_0",
7
+ "executable": "picard",
8
+ "subcommand": "SortSam",
9
+ "environment": "conda run -n bioenv_r_bioc"
10
+ },
11
+ "endpoint": {
12
+ "name": "sort_sam",
13
+ "description": "Sort coordinate order, create an index, then render SAM records for the semantic oracle."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_bam",
18
+ "flag": "INPUT=",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Input BAM file to be sorted."
25
+ },
26
+ {
27
+ "name": "output_bam",
28
+ "flag": "OUTPUT=",
29
+ "kind": "option",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": null,
33
+ "repeat": false,
34
+ "description": "Output sorted BAM file."
35
+ },
36
+ {
37
+ "name": "output_sam",
38
+ "flag": null,
39
+ "kind": "positional",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": 0,
43
+ "repeat": false,
44
+ "description": "Captured stdout from ViewSam, representing SAM records.",
45
+ "pass_to_cli": false
46
+ }
47
+ ],
48
+ "inputs": [
49
+ {
50
+ "name": "input_bam",
51
+ "artifact_type": "BAM",
52
+ "binding": "input_bam",
53
+ "assertions": [
54
+ {
55
+ "name": "exists",
56
+ "status": "declared"
57
+ },
58
+ {
59
+ "name": "valid_bam",
60
+ "status": "unknown"
61
+ }
62
+ ]
63
+ }
64
+ ],
65
+ "outputs": [
66
+ {
67
+ "name": "output_bam",
68
+ "artifact_type": "BAM",
69
+ "binding": "output_bam",
70
+ "assertions": [
71
+ {
72
+ "name": "exists",
73
+ "status": "declared"
74
+ },
75
+ {
76
+ "name": "sorted_coordinate",
77
+ "status": "declared"
78
+ },
79
+ {
80
+ "name": "indexed",
81
+ "status": "declared"
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "output_sam",
87
+ "artifact_type": "SAM",
88
+ "binding": "output_sam",
89
+ "capture": "stdout",
90
+ "assertions": [
91
+ {
92
+ "name": "exists",
93
+ "status": "declared"
94
+ },
95
+ {
96
+ "name": "valid_sam",
97
+ "status": "unknown"
98
+ }
99
+ ]
100
+ }
101
+ ],
102
+ "validators": [
103
+ {
104
+ "name": "bam_exists",
105
+ "artifact": "output_bam",
106
+ "assertion": "exists",
107
+ "status": "declared"
108
+ },
109
+ {
110
+ "name": "sam_exists",
111
+ "artifact": "output_sam",
112
+ "assertion": "exists",
113
+ "status": "declared"
114
+ }
115
+ ],
116
+ "evidence": [
117
+ {
118
+ "id": "ev1",
119
+ "field": "tool.executable",
120
+ "source_type": "help_text",
121
+ "locator": "picard --help",
122
+ "excerpt": "USAGE: PicardCommandLine <program name> [-h]",
123
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
124
+ },
125
+ {
126
+ "id": "ev2",
127
+ "field": "tool.subcommand",
128
+ "source_type": "help_text",
129
+ "locator": "picard --help",
130
+ "excerpt": "SortSam",
131
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
132
+ },
133
+ {
134
+ "id": "ev3",
135
+ "field": "endpoint.name",
136
+ "source_type": "target_interface",
137
+ "locator": "method-neutral target interface",
138
+ "excerpt": "sort_sam",
139
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
140
+ },
141
+ {
142
+ "id": "ev4",
143
+ "field": "arguments.input_bam.flag",
144
+ "source_type": "target_interface",
145
+ "locator": "native_binding",
146
+ "excerpt": "INPUT=",
147
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
148
+ },
149
+ {
150
+ "id": "ev5",
151
+ "field": "arguments.output_bam.flag",
152
+ "source_type": "target_interface",
153
+ "locator": "native_binding",
154
+ "excerpt": "OUTPUT=",
155
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
156
+ },
157
+ {
158
+ "id": "ev6",
159
+ "field": "arguments.output_sam.binding",
160
+ "source_type": "target_interface",
161
+ "locator": "native_binding",
162
+ "excerpt": "ViewSam stdout",
163
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
164
+ },
165
+ {
166
+ "id": "ev7",
167
+ "field": "execution_plan",
168
+ "source_type": "target_interface",
169
+ "locator": "execution_plan",
170
+ "excerpt": "Sort coordinate order, create an index, then render SAM records for the semantic oracle.",
171
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
172
+ }
173
+ ],
174
+ "execution_plan": {
175
+ "steps": [
176
+ {
177
+ "command": [
178
+ "picard",
179
+ "SortSam",
180
+ {
181
+ "format": "INPUT={input_bam}"
182
+ },
183
+ {
184
+ "format": "OUTPUT={output_bam}"
185
+ },
186
+ "SORT_ORDER=coordinate",
187
+ "CREATE_INDEX=true",
188
+ "VALIDATION_STRINGENCY=SILENT"
189
+ ]
190
+ },
191
+ {
192
+ "command": [
193
+ "picard",
194
+ "ViewSam",
195
+ {
196
+ "format": "I={output_bam}"
197
+ },
198
+ "ALIGNMENT_STATUS=All",
199
+ "PF_STATUS=All"
200
+ ],
201
+ "capture_stdout_to": "output_sam"
202
+ }
203
+ ]
204
+ }
205
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/picard_sort_sam_test.json.raw.txt ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "picard",
5
+ "version": "2.18.7",
6
+ "build": "py36_0",
7
+ "executable": "picard",
8
+ "subcommand": "SortSam",
9
+ "environment": "conda run -n bioenv_r_bioc"
10
+ },
11
+ "endpoint": {
12
+ "name": "sort_sam",
13
+ "description": "Sort coordinate order, create an index, then render SAM records for the semantic oracle."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_bam",
18
+ "flag": "INPUT=",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Input BAM file to be sorted."
25
+ },
26
+ {
27
+ "name": "output_bam",
28
+ "flag": "OUTPUT=",
29
+ "kind": "option",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": null,
33
+ "repeat": false,
34
+ "description": "Output sorted BAM file."
35
+ },
36
+ {
37
+ "name": "output_sam",
38
+ "flag": null,
39
+ "kind": "positional",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": 0,
43
+ "repeat": false,
44
+ "description": "Captured stdout from ViewSam, representing SAM records.",
45
+ "pass_to_cli": false
46
+ }
47
+ ],
48
+ "inputs": [
49
+ {
50
+ "name": "input_bam",
51
+ "artifact_type": "BAM",
52
+ "binding": "input_bam",
53
+ "assertions": [
54
+ {
55
+ "name": "exists",
56
+ "status": "declared"
57
+ },
58
+ {
59
+ "name": "valid_bam",
60
+ "status": "unknown"
61
+ }
62
+ ]
63
+ }
64
+ ],
65
+ "outputs": [
66
+ {
67
+ "name": "output_bam",
68
+ "artifact_type": "BAM",
69
+ "binding": "output_bam",
70
+ "assertions": [
71
+ {
72
+ "name": "exists",
73
+ "status": "declared"
74
+ },
75
+ {
76
+ "name": "sorted_coordinate",
77
+ "status": "declared"
78
+ },
79
+ {
80
+ "name": "indexed",
81
+ "status": "declared"
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "output_sam",
87
+ "artifact_type": "SAM",
88
+ "binding": "output_sam",
89
+ "capture": "stdout",
90
+ "assertions": [
91
+ {
92
+ "name": "exists",
93
+ "status": "declared"
94
+ },
95
+ {
96
+ "name": "valid_sam",
97
+ "status": "unknown"
98
+ }
99
+ ]
100
+ }
101
+ ],
102
+ "validators": [
103
+ {
104
+ "name": "bam_exists",
105
+ "artifact": "output_bam",
106
+ "assertion": "exists",
107
+ "status": "declared"
108
+ },
109
+ {
110
+ "name": "sam_exists",
111
+ "artifact": "output_sam",
112
+ "assertion": "exists",
113
+ "status": "declared"
114
+ }
115
+ ],
116
+ "evidence": [
117
+ {
118
+ "id": "ev1",
119
+ "field": "tool.executable",
120
+ "source_type": "help_text",
121
+ "locator": "picard --help",
122
+ "excerpt": "USAGE: PicardCommandLine <program name> [-h]",
123
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
124
+ },
125
+ {
126
+ "id": "ev2",
127
+ "field": "tool.subcommand",
128
+ "source_type": "help_text",
129
+ "locator": "picard --help",
130
+ "excerpt": "SortSam",
131
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
132
+ },
133
+ {
134
+ "id": "ev3",
135
+ "field": "endpoint.name",
136
+ "source_type": "target_interface",
137
+ "locator": "method-neutral target interface",
138
+ "excerpt": "sort_sam",
139
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
140
+ },
141
+ {
142
+ "id": "ev4",
143
+ "field": "arguments.input_bam.flag",
144
+ "source_type": "target_interface",
145
+ "locator": "native_binding",
146
+ "excerpt": "INPUT=",
147
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
148
+ },
149
+ {
150
+ "id": "ev5",
151
+ "field": "arguments.output_bam.flag",
152
+ "source_type": "target_interface",
153
+ "locator": "native_binding",
154
+ "excerpt": "OUTPUT=",
155
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
156
+ },
157
+ {
158
+ "id": "ev6",
159
+ "field": "arguments.output_sam.binding",
160
+ "source_type": "target_interface",
161
+ "locator": "native_binding",
162
+ "excerpt": "ViewSam stdout",
163
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
164
+ },
165
+ {
166
+ "id": "ev7",
167
+ "field": "execution_plan",
168
+ "source_type": "target_interface",
169
+ "locator": "execution_plan",
170
+ "excerpt": "Sort coordinate order, create an index, then render SAM records for the semantic oracle.",
171
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
172
+ }
173
+ ],
174
+ "execution_plan": {
175
+ "steps": [
176
+ {
177
+ "command": [
178
+ "picard",
179
+ "SortSam",
180
+ {
181
+ "format": "INPUT={input_bam}"
182
+ },
183
+ {
184
+ "format": "OUTPUT={output_bam}"
185
+ },
186
+ "SORT_ORDER=coordinate",
187
+ "CREATE_INDEX=true",
188
+ "VALIDATION_STRINGENCY=SILENT"
189
+ ]
190
+ },
191
+ {
192
+ "command": [
193
+ "picard",
194
+ "ViewSam",
195
+ {
196
+ "format": "I={output_bam}"
197
+ },
198
+ "ALIGNMENT_STATUS=All",
199
+ "PF_STATUS=All"
200
+ ],
201
+ "capture_stdout_to": "output_sam"
202
+ }
203
+ ]
204
+ }
205
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/picard_sort_sam_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "3d8cabe2afe03f67d93e71aaa5e19bccc557e3c0f91866f27516dbb9e561fd0a",
12
+ "elapsed_seconds": 6.974554061889648,
13
+ "usage": {
14
+ "prompt_tokens": 4366,
15
+ "completion_tokens": 1487,
16
+ "total_tokens": 5853,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 4366
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "82a7d558-931f-4d88-b7c7-6cf01857d4fe"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/portcullis_prepare_splice_inputs_test.json ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "portcullis",
5
+ "version": "1.2.4",
6
+ "build": "py311h6947f6e_5",
7
+ "executable": "portcullis",
8
+ "subcommand": "prep",
9
+ "environment": {
10
+ "PATH_PREPEND": "/225040511/miniconda3/envs/bioenv/bin"
11
+ }
12
+ },
13
+ "endpoint": {
14
+ "name": "prepare_splice_inputs",
15
+ "description": "Prepares input data so that it is suitable for junction analysis"
16
+ },
17
+ "arguments": [
18
+ {
19
+ "name": "reference_fasta",
20
+ "flag": null,
21
+ "kind": "positional",
22
+ "value_type": "path",
23
+ "required": true,
24
+ "position": 1,
25
+ "repeat": false,
26
+ "description": "Reference genome FASTA file"
27
+ },
28
+ {
29
+ "name": "input_bam",
30
+ "flag": null,
31
+ "kind": "positional",
32
+ "value_type": "path",
33
+ "required": true,
34
+ "position": 2,
35
+ "repeat": false,
36
+ "description": "Input BAM file"
37
+ },
38
+ {
39
+ "name": "output_dir",
40
+ "flag": "-o",
41
+ "kind": "option",
42
+ "value_type": "path",
43
+ "required": true,
44
+ "position": null,
45
+ "repeat": false,
46
+ "description": "Output directory"
47
+ }
48
+ ],
49
+ "inputs": [
50
+ {
51
+ "name": "reference_fasta",
52
+ "artifact_type": "fasta",
53
+ "binding": "reference_fasta",
54
+ "assertions": [
55
+ {
56
+ "name": "exists",
57
+ "status": "declared",
58
+ "evidence": [
59
+ "ev-001"
60
+ ]
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "input_bam",
66
+ "artifact_type": "bam",
67
+ "binding": "input_bam",
68
+ "assertions": [
69
+ {
70
+ "name": "exists",
71
+ "status": "declared",
72
+ "evidence": [
73
+ "ev-002"
74
+ ]
75
+ }
76
+ ]
77
+ }
78
+ ],
79
+ "outputs": [
80
+ {
81
+ "name": "output_dir",
82
+ "artifact_type": "directory",
83
+ "binding": "output_dir",
84
+ "assertions": [
85
+ {
86
+ "name": "created",
87
+ "status": "declared",
88
+ "evidence": [
89
+ "ev-003"
90
+ ]
91
+ }
92
+ ]
93
+ }
94
+ ],
95
+ "validators": [
96
+ {
97
+ "name": "output_dir_created",
98
+ "artifact_type": "directory",
99
+ "binding": "output_dir",
100
+ "assertions": [
101
+ {
102
+ "name": "exists",
103
+ "status": "declared",
104
+ "evidence": [
105
+ "ev-003"
106
+ ]
107
+ }
108
+ ]
109
+ }
110
+ ],
111
+ "evidence": [
112
+ {
113
+ "id": "ev-001",
114
+ "field": "reference_fasta",
115
+ "source_type": "target_interface",
116
+ "locator": "parameters[0]",
117
+ "excerpt": "reference_fasta: path, required, native_binding: genome positional",
118
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
119
+ },
120
+ {
121
+ "id": "ev-002",
122
+ "field": "input_bam",
123
+ "source_type": "target_interface",
124
+ "locator": "parameters[1]",
125
+ "excerpt": "input_bam: path, required, native_binding: bam positional",
126
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
127
+ },
128
+ {
129
+ "id": "ev-003",
130
+ "field": "output_dir",
131
+ "source_type": "target_interface",
132
+ "locator": "parameters[2]",
133
+ "excerpt": "output_dir: path, required, native_binding: -o",
134
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
135
+ }
136
+ ],
137
+ "execution_plan": {
138
+ "steps": [
139
+ {
140
+ "command": [
141
+ "portcullis",
142
+ "prep",
143
+ "-o",
144
+ "{output_dir}",
145
+ "--force",
146
+ "--copy",
147
+ "-t",
148
+ "1",
149
+ "{reference_fasta}",
150
+ "{input_bam}"
151
+ ],
152
+ "env": {
153
+ "PATH_PREPEND": "/225040511/miniconda3/envs/bioenv/bin"
154
+ }
155
+ }
156
+ ]
157
+ }
158
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/portcullis_prepare_splice_inputs_test.json.raw.txt ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "portcullis",
5
+ "version": "1.2.4",
6
+ "build": "py311h6947f6e_5",
7
+ "executable": "portcullis",
8
+ "subcommand": "prep",
9
+ "environment": {
10
+ "PATH_PREPEND": "/225040511/miniconda3/envs/bioenv/bin"
11
+ }
12
+ },
13
+ "endpoint": {
14
+ "name": "prepare_splice_inputs",
15
+ "description": "Prepares input data so that it is suitable for junction analysis"
16
+ },
17
+ "arguments": [
18
+ {
19
+ "name": "reference_fasta",
20
+ "flag": null,
21
+ "kind": "positional",
22
+ "value_type": "path",
23
+ "required": true,
24
+ "position": 1,
25
+ "repeat": false,
26
+ "description": "Reference genome FASTA file"
27
+ },
28
+ {
29
+ "name": "input_bam",
30
+ "flag": null,
31
+ "kind": "positional",
32
+ "value_type": "path",
33
+ "required": true,
34
+ "position": 2,
35
+ "repeat": false,
36
+ "description": "Input BAM file"
37
+ },
38
+ {
39
+ "name": "output_dir",
40
+ "flag": "-o",
41
+ "kind": "option",
42
+ "value_type": "path",
43
+ "required": true,
44
+ "position": null,
45
+ "repeat": false,
46
+ "description": "Output directory"
47
+ }
48
+ ],
49
+ "inputs": [
50
+ {
51
+ "name": "reference_fasta",
52
+ "artifact_type": "fasta",
53
+ "binding": "reference_fasta",
54
+ "assertions": [
55
+ {
56
+ "name": "exists",
57
+ "status": "declared",
58
+ "evidence": ["ev-001"]
59
+ }
60
+ ]
61
+ },
62
+ {
63
+ "name": "input_bam",
64
+ "artifact_type": "bam",
65
+ "binding": "input_bam",
66
+ "assertions": [
67
+ {
68
+ "name": "exists",
69
+ "status": "declared",
70
+ "evidence": ["ev-002"]
71
+ }
72
+ ]
73
+ }
74
+ ],
75
+ "outputs": [
76
+ {
77
+ "name": "output_dir",
78
+ "artifact_type": "directory",
79
+ "binding": "output_dir",
80
+ "assertions": [
81
+ {
82
+ "name": "created",
83
+ "status": "declared",
84
+ "evidence": ["ev-003"]
85
+ }
86
+ ]
87
+ }
88
+ ],
89
+ "validators": [
90
+ {
91
+ "name": "output_dir_created",
92
+ "artifact_type": "directory",
93
+ "binding": "output_dir",
94
+ "assertions": [
95
+ {
96
+ "name": "exists",
97
+ "status": "declared",
98
+ "evidence": ["ev-003"]
99
+ }
100
+ ]
101
+ }
102
+ ],
103
+ "evidence": [
104
+ {
105
+ "id": "ev-001",
106
+ "field": "reference_fasta",
107
+ "source_type": "target_interface",
108
+ "locator": "parameters[0]",
109
+ "excerpt": "reference_fasta: path, required, native_binding: genome positional",
110
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
111
+ },
112
+ {
113
+ "id": "ev-002",
114
+ "field": "input_bam",
115
+ "source_type": "target_interface",
116
+ "locator": "parameters[1]",
117
+ "excerpt": "input_bam: path, required, native_binding: bam positional",
118
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
119
+ },
120
+ {
121
+ "id": "ev-003",
122
+ "field": "output_dir",
123
+ "source_type": "target_interface",
124
+ "locator": "parameters[2]",
125
+ "excerpt": "output_dir: path, required, native_binding: -o",
126
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
127
+ }
128
+ ],
129
+ "execution_plan": {
130
+ "steps": [
131
+ {
132
+ "command": [
133
+ "portcullis",
134
+ "prep",
135
+ "-o",
136
+ "{output_dir}",
137
+ "--force",
138
+ "--copy",
139
+ "-t",
140
+ "1",
141
+ "{reference_fasta}",
142
+ "{input_bam}"
143
+ ],
144
+ "env": {
145
+ "PATH_PREPEND": "/225040511/miniconda3/envs/bioenv/bin"
146
+ }
147
+ }
148
+ ]
149
+ }
150
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/portcullis_prepare_splice_inputs_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "0dfbc9bd46d8949912dcb7fc93596bab2a26bb2a312b7d8199fef20252e14bf5",
12
+ "elapsed_seconds": 5.290838003158569,
13
+ "usage": {
14
+ "prompt_tokens": 9026,
15
+ "completion_tokens": 1029,
16
+ "total_tokens": 10055,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 9026
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "f9580e51-7192-4310-9ace-ab32a1ec9355"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/prank_align_proteins_test.json ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "prank",
5
+ "version": "251117",
6
+ "build": "hd63eeec_0",
7
+ "executable": "prank",
8
+ "subcommand": null,
9
+ "environment": "conda run -n bioenv_cli"
10
+ },
11
+ "endpoint": {
12
+ "name": "align_proteins",
13
+ "description": "Align protein sequences using PRANK, with FASTA output, one iteration, and quiet mode."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_fasta",
18
+ "flag": "-d=",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Input sequence file in FASTA format."
25
+ },
26
+ {
27
+ "name": "output_prefix",
28
+ "flag": "-o=",
29
+ "kind": "option",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": null,
33
+ "repeat": false,
34
+ "description": "Output file prefix."
35
+ },
36
+ {
37
+ "name": "output_format",
38
+ "flag": "-f=fasta",
39
+ "kind": "option",
40
+ "value_type": "string",
41
+ "required": false,
42
+ "position": null,
43
+ "repeat": false,
44
+ "description": "Output format fixed to FASTA."
45
+ },
46
+ {
47
+ "name": "once",
48
+ "flag": "-once",
49
+ "kind": "switch",
50
+ "value_type": "boolean",
51
+ "required": false,
52
+ "position": null,
53
+ "repeat": false,
54
+ "description": "Run only once (same as -iterate=1)."
55
+ },
56
+ {
57
+ "name": "quiet",
58
+ "flag": "-quiet",
59
+ "kind": "switch",
60
+ "value_type": "boolean",
61
+ "required": false,
62
+ "position": null,
63
+ "repeat": false,
64
+ "description": "Suppress non-essential output."
65
+ }
66
+ ],
67
+ "inputs": [
68
+ {
69
+ "name": "input_fasta",
70
+ "artifact_type": "file",
71
+ "binding": "input_fasta",
72
+ "assertions": [
73
+ {
74
+ "name": "exists",
75
+ "status": "declared",
76
+ "description": "Input file must exist."
77
+ },
78
+ {
79
+ "name": "fasta_format",
80
+ "status": "declared",
81
+ "description": "Input file must be in FASTA format."
82
+ }
83
+ ]
84
+ }
85
+ ],
86
+ "outputs": [
87
+ {
88
+ "name": "output_alignment",
89
+ "artifact_type": "file",
90
+ "binding": "output_prefix",
91
+ "assertions": [
92
+ {
93
+ "name": "exists",
94
+ "status": "declared",
95
+ "description": "Output alignment file must be created."
96
+ },
97
+ {
98
+ "name": "fasta_format",
99
+ "status": "declared",
100
+ "description": "Output alignment file must be in FASTA format."
101
+ }
102
+ ]
103
+ }
104
+ ],
105
+ "validators": [
106
+ {
107
+ "name": "output_file_created",
108
+ "artifact_type": "file",
109
+ "binding": "output_prefix",
110
+ "assertions": [
111
+ {
112
+ "name": "exists",
113
+ "status": "declared",
114
+ "description": "Output file must exist after execution."
115
+ }
116
+ ]
117
+ }
118
+ ],
119
+ "evidence": [
120
+ {
121
+ "id": "ev1",
122
+ "field": "arguments",
123
+ "source_type": "help_text",
124
+ "locator": "prank --help",
125
+ "excerpt": "-d=sequence_file (in FASTA format)",
126
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
127
+ },
128
+ {
129
+ "id": "ev2",
130
+ "field": "arguments",
131
+ "source_type": "help_text",
132
+ "locator": "prank --help",
133
+ "excerpt": "-o=output_file [default: 'output']",
134
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
135
+ },
136
+ {
137
+ "id": "ev3",
138
+ "field": "arguments",
139
+ "source_type": "help_text",
140
+ "locator": "prank --help",
141
+ "excerpt": "-f=output_format ['fasta' (default), 'phylipi', 'phylips', 'paml', 'nexus']",
142
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
143
+ },
144
+ {
145
+ "id": "ev4",
146
+ "field": "arguments",
147
+ "source_type": "help_text",
148
+ "locator": "prank --help",
149
+ "excerpt": "-once [run only once; same as -iterate=1]",
150
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
151
+ },
152
+ {
153
+ "id": "ev5",
154
+ "field": "arguments",
155
+ "source_type": "help_text",
156
+ "locator": "prank --help",
157
+ "excerpt": "-quiet",
158
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
159
+ }
160
+ ],
161
+ "execution_plan": {
162
+ "steps": [
163
+ {
164
+ "command": [
165
+ "prank",
166
+ {
167
+ "format": "-d={input_fasta}"
168
+ },
169
+ {
170
+ "format": "-o={output_prefix}"
171
+ },
172
+ "-f=fasta",
173
+ "-once",
174
+ "-quiet"
175
+ ]
176
+ }
177
+ ]
178
+ }
179
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/prank_align_proteins_test.json.raw.txt ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "prank",
5
+ "version": "251117",
6
+ "build": "hd63eeec_0",
7
+ "executable": "prank",
8
+ "subcommand": null,
9
+ "environment": "conda run -n bioenv_cli"
10
+ },
11
+ "endpoint": {
12
+ "name": "align_proteins",
13
+ "description": "Align protein sequences using PRANK, with FASTA output, one iteration, and quiet mode."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_fasta",
18
+ "flag": "-d=",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Input sequence file in FASTA format."
25
+ },
26
+ {
27
+ "name": "output_prefix",
28
+ "flag": "-o=",
29
+ "kind": "option",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": null,
33
+ "repeat": false,
34
+ "description": "Output file prefix."
35
+ },
36
+ {
37
+ "name": "output_format",
38
+ "flag": "-f=fasta",
39
+ "kind": "option",
40
+ "value_type": "string",
41
+ "required": false,
42
+ "position": null,
43
+ "repeat": false,
44
+ "description": "Output format fixed to FASTA."
45
+ },
46
+ {
47
+ "name": "once",
48
+ "flag": "-once",
49
+ "kind": "switch",
50
+ "value_type": "boolean",
51
+ "required": false,
52
+ "position": null,
53
+ "repeat": false,
54
+ "description": "Run only once (same as -iterate=1)."
55
+ },
56
+ {
57
+ "name": "quiet",
58
+ "flag": "-quiet",
59
+ "kind": "switch",
60
+ "value_type": "boolean",
61
+ "required": false,
62
+ "position": null,
63
+ "repeat": false,
64
+ "description": "Suppress non-essential output."
65
+ }
66
+ ],
67
+ "inputs": [
68
+ {
69
+ "name": "input_fasta",
70
+ "artifact_type": "file",
71
+ "binding": "input_fasta",
72
+ "assertions": [
73
+ {
74
+ "name": "exists",
75
+ "status": "declared",
76
+ "description": "Input file must exist."
77
+ },
78
+ {
79
+ "name": "fasta_format",
80
+ "status": "declared",
81
+ "description": "Input file must be in FASTA format."
82
+ }
83
+ ]
84
+ }
85
+ ],
86
+ "outputs": [
87
+ {
88
+ "name": "output_alignment",
89
+ "artifact_type": "file",
90
+ "binding": "output_prefix",
91
+ "assertions": [
92
+ {
93
+ "name": "exists",
94
+ "status": "declared",
95
+ "description": "Output alignment file must be created."
96
+ },
97
+ {
98
+ "name": "fasta_format",
99
+ "status": "declared",
100
+ "description": "Output alignment file must be in FASTA format."
101
+ }
102
+ ]
103
+ }
104
+ ],
105
+ "validators": [
106
+ {
107
+ "name": "output_file_created",
108
+ "artifact_type": "file",
109
+ "binding": "output_prefix",
110
+ "assertions": [
111
+ {
112
+ "name": "exists",
113
+ "status": "declared",
114
+ "description": "Output file must exist after execution."
115
+ }
116
+ ]
117
+ }
118
+ ],
119
+ "evidence": [
120
+ {
121
+ "id": "ev1",
122
+ "field": "arguments",
123
+ "source_type": "help_text",
124
+ "locator": "prank --help",
125
+ "excerpt": "-d=sequence_file (in FASTA format)",
126
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
127
+ },
128
+ {
129
+ "id": "ev2",
130
+ "field": "arguments",
131
+ "source_type": "help_text",
132
+ "locator": "prank --help",
133
+ "excerpt": "-o=output_file [default: 'output']",
134
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
135
+ },
136
+ {
137
+ "id": "ev3",
138
+ "field": "arguments",
139
+ "source_type": "help_text",
140
+ "locator": "prank --help",
141
+ "excerpt": "-f=output_format ['fasta' (default), 'phylipi', 'phylips', 'paml', 'nexus']",
142
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
143
+ },
144
+ {
145
+ "id": "ev4",
146
+ "field": "arguments",
147
+ "source_type": "help_text",
148
+ "locator": "prank --help",
149
+ "excerpt": "-once [run only once; same as -iterate=1]",
150
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
151
+ },
152
+ {
153
+ "id": "ev5",
154
+ "field": "arguments",
155
+ "source_type": "help_text",
156
+ "locator": "prank --help",
157
+ "excerpt": "-quiet",
158
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
159
+ }
160
+ ],
161
+ "execution_plan": {
162
+ "steps": [
163
+ {
164
+ "command": [
165
+ "prank",
166
+ {
167
+ "format": "-d={input_fasta}"
168
+ },
169
+ {
170
+ "format": "-o={output_prefix}"
171
+ },
172
+ "-f=fasta",
173
+ "-once",
174
+ "-quiet"
175
+ ]
176
+ }
177
+ ]
178
+ }
179
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/prank_align_proteins_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "e40753483857cbbf015c374349b40fd478fdc95f686b10f8826b45b375d565ed",
12
+ "elapsed_seconds": 7.035786867141724,
13
+ "usage": {
14
+ "prompt_tokens": 1263,
15
+ "completion_tokens": 1285,
16
+ "total_tokens": 2548,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 1263
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "d04ba5b5-e00b-42ff-af9c-00787a088d18"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/prophyle_index_and_classify_reads_test.json ADDED
@@ -0,0 +1,235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "prophyle",
5
+ "version": "0.3.3.2",
6
+ "build": "py312hdcc493e_4",
7
+ "executable": "prophyle",
8
+ "subcommand": "index/classify",
9
+ "environment": "conda"
10
+ },
11
+ "endpoint": {
12
+ "name": "index_and_classify_reads",
13
+ "description": "Generate both the index and classification calls; keep k=15, one worker, and Kraken output fixed for deterministic comparison."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "library_dir",
18
+ "flag": "-g",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Path to the library directory containing reference genomes."
25
+ },
26
+ {
27
+ "name": "tree_file",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": 1,
33
+ "repeat": false,
34
+ "description": "Path to the input tree file (Newick format)."
35
+ },
36
+ {
37
+ "name": "reads_fasta",
38
+ "flag": null,
39
+ "kind": "positional",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": 2,
43
+ "repeat": false,
44
+ "description": "Path to the input reads file in FASTA format."
45
+ },
46
+ {
47
+ "name": "index_dir",
48
+ "flag": null,
49
+ "kind": "positional",
50
+ "value_type": "path",
51
+ "required": true,
52
+ "position": 3,
53
+ "repeat": false,
54
+ "description": "Path to the output directory for the index."
55
+ },
56
+ {
57
+ "name": "output_kraken",
58
+ "flag": null,
59
+ "kind": "positional",
60
+ "value_type": "path",
61
+ "required": true,
62
+ "position": 4,
63
+ "repeat": false,
64
+ "description": "Path to the output Kraken classification file (captured from stdout)."
65
+ }
66
+ ],
67
+ "inputs": [
68
+ {
69
+ "name": "library_dir",
70
+ "artifact_type": "directory",
71
+ "binding": "library_dir",
72
+ "assertions": [
73
+ {
74
+ "name": "exists",
75
+ "status": "inferred",
76
+ "description": "Input directory must exist."
77
+ }
78
+ ]
79
+ },
80
+ {
81
+ "name": "tree_file",
82
+ "artifact_type": "file",
83
+ "binding": "tree_file",
84
+ "assertions": [
85
+ {
86
+ "name": "exists",
87
+ "status": "inferred",
88
+ "description": "Input tree file must exist."
89
+ }
90
+ ]
91
+ },
92
+ {
93
+ "name": "reads_fasta",
94
+ "artifact_type": "file",
95
+ "binding": "reads_fasta",
96
+ "assertions": [
97
+ {
98
+ "name": "exists",
99
+ "status": "inferred",
100
+ "description": "Input reads file must exist."
101
+ }
102
+ ]
103
+ }
104
+ ],
105
+ "outputs": [
106
+ {
107
+ "name": "index_dir",
108
+ "artifact_type": "directory",
109
+ "binding": "index_dir",
110
+ "assertions": [
111
+ {
112
+ "name": "created",
113
+ "status": "inferred",
114
+ "description": "Index directory is created by the index step."
115
+ }
116
+ ]
117
+ },
118
+ {
119
+ "name": "output_kraken",
120
+ "artifact_type": "file",
121
+ "binding": "output_kraken",
122
+ "assertions": [
123
+ {
124
+ "name": "created",
125
+ "status": "inferred",
126
+ "description": "Output Kraken file is created by capturing stdout from classify step."
127
+ }
128
+ ]
129
+ }
130
+ ],
131
+ "validators": [
132
+ {
133
+ "name": "output_kraken_nonempty",
134
+ "artifact_type": "file",
135
+ "binding": "output_kraken",
136
+ "assertions": [
137
+ {
138
+ "name": "nonempty",
139
+ "status": "inferred",
140
+ "description": "Output Kraken file should not be empty."
141
+ }
142
+ ]
143
+ }
144
+ ],
145
+ "evidence": [
146
+ {
147
+ "id": "ev1",
148
+ "field": "tool.executable",
149
+ "source_type": "conda_search",
150
+ "locator": "conda search -c bioconda -c conda-forge prophyle --info",
151
+ "excerpt": "prophyle 0.3.3.2 py312hdcc493e_4",
152
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
153
+ },
154
+ {
155
+ "id": "ev2",
156
+ "field": "arguments[0].flag",
157
+ "source_type": "target_interface",
158
+ "locator": "method-neutral target interface",
159
+ "excerpt": "native_binding: -g",
160
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
161
+ },
162
+ {
163
+ "id": "ev3",
164
+ "field": "arguments[1].kind",
165
+ "source_type": "target_interface",
166
+ "locator": "method-neutral target interface",
167
+ "excerpt": "native_binding: index positional",
168
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
169
+ },
170
+ {
171
+ "id": "ev4",
172
+ "field": "arguments[2].kind",
173
+ "source_type": "target_interface",
174
+ "locator": "method-neutral target interface",
175
+ "excerpt": "native_binding: classify positional",
176
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
177
+ },
178
+ {
179
+ "id": "ev5",
180
+ "field": "arguments[3].kind",
181
+ "source_type": "target_interface",
182
+ "locator": "method-neutral target interface",
183
+ "excerpt": "native_binding: index positional",
184
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
185
+ },
186
+ {
187
+ "id": "ev6",
188
+ "field": "arguments[4].binding",
189
+ "source_type": "target_interface",
190
+ "locator": "method-neutral target interface",
191
+ "excerpt": "native_binding: stdout",
192
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
193
+ },
194
+ {
195
+ "id": "ev7",
196
+ "field": "execution_plan",
197
+ "source_type": "target_interface",
198
+ "locator": "method-neutral target interface",
199
+ "excerpt": "execution_plan: steps: ...",
200
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
201
+ }
202
+ ],
203
+ "execution_plan": {
204
+ "steps": [
205
+ {
206
+ "command": [
207
+ "prophyle",
208
+ "index",
209
+ "-A",
210
+ "-g",
211
+ "{library_dir}",
212
+ "-j",
213
+ "1",
214
+ "-k",
215
+ "15",
216
+ "{tree_file}",
217
+ "{index_dir}"
218
+ ]
219
+ },
220
+ {
221
+ "command": [
222
+ "prophyle",
223
+ "classify",
224
+ "-k",
225
+ "15",
226
+ "-f",
227
+ "kraken",
228
+ "{index_dir}",
229
+ "{reads_fasta}"
230
+ ],
231
+ "capture_stdout_to": "output_kraken"
232
+ }
233
+ ]
234
+ }
235
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/prophyle_index_and_classify_reads_test.json.raw.txt ADDED
@@ -0,0 +1,235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "prophyle",
5
+ "version": "0.3.3.2",
6
+ "build": "py312hdcc493e_4",
7
+ "executable": "prophyle",
8
+ "subcommand": "index/classify",
9
+ "environment": "conda"
10
+ },
11
+ "endpoint": {
12
+ "name": "index_and_classify_reads",
13
+ "description": "Generate both the index and classification calls; keep k=15, one worker, and Kraken output fixed for deterministic comparison."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "library_dir",
18
+ "flag": "-g",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Path to the library directory containing reference genomes."
25
+ },
26
+ {
27
+ "name": "tree_file",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": 1,
33
+ "repeat": false,
34
+ "description": "Path to the input tree file (Newick format)."
35
+ },
36
+ {
37
+ "name": "reads_fasta",
38
+ "flag": null,
39
+ "kind": "positional",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": 2,
43
+ "repeat": false,
44
+ "description": "Path to the input reads file in FASTA format."
45
+ },
46
+ {
47
+ "name": "index_dir",
48
+ "flag": null,
49
+ "kind": "positional",
50
+ "value_type": "path",
51
+ "required": true,
52
+ "position": 3,
53
+ "repeat": false,
54
+ "description": "Path to the output directory for the index."
55
+ },
56
+ {
57
+ "name": "output_kraken",
58
+ "flag": null,
59
+ "kind": "positional",
60
+ "value_type": "path",
61
+ "required": true,
62
+ "position": 4,
63
+ "repeat": false,
64
+ "description": "Path to the output Kraken classification file (captured from stdout)."
65
+ }
66
+ ],
67
+ "inputs": [
68
+ {
69
+ "name": "library_dir",
70
+ "artifact_type": "directory",
71
+ "binding": "library_dir",
72
+ "assertions": [
73
+ {
74
+ "name": "exists",
75
+ "status": "inferred",
76
+ "description": "Input directory must exist."
77
+ }
78
+ ]
79
+ },
80
+ {
81
+ "name": "tree_file",
82
+ "artifact_type": "file",
83
+ "binding": "tree_file",
84
+ "assertions": [
85
+ {
86
+ "name": "exists",
87
+ "status": "inferred",
88
+ "description": "Input tree file must exist."
89
+ }
90
+ ]
91
+ },
92
+ {
93
+ "name": "reads_fasta",
94
+ "artifact_type": "file",
95
+ "binding": "reads_fasta",
96
+ "assertions": [
97
+ {
98
+ "name": "exists",
99
+ "status": "inferred",
100
+ "description": "Input reads file must exist."
101
+ }
102
+ ]
103
+ }
104
+ ],
105
+ "outputs": [
106
+ {
107
+ "name": "index_dir",
108
+ "artifact_type": "directory",
109
+ "binding": "index_dir",
110
+ "assertions": [
111
+ {
112
+ "name": "created",
113
+ "status": "inferred",
114
+ "description": "Index directory is created by the index step."
115
+ }
116
+ ]
117
+ },
118
+ {
119
+ "name": "output_kraken",
120
+ "artifact_type": "file",
121
+ "binding": "output_kraken",
122
+ "assertions": [
123
+ {
124
+ "name": "created",
125
+ "status": "inferred",
126
+ "description": "Output Kraken file is created by capturing stdout from classify step."
127
+ }
128
+ ]
129
+ }
130
+ ],
131
+ "validators": [
132
+ {
133
+ "name": "output_kraken_nonempty",
134
+ "artifact_type": "file",
135
+ "binding": "output_kraken",
136
+ "assertions": [
137
+ {
138
+ "name": "nonempty",
139
+ "status": "inferred",
140
+ "description": "Output Kraken file should not be empty."
141
+ }
142
+ ]
143
+ }
144
+ ],
145
+ "evidence": [
146
+ {
147
+ "id": "ev1",
148
+ "field": "tool.executable",
149
+ "source_type": "conda_search",
150
+ "locator": "conda search -c bioconda -c conda-forge prophyle --info",
151
+ "excerpt": "prophyle 0.3.3.2 py312hdcc493e_4",
152
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
153
+ },
154
+ {
155
+ "id": "ev2",
156
+ "field": "arguments[0].flag",
157
+ "source_type": "target_interface",
158
+ "locator": "method-neutral target interface",
159
+ "excerpt": "native_binding: -g",
160
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
161
+ },
162
+ {
163
+ "id": "ev3",
164
+ "field": "arguments[1].kind",
165
+ "source_type": "target_interface",
166
+ "locator": "method-neutral target interface",
167
+ "excerpt": "native_binding: index positional",
168
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
169
+ },
170
+ {
171
+ "id": "ev4",
172
+ "field": "arguments[2].kind",
173
+ "source_type": "target_interface",
174
+ "locator": "method-neutral target interface",
175
+ "excerpt": "native_binding: classify positional",
176
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
177
+ },
178
+ {
179
+ "id": "ev5",
180
+ "field": "arguments[3].kind",
181
+ "source_type": "target_interface",
182
+ "locator": "method-neutral target interface",
183
+ "excerpt": "native_binding: index positional",
184
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
185
+ },
186
+ {
187
+ "id": "ev6",
188
+ "field": "arguments[4].binding",
189
+ "source_type": "target_interface",
190
+ "locator": "method-neutral target interface",
191
+ "excerpt": "native_binding: stdout",
192
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
193
+ },
194
+ {
195
+ "id": "ev7",
196
+ "field": "execution_plan",
197
+ "source_type": "target_interface",
198
+ "locator": "method-neutral target interface",
199
+ "excerpt": "execution_plan: steps: ...",
200
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
201
+ }
202
+ ],
203
+ "execution_plan": {
204
+ "steps": [
205
+ {
206
+ "command": [
207
+ "prophyle",
208
+ "index",
209
+ "-A",
210
+ "-g",
211
+ "{library_dir}",
212
+ "-j",
213
+ "1",
214
+ "-k",
215
+ "15",
216
+ "{tree_file}",
217
+ "{index_dir}"
218
+ ]
219
+ },
220
+ {
221
+ "command": [
222
+ "prophyle",
223
+ "classify",
224
+ "-k",
225
+ "15",
226
+ "-f",
227
+ "kraken",
228
+ "{index_dir}",
229
+ "{reads_fasta}"
230
+ ],
231
+ "capture_stdout_to": "output_kraken"
232
+ }
233
+ ]
234
+ }
235
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/prophyle_index_and_classify_reads_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "05244b70bf4243c31ccd4e3cad2e40ddaae83f28cea0f1fee803107ad3b123de",
12
+ "elapsed_seconds": 8.363278865814209,
13
+ "usage": {
14
+ "prompt_tokens": 7545,
15
+ "completion_tokens": 1734,
16
+ "total_tokens": 9279,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 7545
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "881d449d-431a-4c30-a1fd-f57904263d7d"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyfastx_fasta_statistics_test.json ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "pyfastx",
5
+ "version": "2.3.1",
6
+ "build": "py310hfe4f656_0",
7
+ "executable": "pyfastx",
8
+ "subcommand": "stat",
9
+ "environment": "conda run -n bioenv_cli"
10
+ },
11
+ "endpoint": {
12
+ "name": "fasta_statistics",
13
+ "description": "Show detailed statistics information of fasta file"
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_fasta",
18
+ "flag": null,
19
+ "kind": "positional",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": 1,
23
+ "repeat": false,
24
+ "description": "Input FASTA file"
25
+ },
26
+ {
27
+ "name": "output_tsv",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": null,
33
+ "repeat": false,
34
+ "description": "Output TSV file (captured from stdout)",
35
+ "pass_to_cli": false
36
+ }
37
+ ],
38
+ "inputs": [
39
+ {
40
+ "name": "input_fasta",
41
+ "artifact_type": "FASTA",
42
+ "binding": "input_fasta",
43
+ "assertions": [
44
+ {
45
+ "name": "exists",
46
+ "status": "declared",
47
+ "evidence": "ev_input_exists"
48
+ },
49
+ {
50
+ "name": "valid_fasta",
51
+ "status": "inferred",
52
+ "evidence": "ev_input_valid"
53
+ }
54
+ ]
55
+ }
56
+ ],
57
+ "outputs": [
58
+ {
59
+ "name": "output_tsv",
60
+ "artifact_type": "TSV",
61
+ "binding": "output_tsv",
62
+ "capture": "stdout",
63
+ "assertions": [
64
+ {
65
+ "name": "non_empty",
66
+ "status": "inferred",
67
+ "evidence": "ev_output_nonempty"
68
+ },
69
+ {
70
+ "name": "valid_tsv",
71
+ "status": "inferred",
72
+ "evidence": "ev_output_valid"
73
+ }
74
+ ]
75
+ }
76
+ ],
77
+ "validators": [
78
+ {
79
+ "name": "input_fasta_exists",
80
+ "type": "file_exists",
81
+ "target": "input_fasta",
82
+ "status": "declared",
83
+ "evidence": "ev_input_exists"
84
+ },
85
+ {
86
+ "name": "output_tsv_non_empty",
87
+ "type": "non_empty",
88
+ "target": "output_tsv",
89
+ "status": "inferred",
90
+ "evidence": "ev_output_nonempty"
91
+ }
92
+ ],
93
+ "evidence": [
94
+ {
95
+ "id": "ev_input_exists",
96
+ "field": "input_fasta",
97
+ "source_type": "help_text",
98
+ "locator": "pyfastx --help",
99
+ "excerpt": "stat show detailed statistics information of fasta/q file",
100
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
101
+ },
102
+ {
103
+ "id": "ev_input_valid",
104
+ "field": "input_fasta",
105
+ "source_type": "help_text",
106
+ "locator": "pyfastx --help",
107
+ "excerpt": "stat show detailed statistics information of fasta/q file",
108
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
109
+ },
110
+ {
111
+ "id": "ev_output_nonempty",
112
+ "field": "output_tsv",
113
+ "source_type": "help_text",
114
+ "locator": "pyfastx --help",
115
+ "excerpt": "stat show detailed statistics information of fasta/q file",
116
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
117
+ },
118
+ {
119
+ "id": "ev_output_valid",
120
+ "field": "output_tsv",
121
+ "source_type": "help_text",
122
+ "locator": "pyfastx --help",
123
+ "excerpt": "stat show detailed statistics information of fasta/q file",
124
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
125
+ }
126
+ ],
127
+ "execution_plan": {
128
+ "steps": [
129
+ {
130
+ "command": [
131
+ "pyfastx",
132
+ "stat",
133
+ "{input_fasta}"
134
+ ],
135
+ "capture_stdout_to": "output_tsv"
136
+ }
137
+ ]
138
+ }
139
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyfastx_fasta_statistics_test.json.raw.txt ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "pyfastx",
5
+ "version": "2.3.1",
6
+ "build": "py310hfe4f656_0",
7
+ "executable": "pyfastx",
8
+ "subcommand": "stat",
9
+ "environment": "conda run -n bioenv_cli"
10
+ },
11
+ "endpoint": {
12
+ "name": "fasta_statistics",
13
+ "description": "Show detailed statistics information of fasta file"
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_fasta",
18
+ "flag": null,
19
+ "kind": "positional",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": 1,
23
+ "repeat": false,
24
+ "description": "Input FASTA file"
25
+ },
26
+ {
27
+ "name": "output_tsv",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": null,
33
+ "repeat": false,
34
+ "description": "Output TSV file (captured from stdout)",
35
+ "pass_to_cli": false
36
+ }
37
+ ],
38
+ "inputs": [
39
+ {
40
+ "name": "input_fasta",
41
+ "artifact_type": "FASTA",
42
+ "binding": "input_fasta",
43
+ "assertions": [
44
+ {
45
+ "name": "exists",
46
+ "status": "declared",
47
+ "evidence": "ev_input_exists"
48
+ },
49
+ {
50
+ "name": "valid_fasta",
51
+ "status": "inferred",
52
+ "evidence": "ev_input_valid"
53
+ }
54
+ ]
55
+ }
56
+ ],
57
+ "outputs": [
58
+ {
59
+ "name": "output_tsv",
60
+ "artifact_type": "TSV",
61
+ "binding": "output_tsv",
62
+ "capture": "stdout",
63
+ "assertions": [
64
+ {
65
+ "name": "non_empty",
66
+ "status": "inferred",
67
+ "evidence": "ev_output_nonempty"
68
+ },
69
+ {
70
+ "name": "valid_tsv",
71
+ "status": "inferred",
72
+ "evidence": "ev_output_valid"
73
+ }
74
+ ]
75
+ }
76
+ ],
77
+ "validators": [
78
+ {
79
+ "name": "input_fasta_exists",
80
+ "type": "file_exists",
81
+ "target": "input_fasta",
82
+ "status": "declared",
83
+ "evidence": "ev_input_exists"
84
+ },
85
+ {
86
+ "name": "output_tsv_non_empty",
87
+ "type": "non_empty",
88
+ "target": "output_tsv",
89
+ "status": "inferred",
90
+ "evidence": "ev_output_nonempty"
91
+ }
92
+ ],
93
+ "evidence": [
94
+ {
95
+ "id": "ev_input_exists",
96
+ "field": "input_fasta",
97
+ "source_type": "help_text",
98
+ "locator": "pyfastx --help",
99
+ "excerpt": "stat show detailed statistics information of fasta/q file",
100
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
101
+ },
102
+ {
103
+ "id": "ev_input_valid",
104
+ "field": "input_fasta",
105
+ "source_type": "help_text",
106
+ "locator": "pyfastx --help",
107
+ "excerpt": "stat show detailed statistics information of fasta/q file",
108
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
109
+ },
110
+ {
111
+ "id": "ev_output_nonempty",
112
+ "field": "output_tsv",
113
+ "source_type": "help_text",
114
+ "locator": "pyfastx --help",
115
+ "excerpt": "stat show detailed statistics information of fasta/q file",
116
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
117
+ },
118
+ {
119
+ "id": "ev_output_valid",
120
+ "field": "output_tsv",
121
+ "source_type": "help_text",
122
+ "locator": "pyfastx --help",
123
+ "excerpt": "stat show detailed statistics information of fasta/q file",
124
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
125
+ }
126
+ ],
127
+ "execution_plan": {
128
+ "steps": [
129
+ {
130
+ "command": [
131
+ "pyfastx",
132
+ "stat",
133
+ "{input_fasta}"
134
+ ],
135
+ "capture_stdout_to": "output_tsv"
136
+ }
137
+ ]
138
+ }
139
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyfastx_fasta_statistics_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "a02795fc00209054d5b8ed655cc328d48706cf3b5adef5d702ed96ffce74df9e",
12
+ "elapsed_seconds": 5.287519454956055,
13
+ "usage": {
14
+ "prompt_tokens": 902,
15
+ "completion_tokens": 1040,
16
+ "total_tokens": 1942,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 902
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "c75e917a-1999-4166-901a-1cc25bc68430"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyranges_merge_genomic_ranges_test.json ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "pyranges",
5
+ "version": "0.0.52",
6
+ "build": "py36h516909a_0",
7
+ "executable": "python",
8
+ "subcommand": null,
9
+ "environment": "conda"
10
+ },
11
+ "endpoint": {
12
+ "name": "merge_genomic_ranges",
13
+ "description": "Read BED into PyRanges, merge overlaps, and write the canonical three-column table."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_bed",
18
+ "flag": null,
19
+ "kind": "positional",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": 1,
23
+ "repeat": false,
24
+ "description": "Input BED file path."
25
+ },
26
+ {
27
+ "name": "output_tsv",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": 2,
33
+ "repeat": false,
34
+ "description": "Output TSV file path."
35
+ }
36
+ ],
37
+ "inputs": [
38
+ {
39
+ "name": "input_bed",
40
+ "artifact_type": "bed",
41
+ "binding": "input_bed",
42
+ "assertions": [
43
+ {
44
+ "name": "exists",
45
+ "status": "declared",
46
+ "evidence": "ev-1"
47
+ },
48
+ {
49
+ "name": "readable",
50
+ "status": "declared",
51
+ "evidence": "ev-1"
52
+ }
53
+ ]
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "name": "output_tsv",
59
+ "artifact_type": "tsv",
60
+ "binding": "output_tsv",
61
+ "assertions": [
62
+ {
63
+ "name": "created",
64
+ "status": "declared",
65
+ "evidence": "ev-2"
66
+ },
67
+ {
68
+ "name": "non_empty",
69
+ "status": "inferred",
70
+ "evidence": "ev-3"
71
+ }
72
+ ]
73
+ }
74
+ ],
75
+ "validators": [
76
+ {
77
+ "name": "output_tsv_columns",
78
+ "artifact_type": "tsv",
79
+ "binding": "output_tsv",
80
+ "assertions": [
81
+ {
82
+ "name": "has_columns",
83
+ "value": [
84
+ "Chromosome",
85
+ "Start",
86
+ "End"
87
+ ],
88
+ "status": "inferred",
89
+ "evidence": "ev-4"
90
+ }
91
+ ]
92
+ }
93
+ ],
94
+ "evidence": [
95
+ {
96
+ "id": "ev-1",
97
+ "field": "input_bed",
98
+ "source_type": "method_interface",
99
+ "locator": "execution_plan.steps[0].command",
100
+ "excerpt": "x=pr.read_bed(sys.argv[1])",
101
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
102
+ },
103
+ {
104
+ "id": "ev-2",
105
+ "field": "output_tsv",
106
+ "source_type": "method_interface",
107
+ "locator": "execution_plan.steps[0].command",
108
+ "excerpt": "x.merge().df.to_csv(sys.argv[2],sep='\\t',index=False)",
109
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
110
+ },
111
+ {
112
+ "id": "ev-3",
113
+ "field": "output_tsv",
114
+ "source_type": "method_interface",
115
+ "locator": "execution_plan.steps[0].command",
116
+ "excerpt": "x.merge().df.to_csv(sys.argv[2],sep='\\t',index=False)",
117
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
118
+ },
119
+ {
120
+ "id": "ev-4",
121
+ "field": "output_tsv",
122
+ "source_type": "method_interface",
123
+ "locator": "execution_plan.steps[0].command",
124
+ "excerpt": "x.merge().df.to_csv(sys.argv[2],sep='\\t',index=False)",
125
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
126
+ }
127
+ ],
128
+ "execution_plan": {
129
+ "steps": [
130
+ {
131
+ "command": [
132
+ "python",
133
+ "-c",
134
+ "import sys; import pyranges as pr; x=pr.read_bed(sys.argv[1]); x.merge().df.to_csv(sys.argv[2],sep='\\t',index=False)",
135
+ "{input_bed}",
136
+ "{output_tsv}"
137
+ ]
138
+ }
139
+ ]
140
+ }
141
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyranges_merge_genomic_ranges_test.json.raw.txt ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "pyranges",
5
+ "version": "0.0.52",
6
+ "build": "py36h516909a_0",
7
+ "executable": "python",
8
+ "subcommand": null,
9
+ "environment": "conda"
10
+ },
11
+ "endpoint": {
12
+ "name": "merge_genomic_ranges",
13
+ "description": "Read BED into PyRanges, merge overlaps, and write the canonical three-column table."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_bed",
18
+ "flag": null,
19
+ "kind": "positional",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": 1,
23
+ "repeat": false,
24
+ "description": "Input BED file path."
25
+ },
26
+ {
27
+ "name": "output_tsv",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": 2,
33
+ "repeat": false,
34
+ "description": "Output TSV file path."
35
+ }
36
+ ],
37
+ "inputs": [
38
+ {
39
+ "name": "input_bed",
40
+ "artifact_type": "bed",
41
+ "binding": "input_bed",
42
+ "assertions": [
43
+ {
44
+ "name": "exists",
45
+ "status": "declared",
46
+ "evidence": "ev-1"
47
+ },
48
+ {
49
+ "name": "readable",
50
+ "status": "declared",
51
+ "evidence": "ev-1"
52
+ }
53
+ ]
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "name": "output_tsv",
59
+ "artifact_type": "tsv",
60
+ "binding": "output_tsv",
61
+ "assertions": [
62
+ {
63
+ "name": "created",
64
+ "status": "declared",
65
+ "evidence": "ev-2"
66
+ },
67
+ {
68
+ "name": "non_empty",
69
+ "status": "inferred",
70
+ "evidence": "ev-3"
71
+ }
72
+ ]
73
+ }
74
+ ],
75
+ "validators": [
76
+ {
77
+ "name": "output_tsv_columns",
78
+ "artifact_type": "tsv",
79
+ "binding": "output_tsv",
80
+ "assertions": [
81
+ {
82
+ "name": "has_columns",
83
+ "value": ["Chromosome", "Start", "End"],
84
+ "status": "inferred",
85
+ "evidence": "ev-4"
86
+ }
87
+ ]
88
+ }
89
+ ],
90
+ "evidence": [
91
+ {
92
+ "id": "ev-1",
93
+ "field": "input_bed",
94
+ "source_type": "method_interface",
95
+ "locator": "execution_plan.steps[0].command",
96
+ "excerpt": "x=pr.read_bed(sys.argv[1])",
97
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
98
+ },
99
+ {
100
+ "id": "ev-2",
101
+ "field": "output_tsv",
102
+ "source_type": "method_interface",
103
+ "locator": "execution_plan.steps[0].command",
104
+ "excerpt": "x.merge().df.to_csv(sys.argv[2],sep='\\t',index=False)",
105
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
106
+ },
107
+ {
108
+ "id": "ev-3",
109
+ "field": "output_tsv",
110
+ "source_type": "method_interface",
111
+ "locator": "execution_plan.steps[0].command",
112
+ "excerpt": "x.merge().df.to_csv(sys.argv[2],sep='\\t',index=False)",
113
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
114
+ },
115
+ {
116
+ "id": "ev-4",
117
+ "field": "output_tsv",
118
+ "source_type": "method_interface",
119
+ "locator": "execution_plan.steps[0].command",
120
+ "excerpt": "x.merge().df.to_csv(sys.argv[2],sep='\\t',index=False)",
121
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
122
+ }
123
+ ],
124
+ "execution_plan": {
125
+ "steps": [
126
+ {
127
+ "command": [
128
+ "python",
129
+ "-c",
130
+ "import sys; import pyranges as pr; x=pr.read_bed(sys.argv[1]); x.merge().df.to_csv(sys.argv[2],sep='\\t',index=False)",
131
+ "{input_bed}",
132
+ "{output_tsv}"
133
+ ]
134
+ }
135
+ ]
136
+ }
137
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyranges_merge_genomic_ranges_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "57e5d639f36307a1dde10cb892b9863c87ee25629f95742e7af899ad800f0e9d",
12
+ "elapsed_seconds": 8.996732473373413,
13
+ "usage": {
14
+ "prompt_tokens": 9543,
15
+ "completion_tokens": 1082,
16
+ "total_tokens": 10625,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 9543
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "87361ff5-3f31-42f0-8343-9bbc56ad0bc6"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyrodigal_predict_genes_test.json ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "pyrodigal",
5
+ "version": "3.7.1",
6
+ "build": "py313h8c92656_1",
7
+ "executable": "pyrodigal",
8
+ "subcommand": null,
9
+ "environment": "conda run -n bioenv_cli"
10
+ },
11
+ "endpoint": {
12
+ "name": "predict_genes",
13
+ "description": "Predict genes in a FASTA input file and output GFF, protein, and nucleotide gene sequences."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_file",
18
+ "flag": "-i",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Specify FASTA input file."
25
+ },
26
+ {
27
+ "name": "output_gff",
28
+ "flag": "-o",
29
+ "kind": "option",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": null,
33
+ "repeat": false,
34
+ "description": "Specify output file for GFF annotations."
35
+ },
36
+ {
37
+ "name": "output_proteins",
38
+ "flag": "-a",
39
+ "kind": "option",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": null,
43
+ "repeat": false,
44
+ "description": "Write protein translations to the selected file."
45
+ },
46
+ {
47
+ "name": "output_genes",
48
+ "flag": "-d",
49
+ "kind": "option",
50
+ "value_type": "path",
51
+ "required": true,
52
+ "position": null,
53
+ "repeat": false,
54
+ "description": "Write nucleotide sequences of genes to the selected file."
55
+ }
56
+ ],
57
+ "inputs": [
58
+ {
59
+ "name": "input_file",
60
+ "artifact_type": "FASTA",
61
+ "binding": "input_file",
62
+ "assertions": [
63
+ {
64
+ "name": "exists",
65
+ "status": "declared",
66
+ "description": "Input file must exist."
67
+ },
68
+ {
69
+ "name": "readable",
70
+ "status": "declared",
71
+ "description": "Input file must be readable."
72
+ }
73
+ ]
74
+ }
75
+ ],
76
+ "outputs": [
77
+ {
78
+ "name": "output_gff",
79
+ "artifact_type": "GFF",
80
+ "binding": "output_gff",
81
+ "assertions": [
82
+ {
83
+ "name": "created",
84
+ "status": "declared",
85
+ "description": "Output GFF file must be created."
86
+ },
87
+ {
88
+ "name": "nonempty",
89
+ "status": "declared",
90
+ "description": "Output GFF file must be non-empty."
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ "name": "output_proteins",
96
+ "artifact_type": "FASTA",
97
+ "binding": "output_proteins",
98
+ "assertions": [
99
+ {
100
+ "name": "created",
101
+ "status": "declared",
102
+ "description": "Output protein file must be created."
103
+ },
104
+ {
105
+ "name": "nonempty",
106
+ "status": "declared",
107
+ "description": "Output protein file must be non-empty."
108
+ }
109
+ ]
110
+ },
111
+ {
112
+ "name": "output_genes",
113
+ "artifact_type": "FASTA",
114
+ "binding": "output_genes",
115
+ "assertions": [
116
+ {
117
+ "name": "created",
118
+ "status": "declared",
119
+ "description": "Output nucleotide gene file must be created."
120
+ },
121
+ {
122
+ "name": "nonempty",
123
+ "status": "declared",
124
+ "description": "Output nucleotide gene file must be non-empty."
125
+ }
126
+ ]
127
+ }
128
+ ],
129
+ "validators": [
130
+ {
131
+ "name": "gff_valid",
132
+ "artifact_type": "GFF",
133
+ "binding": "output_gff",
134
+ "assertions": [
135
+ {
136
+ "name": "valid_gff",
137
+ "status": "declared",
138
+ "description": "Output GFF file must be valid GFF format."
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "name": "fasta_valid",
144
+ "artifact_type": "FASTA",
145
+ "binding": "output_proteins",
146
+ "assertions": [
147
+ {
148
+ "name": "valid_fasta",
149
+ "status": "declared",
150
+ "description": "Output protein file must be valid FASTA format."
151
+ }
152
+ ]
153
+ },
154
+ {
155
+ "name": "fasta_valid",
156
+ "artifact_type": "FASTA",
157
+ "binding": "output_genes",
158
+ "assertions": [
159
+ {
160
+ "name": "valid_fasta",
161
+ "status": "declared",
162
+ "description": "Output nucleotide gene file must be valid FASTA format."
163
+ }
164
+ ]
165
+ }
166
+ ],
167
+ "evidence": [
168
+ {
169
+ "id": "ev1",
170
+ "field": "arguments",
171
+ "source_type": "help_text",
172
+ "locator": "pyrodigal --help",
173
+ "excerpt": "-a trans_file Write protein translations to the selected file. (default: None)",
174
+ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
175
+ },
176
+ {
177
+ "id": "ev2",
178
+ "field": "arguments",
179
+ "source_type": "help_text",
180
+ "locator": "pyrodigal --help",
181
+ "excerpt": "-d nuc_file Write nucleotide sequences of genes to the selected file. (default: None)",
182
+ "digest": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
183
+ },
184
+ {
185
+ "id": "ev3",
186
+ "field": "arguments",
187
+ "source_type": "help_text",
188
+ "locator": "pyrodigal --help",
189
+ "excerpt": "-i input_file Specify FASTA input file. (default: None)",
190
+ "digest": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
191
+ },
192
+ {
193
+ "id": "ev4",
194
+ "field": "arguments",
195
+ "source_type": "help_text",
196
+ "locator": "pyrodigal --help",
197
+ "excerpt": "-o output_file Specify output file. (default: None)",
198
+ "digest": "sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
199
+ }
200
+ ],
201
+ "execution_plan": {
202
+ "steps": [
203
+ {
204
+ "command": [
205
+ "pyrodigal",
206
+ "-p",
207
+ "meta",
208
+ "-i",
209
+ "{input_file}",
210
+ "-o",
211
+ "{output_gff}",
212
+ "-a",
213
+ "{output_proteins}",
214
+ "-d",
215
+ "{output_genes}",
216
+ "-j",
217
+ "1"
218
+ ]
219
+ }
220
+ ]
221
+ }
222
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyrodigal_predict_genes_test.json.raw.txt ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "pyrodigal",
5
+ "version": "3.7.1",
6
+ "build": "py313h8c92656_1",
7
+ "executable": "pyrodigal",
8
+ "subcommand": null,
9
+ "environment": "conda run -n bioenv_cli"
10
+ },
11
+ "endpoint": {
12
+ "name": "predict_genes",
13
+ "description": "Predict genes in a FASTA input file and output GFF, protein, and nucleotide gene sequences."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_file",
18
+ "flag": "-i",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Specify FASTA input file."
25
+ },
26
+ {
27
+ "name": "output_gff",
28
+ "flag": "-o",
29
+ "kind": "option",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": null,
33
+ "repeat": false,
34
+ "description": "Specify output file for GFF annotations."
35
+ },
36
+ {
37
+ "name": "output_proteins",
38
+ "flag": "-a",
39
+ "kind": "option",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": null,
43
+ "repeat": false,
44
+ "description": "Write protein translations to the selected file."
45
+ },
46
+ {
47
+ "name": "output_genes",
48
+ "flag": "-d",
49
+ "kind": "option",
50
+ "value_type": "path",
51
+ "required": true,
52
+ "position": null,
53
+ "repeat": false,
54
+ "description": "Write nucleotide sequences of genes to the selected file."
55
+ }
56
+ ],
57
+ "inputs": [
58
+ {
59
+ "name": "input_file",
60
+ "artifact_type": "FASTA",
61
+ "binding": "input_file",
62
+ "assertions": [
63
+ {
64
+ "name": "exists",
65
+ "status": "declared",
66
+ "description": "Input file must exist."
67
+ },
68
+ {
69
+ "name": "readable",
70
+ "status": "declared",
71
+ "description": "Input file must be readable."
72
+ }
73
+ ]
74
+ }
75
+ ],
76
+ "outputs": [
77
+ {
78
+ "name": "output_gff",
79
+ "artifact_type": "GFF",
80
+ "binding": "output_gff",
81
+ "assertions": [
82
+ {
83
+ "name": "created",
84
+ "status": "declared",
85
+ "description": "Output GFF file must be created."
86
+ },
87
+ {
88
+ "name": "nonempty",
89
+ "status": "declared",
90
+ "description": "Output GFF file must be non-empty."
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ "name": "output_proteins",
96
+ "artifact_type": "FASTA",
97
+ "binding": "output_proteins",
98
+ "assertions": [
99
+ {
100
+ "name": "created",
101
+ "status": "declared",
102
+ "description": "Output protein file must be created."
103
+ },
104
+ {
105
+ "name": "nonempty",
106
+ "status": "declared",
107
+ "description": "Output protein file must be non-empty."
108
+ }
109
+ ]
110
+ },
111
+ {
112
+ "name": "output_genes",
113
+ "artifact_type": "FASTA",
114
+ "binding": "output_genes",
115
+ "assertions": [
116
+ {
117
+ "name": "created",
118
+ "status": "declared",
119
+ "description": "Output nucleotide gene file must be created."
120
+ },
121
+ {
122
+ "name": "nonempty",
123
+ "status": "declared",
124
+ "description": "Output nucleotide gene file must be non-empty."
125
+ }
126
+ ]
127
+ }
128
+ ],
129
+ "validators": [
130
+ {
131
+ "name": "gff_valid",
132
+ "artifact_type": "GFF",
133
+ "binding": "output_gff",
134
+ "assertions": [
135
+ {
136
+ "name": "valid_gff",
137
+ "status": "declared",
138
+ "description": "Output GFF file must be valid GFF format."
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "name": "fasta_valid",
144
+ "artifact_type": "FASTA",
145
+ "binding": "output_proteins",
146
+ "assertions": [
147
+ {
148
+ "name": "valid_fasta",
149
+ "status": "declared",
150
+ "description": "Output protein file must be valid FASTA format."
151
+ }
152
+ ]
153
+ },
154
+ {
155
+ "name": "fasta_valid",
156
+ "artifact_type": "FASTA",
157
+ "binding": "output_genes",
158
+ "assertions": [
159
+ {
160
+ "name": "valid_fasta",
161
+ "status": "declared",
162
+ "description": "Output nucleotide gene file must be valid FASTA format."
163
+ }
164
+ ]
165
+ }
166
+ ],
167
+ "evidence": [
168
+ {
169
+ "id": "ev1",
170
+ "field": "arguments",
171
+ "source_type": "help_text",
172
+ "locator": "pyrodigal --help",
173
+ "excerpt": "-a trans_file Write protein translations to the selected file. (default: None)",
174
+ "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
175
+ },
176
+ {
177
+ "id": "ev2",
178
+ "field": "arguments",
179
+ "source_type": "help_text",
180
+ "locator": "pyrodigal --help",
181
+ "excerpt": "-d nuc_file Write nucleotide sequences of genes to the selected file. (default: None)",
182
+ "digest": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
183
+ },
184
+ {
185
+ "id": "ev3",
186
+ "field": "arguments",
187
+ "source_type": "help_text",
188
+ "locator": "pyrodigal --help",
189
+ "excerpt": "-i input_file Specify FASTA input file. (default: None)",
190
+ "digest": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
191
+ },
192
+ {
193
+ "id": "ev4",
194
+ "field": "arguments",
195
+ "source_type": "help_text",
196
+ "locator": "pyrodigal --help",
197
+ "excerpt": "-o output_file Specify output file. (default: None)",
198
+ "digest": "sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
199
+ }
200
+ ],
201
+ "execution_plan": {
202
+ "steps": [
203
+ {
204
+ "command": [
205
+ "pyrodigal",
206
+ "-p",
207
+ "meta",
208
+ "-i",
209
+ "{input_file}",
210
+ "-o",
211
+ "{output_gff}",
212
+ "-a",
213
+ "{output_proteins}",
214
+ "-d",
215
+ "{output_genes}",
216
+ "-j",
217
+ "1"
218
+ ]
219
+ }
220
+ ]
221
+ }
222
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pyrodigal_predict_genes_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "97e44fe4d1cca9f537035913ba61aae586e473c8b77e7d80436e1f422b314b38",
12
+ "elapsed_seconds": 6.893498420715332,
13
+ "usage": {
14
+ "prompt_tokens": 1477,
15
+ "completion_tokens": 1537,
16
+ "total_tokens": 3014,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 1477
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "ee33df1c-2112-4433-adba-68e9805853d9"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pysam_summarize_bam_test.json ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "pysam",
5
+ "version": "0.24.0",
6
+ "build": "py310h4a09ff2_1",
7
+ "executable": "python3.10",
8
+ "subcommand": null,
9
+ "environment": "Python"
10
+ },
11
+ "endpoint": {
12
+ "name": "summarize_bam",
13
+ "description": "Summarize BAM records using pysam; outputs JSON with references, mapped, unmapped, and total record count."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_bam",
18
+ "flag": null,
19
+ "kind": "positional",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": 1,
23
+ "repeat": false,
24
+ "description": "Input BAM file path."
25
+ },
26
+ {
27
+ "name": "output_json",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": 2,
33
+ "repeat": false,
34
+ "description": "Output JSON file path."
35
+ }
36
+ ],
37
+ "inputs": [
38
+ {
39
+ "name": "input_bam",
40
+ "artifact_type": "bam",
41
+ "binding": "input_bam",
42
+ "assertions": [
43
+ {
44
+ "name": "exists",
45
+ "status": "declared",
46
+ "description": "Input BAM file must exist."
47
+ },
48
+ {
49
+ "name": "bai_sidecar",
50
+ "status": "inferred",
51
+ "description": "BAI sidecar is implicitly required for indexed access."
52
+ }
53
+ ]
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "name": "output_json",
59
+ "artifact_type": "json",
60
+ "binding": "output_json",
61
+ "assertions": [
62
+ {
63
+ "name": "created",
64
+ "status": "declared",
65
+ "description": "Output JSON file is created."
66
+ }
67
+ ]
68
+ }
69
+ ],
70
+ "validators": [
71
+ {
72
+ "name": "json_valid",
73
+ "artifact": "output_json",
74
+ "status": "declared",
75
+ "description": "Output must be valid JSON."
76
+ }
77
+ ],
78
+ "evidence": [
79
+ {
80
+ "id": "ev1",
81
+ "field": "tool.package",
82
+ "source_type": "conda_search",
83
+ "locator": "conda search -c bioconda -c conda-forge pysam --info",
84
+ "excerpt": "pysam 0.24.0 py310h4a09ff2_1",
85
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
86
+ },
87
+ {
88
+ "id": "ev2",
89
+ "field": "tool.executable",
90
+ "source_type": "help_text",
91
+ "locator": "Help text",
92
+ "excerpt": "execution_environment: Python",
93
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
94
+ },
95
+ {
96
+ "id": "ev3",
97
+ "field": "endpoint.name",
98
+ "source_type": "target_interface",
99
+ "locator": "Method-neutral target interface",
100
+ "excerpt": "endpoint: summarize_bam",
101
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
102
+ },
103
+ {
104
+ "id": "ev4",
105
+ "field": "arguments",
106
+ "source_type": "target_interface",
107
+ "locator": "Method-neutral target interface",
108
+ "excerpt": "parameters: input_bam, output_json",
109
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
110
+ },
111
+ {
112
+ "id": "ev5",
113
+ "field": "execution_plan",
114
+ "source_type": "target_interface",
115
+ "locator": "Method-neutral target interface",
116
+ "excerpt": "execution_plan: steps with python3.10 -c ...",
117
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
118
+ }
119
+ ],
120
+ "execution_plan": {
121
+ "steps": [
122
+ {
123
+ "command": [
124
+ "python3.10",
125
+ "-c",
126
+ "import json,pysam,sys; b=pysam.AlignmentFile(sys.argv[1],'rb'); d={'references':list(b.references),'mapped':b.mapped,'unmapped':b.unmapped,'records':sum(1 for _ in b.fetch(until_eof=True))}; open(sys.argv[2],'w').write(json.dumps(d,sort_keys=True)+'\\n')",
127
+ "{input_bam}",
128
+ "{output_json}"
129
+ ]
130
+ }
131
+ ]
132
+ }
133
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pysam_summarize_bam_test.json.raw.txt ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "pysam",
5
+ "version": "0.24.0",
6
+ "build": "py310h4a09ff2_1",
7
+ "executable": "python3.10",
8
+ "subcommand": null,
9
+ "environment": "Python"
10
+ },
11
+ "endpoint": {
12
+ "name": "summarize_bam",
13
+ "description": "Summarize BAM records using pysam; outputs JSON with references, mapped, unmapped, and total record count."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "input_bam",
18
+ "flag": null,
19
+ "kind": "positional",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": 1,
23
+ "repeat": false,
24
+ "description": "Input BAM file path."
25
+ },
26
+ {
27
+ "name": "output_json",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": 2,
33
+ "repeat": false,
34
+ "description": "Output JSON file path."
35
+ }
36
+ ],
37
+ "inputs": [
38
+ {
39
+ "name": "input_bam",
40
+ "artifact_type": "bam",
41
+ "binding": "input_bam",
42
+ "assertions": [
43
+ {
44
+ "name": "exists",
45
+ "status": "declared",
46
+ "description": "Input BAM file must exist."
47
+ },
48
+ {
49
+ "name": "bai_sidecar",
50
+ "status": "inferred",
51
+ "description": "BAI sidecar is implicitly required for indexed access."
52
+ }
53
+ ]
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "name": "output_json",
59
+ "artifact_type": "json",
60
+ "binding": "output_json",
61
+ "assertions": [
62
+ {
63
+ "name": "created",
64
+ "status": "declared",
65
+ "description": "Output JSON file is created."
66
+ }
67
+ ]
68
+ }
69
+ ],
70
+ "validators": [
71
+ {
72
+ "name": "json_valid",
73
+ "artifact": "output_json",
74
+ "status": "declared",
75
+ "description": "Output must be valid JSON."
76
+ }
77
+ ],
78
+ "evidence": [
79
+ {
80
+ "id": "ev1",
81
+ "field": "tool.package",
82
+ "source_type": "conda_search",
83
+ "locator": "conda search -c bioconda -c conda-forge pysam --info",
84
+ "excerpt": "pysam 0.24.0 py310h4a09ff2_1",
85
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
86
+ },
87
+ {
88
+ "id": "ev2",
89
+ "field": "tool.executable",
90
+ "source_type": "help_text",
91
+ "locator": "Help text",
92
+ "excerpt": "execution_environment: Python",
93
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
94
+ },
95
+ {
96
+ "id": "ev3",
97
+ "field": "endpoint.name",
98
+ "source_type": "target_interface",
99
+ "locator": "Method-neutral target interface",
100
+ "excerpt": "endpoint: summarize_bam",
101
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
102
+ },
103
+ {
104
+ "id": "ev4",
105
+ "field": "arguments",
106
+ "source_type": "target_interface",
107
+ "locator": "Method-neutral target interface",
108
+ "excerpt": "parameters: input_bam, output_json",
109
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
110
+ },
111
+ {
112
+ "id": "ev5",
113
+ "field": "execution_plan",
114
+ "source_type": "target_interface",
115
+ "locator": "Method-neutral target interface",
116
+ "excerpt": "execution_plan: steps with python3.10 -c ...",
117
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
118
+ }
119
+ ],
120
+ "execution_plan": {
121
+ "steps": [
122
+ {
123
+ "command": [
124
+ "python3.10",
125
+ "-c",
126
+ "import json,pysam,sys; b=pysam.AlignmentFile(sys.argv[1],'rb'); d={'references':list(b.references),'mapped':b.mapped,'unmapped':b.unmapped,'records':sum(1 for _ in b.fetch(until_eof=True))}; open(sys.argv[2],'w').write(json.dumps(d,sort_keys=True)+'\\n')",
127
+ "{input_bam}",
128
+ "{output_json}"
129
+ ]
130
+ }
131
+ ]
132
+ }
133
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/pysam_summarize_bam_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "f0e10bb990ba7ef00f052ae7dfc67b26270fe64964099f70407cff6594bd241e",
12
+ "elapsed_seconds": 6.158743858337402,
13
+ "usage": {
14
+ "prompt_tokens": 8060,
15
+ "completion_tokens": 1119,
16
+ "total_tokens": 9179,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 8060
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "72cedfdc-f6bd-48bf-a118-85a62eb169f0"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/python-edlib_global_align_test.json ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "python-edlib",
5
+ "version": "1.3.9.post1",
6
+ "build": "py310h1153794_3",
7
+ "executable": "python3.10",
8
+ "subcommand": null,
9
+ "environment": "Python"
10
+ },
11
+ "endpoint": {
12
+ "name": "global_align",
13
+ "description": "Perform global alignment (NW mode) using edlib and output the result as JSON."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "sequence_a",
18
+ "flag": null,
19
+ "kind": "positional",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": 1,
23
+ "repeat": false,
24
+ "description": "Path to the first sequence file (FASTA or plain text)."
25
+ },
26
+ {
27
+ "name": "sequence_b",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": 2,
33
+ "repeat": false,
34
+ "description": "Path to the second sequence file (FASTA or plain text)."
35
+ },
36
+ {
37
+ "name": "output_json",
38
+ "flag": null,
39
+ "kind": "positional",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": 3,
43
+ "repeat": false,
44
+ "description": "Path to the output JSON file."
45
+ }
46
+ ],
47
+ "inputs": [
48
+ {
49
+ "name": "sequence_a",
50
+ "artifact_type": "file",
51
+ "binding": "sequence_a",
52
+ "assertions": [
53
+ {
54
+ "name": "exists",
55
+ "status": "declared",
56
+ "evidence": []
57
+ },
58
+ {
59
+ "name": "readable",
60
+ "status": "declared",
61
+ "evidence": []
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "sequence_b",
67
+ "artifact_type": "file",
68
+ "binding": "sequence_b",
69
+ "assertions": [
70
+ {
71
+ "name": "exists",
72
+ "status": "declared",
73
+ "evidence": []
74
+ },
75
+ {
76
+ "name": "readable",
77
+ "status": "declared",
78
+ "evidence": []
79
+ }
80
+ ]
81
+ }
82
+ ],
83
+ "outputs": [
84
+ {
85
+ "name": "output_json",
86
+ "artifact_type": "file",
87
+ "binding": "output_json",
88
+ "assertions": [
89
+ {
90
+ "name": "exists",
91
+ "status": "declared",
92
+ "evidence": []
93
+ },
94
+ {
95
+ "name": "json",
96
+ "status": "declared",
97
+ "evidence": []
98
+ }
99
+ ]
100
+ }
101
+ ],
102
+ "validators": [
103
+ {
104
+ "name": "output_json_valid",
105
+ "artifact_type": "file",
106
+ "binding": "output_json",
107
+ "assertions": [
108
+ {
109
+ "name": "json",
110
+ "status": "declared",
111
+ "evidence": []
112
+ }
113
+ ]
114
+ }
115
+ ],
116
+ "evidence": [
117
+ {
118
+ "id": "ev1",
119
+ "field": "endpoint.description",
120
+ "source_type": "doc",
121
+ "locator": "https://martinsos.github.io/edlib",
122
+ "excerpt": "global (NW) - This is the standard method, when we say \"edit distance\" this is the method that is assumed.",
123
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
124
+ },
125
+ {
126
+ "id": "ev2",
127
+ "field": "arguments.sequence_a.description",
128
+ "source_type": "doc",
129
+ "locator": "https://martinsos.github.io/edlib",
130
+ "excerpt": "Given two sequences (and their lengths), it will find edit distance, alignment path or its end and start locations.",
131
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
132
+ },
133
+ {
134
+ "id": "ev3",
135
+ "field": "arguments.sequence_b.description",
136
+ "source_type": "doc",
137
+ "locator": "https://martinsos.github.io/edlib",
138
+ "excerpt": "Given two sequences (and their lengths), it will find edit distance, alignment path or its end and start locations.",
139
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
140
+ },
141
+ {
142
+ "id": "ev4",
143
+ "field": "arguments.output_json.description",
144
+ "source_type": "doc",
145
+ "locator": "https://martinsos.github.io/edlib",
146
+ "excerpt": "EdlibAlignResult result = edlibAlign(...); printf(\"%d\", result.editDistance);",
147
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
148
+ },
149
+ {
150
+ "id": "ev5",
151
+ "field": "outputs.output_json.assertions",
152
+ "source_type": "doc",
153
+ "locator": "https://martinsos.github.io/edlib",
154
+ "excerpt": "EdlibAlignResult result = edlibAlign(...); printf(\"%d\", result.editDistance);",
155
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
156
+ }
157
+ ],
158
+ "execution_plan": {
159
+ "steps": [
160
+ {
161
+ "command": [
162
+ "python3.10",
163
+ "-c",
164
+ "import json,edlib,sys; rd=lambda p:''.join(x.strip() for x in open(p) if not x.startswith('>')); r=edlib.align(rd(sys.argv[1]),rd(sys.argv[2]),mode='NW',task='path'); open(sys.argv[3],'w').write(json.dumps(r,sort_keys=True)+'\\n')",
165
+ "{sequence_a}",
166
+ "{sequence_b}",
167
+ "{output_json}"
168
+ ]
169
+ }
170
+ ]
171
+ }
172
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/python-edlib_global_align_test.json.raw.txt ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "python-edlib",
5
+ "version": "1.3.9.post1",
6
+ "build": "py310h1153794_3",
7
+ "executable": "python3.10",
8
+ "subcommand": null,
9
+ "environment": "Python"
10
+ },
11
+ "endpoint": {
12
+ "name": "global_align",
13
+ "description": "Perform global alignment (NW mode) using edlib and output the result as JSON."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "sequence_a",
18
+ "flag": null,
19
+ "kind": "positional",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": 1,
23
+ "repeat": false,
24
+ "description": "Path to the first sequence file (FASTA or plain text)."
25
+ },
26
+ {
27
+ "name": "sequence_b",
28
+ "flag": null,
29
+ "kind": "positional",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": 2,
33
+ "repeat": false,
34
+ "description": "Path to the second sequence file (FASTA or plain text)."
35
+ },
36
+ {
37
+ "name": "output_json",
38
+ "flag": null,
39
+ "kind": "positional",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": 3,
43
+ "repeat": false,
44
+ "description": "Path to the output JSON file."
45
+ }
46
+ ],
47
+ "inputs": [
48
+ {
49
+ "name": "sequence_a",
50
+ "artifact_type": "file",
51
+ "binding": "sequence_a",
52
+ "assertions": [
53
+ {
54
+ "name": "exists",
55
+ "status": "declared",
56
+ "evidence": []
57
+ },
58
+ {
59
+ "name": "readable",
60
+ "status": "declared",
61
+ "evidence": []
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "sequence_b",
67
+ "artifact_type": "file",
68
+ "binding": "sequence_b",
69
+ "assertions": [
70
+ {
71
+ "name": "exists",
72
+ "status": "declared",
73
+ "evidence": []
74
+ },
75
+ {
76
+ "name": "readable",
77
+ "status": "declared",
78
+ "evidence": []
79
+ }
80
+ ]
81
+ }
82
+ ],
83
+ "outputs": [
84
+ {
85
+ "name": "output_json",
86
+ "artifact_type": "file",
87
+ "binding": "output_json",
88
+ "assertions": [
89
+ {
90
+ "name": "exists",
91
+ "status": "declared",
92
+ "evidence": []
93
+ },
94
+ {
95
+ "name": "json",
96
+ "status": "declared",
97
+ "evidence": []
98
+ }
99
+ ]
100
+ }
101
+ ],
102
+ "validators": [
103
+ {
104
+ "name": "output_json_valid",
105
+ "artifact_type": "file",
106
+ "binding": "output_json",
107
+ "assertions": [
108
+ {
109
+ "name": "json",
110
+ "status": "declared",
111
+ "evidence": []
112
+ }
113
+ ]
114
+ }
115
+ ],
116
+ "evidence": [
117
+ {
118
+ "id": "ev1",
119
+ "field": "endpoint.description",
120
+ "source_type": "doc",
121
+ "locator": "https://martinsos.github.io/edlib",
122
+ "excerpt": "global (NW) - This is the standard method, when we say \"edit distance\" this is the method that is assumed.",
123
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
124
+ },
125
+ {
126
+ "id": "ev2",
127
+ "field": "arguments.sequence_a.description",
128
+ "source_type": "doc",
129
+ "locator": "https://martinsos.github.io/edlib",
130
+ "excerpt": "Given two sequences (and their lengths), it will find edit distance, alignment path or its end and start locations.",
131
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
132
+ },
133
+ {
134
+ "id": "ev3",
135
+ "field": "arguments.sequence_b.description",
136
+ "source_type": "doc",
137
+ "locator": "https://martinsos.github.io/edlib",
138
+ "excerpt": "Given two sequences (and their lengths), it will find edit distance, alignment path or its end and start locations.",
139
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
140
+ },
141
+ {
142
+ "id": "ev4",
143
+ "field": "arguments.output_json.description",
144
+ "source_type": "doc",
145
+ "locator": "https://martinsos.github.io/edlib",
146
+ "excerpt": "EdlibAlignResult result = edlibAlign(...); printf(\"%d\", result.editDistance);",
147
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
148
+ },
149
+ {
150
+ "id": "ev5",
151
+ "field": "outputs.output_json.assertions",
152
+ "source_type": "doc",
153
+ "locator": "https://martinsos.github.io/edlib",
154
+ "excerpt": "EdlibAlignResult result = edlibAlign(...); printf(\"%d\", result.editDistance);",
155
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
156
+ }
157
+ ],
158
+ "execution_plan": {
159
+ "steps": [
160
+ {
161
+ "command": [
162
+ "python3.10",
163
+ "-c",
164
+ "import json,edlib,sys; rd=lambda p:''.join(x.strip() for x in open(p) if not x.startswith('>')); r=edlib.align(rd(sys.argv[1]),rd(sys.argv[2]),mode='NW',task='path'); open(sys.argv[3],'w').write(json.dumps(r,sort_keys=True)+'\\n')",
165
+ "{sequence_a}",
166
+ "{sequence_b}",
167
+ "{output_json}"
168
+ ]
169
+ }
170
+ ]
171
+ }
172
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/python-edlib_global_align_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "691a420c6e9ef00791e64e39f75397882e24134155fe192cd2e3264f413200ac",
12
+ "elapsed_seconds": 8.461546182632446,
13
+ "usage": {
14
+ "prompt_tokens": 17862,
15
+ "completion_tokens": 1363,
16
+ "total_tokens": 19225,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 17862
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "a358140c-d315-4aad-9fab-317ea8a95345"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/raxml_infer_protein_tree_test.json ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "raxml",
5
+ "version": "8.2.13",
6
+ "build": "h7b50bb2_3",
7
+ "executable": "raxmlHPC",
8
+ "subcommand": null,
9
+ "environment": {
10
+ "dependencies": [
11
+ "libgcc >=13"
12
+ ],
13
+ "execution_environment": "Compiled"
14
+ }
15
+ },
16
+ "endpoint": {
17
+ "name": "infer_protein_tree",
18
+ "description": "Infer a protein maximum likelihood tree using RAxML with PROTGAMMALG model, parsimony seed 1, and one search."
19
+ },
20
+ "arguments": [
21
+ {
22
+ "name": "alignment_file",
23
+ "flag": "-s",
24
+ "kind": "option",
25
+ "value_type": "path",
26
+ "required": true,
27
+ "position": null,
28
+ "repeat": false,
29
+ "description": "Input alignment file in PHYLIP format."
30
+ },
31
+ {
32
+ "name": "output_dir",
33
+ "flag": "-w",
34
+ "kind": "option",
35
+ "value_type": "path",
36
+ "required": true,
37
+ "position": null,
38
+ "repeat": false,
39
+ "description": "Output directory for RAxML result files."
40
+ }
41
+ ],
42
+ "inputs": [
43
+ {
44
+ "name": "alignment_file",
45
+ "artifact_type": "file",
46
+ "binding": "alignment_file",
47
+ "assertions": [
48
+ {
49
+ "name": "exists",
50
+ "status": "declared",
51
+ "evidence": [
52
+ "ev-001"
53
+ ]
54
+ },
55
+ {
56
+ "name": "readable",
57
+ "status": "declared",
58
+ "evidence": [
59
+ "ev-001"
60
+ ]
61
+ },
62
+ {
63
+ "name": "format",
64
+ "value": "phylip",
65
+ "status": "inferred",
66
+ "evidence": [
67
+ "ev-002"
68
+ ]
69
+ }
70
+ ]
71
+ }
72
+ ],
73
+ "outputs": [
74
+ {
75
+ "name": "output_dir",
76
+ "artifact_type": "directory",
77
+ "binding": "output_dir",
78
+ "assertions": [
79
+ {
80
+ "name": "exists",
81
+ "status": "declared",
82
+ "evidence": [
83
+ "ev-003"
84
+ ]
85
+ },
86
+ {
87
+ "name": "writable",
88
+ "status": "declared",
89
+ "evidence": [
90
+ "ev-003"
91
+ ]
92
+ }
93
+ ]
94
+ }
95
+ ],
96
+ "validators": [
97
+ {
98
+ "name": "output_dir_created",
99
+ "artifact_type": "directory",
100
+ "binding": "output_dir",
101
+ "assertions": [
102
+ {
103
+ "name": "exists",
104
+ "status": "declared",
105
+ "evidence": [
106
+ "ev-003"
107
+ ]
108
+ }
109
+ ]
110
+ }
111
+ ],
112
+ "evidence": [
113
+ {
114
+ "id": "ev-001",
115
+ "field": "inputs[0].assertions[0]",
116
+ "source_type": "target_interface",
117
+ "locator": "parameters[0]",
118
+ "excerpt": "alignment_file required",
119
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
120
+ },
121
+ {
122
+ "id": "ev-002",
123
+ "field": "inputs[0].assertions[2]",
124
+ "source_type": "help_text",
125
+ "locator": "http://sco.h-its.org/exelixis/web/software/raxml/index.html",
126
+ "excerpt": "RAxML accepts PHYLIP alignment files",
127
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
128
+ },
129
+ {
130
+ "id": "ev-003",
131
+ "field": "outputs[0].assertions[0]",
132
+ "source_type": "target_interface",
133
+ "locator": "execution_plan.steps[0].make_directories",
134
+ "excerpt": "make_directories: [output_dir]",
135
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
136
+ }
137
+ ],
138
+ "execution_plan": {
139
+ "steps": [
140
+ {
141
+ "make_directories": [
142
+ "output_dir"
143
+ ],
144
+ "command": [
145
+ "raxmlHPC",
146
+ "-s",
147
+ "{alignment_file}",
148
+ "-n",
149
+ "fixture",
150
+ "-m",
151
+ "PROTGAMMALG",
152
+ "-p",
153
+ "1",
154
+ "-N",
155
+ "1",
156
+ "-w",
157
+ "{output_dir}"
158
+ ]
159
+ }
160
+ ]
161
+ }
162
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/raxml_infer_protein_tree_test.json.raw.txt ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "raxml",
5
+ "version": "8.2.13",
6
+ "build": "h7b50bb2_3",
7
+ "executable": "raxmlHPC",
8
+ "subcommand": null,
9
+ "environment": {
10
+ "dependencies": ["libgcc >=13"],
11
+ "execution_environment": "Compiled"
12
+ }
13
+ },
14
+ "endpoint": {
15
+ "name": "infer_protein_tree",
16
+ "description": "Infer a protein maximum likelihood tree using RAxML with PROTGAMMALG model, parsimony seed 1, and one search."
17
+ },
18
+ "arguments": [
19
+ {
20
+ "name": "alignment_file",
21
+ "flag": "-s",
22
+ "kind": "option",
23
+ "value_type": "path",
24
+ "required": true,
25
+ "position": null,
26
+ "repeat": false,
27
+ "description": "Input alignment file in PHYLIP format."
28
+ },
29
+ {
30
+ "name": "output_dir",
31
+ "flag": "-w",
32
+ "kind": "option",
33
+ "value_type": "path",
34
+ "required": true,
35
+ "position": null,
36
+ "repeat": false,
37
+ "description": "Output directory for RAxML result files."
38
+ }
39
+ ],
40
+ "inputs": [
41
+ {
42
+ "name": "alignment_file",
43
+ "artifact_type": "file",
44
+ "binding": "alignment_file",
45
+ "assertions": [
46
+ {
47
+ "name": "exists",
48
+ "status": "declared",
49
+ "evidence": ["ev-001"]
50
+ },
51
+ {
52
+ "name": "readable",
53
+ "status": "declared",
54
+ "evidence": ["ev-001"]
55
+ },
56
+ {
57
+ "name": "format",
58
+ "value": "phylip",
59
+ "status": "inferred",
60
+ "evidence": ["ev-002"]
61
+ }
62
+ ]
63
+ }
64
+ ],
65
+ "outputs": [
66
+ {
67
+ "name": "output_dir",
68
+ "artifact_type": "directory",
69
+ "binding": "output_dir",
70
+ "assertions": [
71
+ {
72
+ "name": "exists",
73
+ "status": "declared",
74
+ "evidence": ["ev-003"]
75
+ },
76
+ {
77
+ "name": "writable",
78
+ "status": "declared",
79
+ "evidence": ["ev-003"]
80
+ }
81
+ ]
82
+ }
83
+ ],
84
+ "validators": [
85
+ {
86
+ "name": "output_dir_created",
87
+ "artifact_type": "directory",
88
+ "binding": "output_dir",
89
+ "assertions": [
90
+ {
91
+ "name": "exists",
92
+ "status": "declared",
93
+ "evidence": ["ev-003"]
94
+ }
95
+ ]
96
+ }
97
+ ],
98
+ "evidence": [
99
+ {
100
+ "id": "ev-001",
101
+ "field": "inputs[0].assertions[0]",
102
+ "source_type": "target_interface",
103
+ "locator": "parameters[0]",
104
+ "excerpt": "alignment_file required",
105
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
106
+ },
107
+ {
108
+ "id": "ev-002",
109
+ "field": "inputs[0].assertions[2]",
110
+ "source_type": "help_text",
111
+ "locator": "http://sco.h-its.org/exelixis/web/software/raxml/index.html",
112
+ "excerpt": "RAxML accepts PHYLIP alignment files",
113
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
114
+ },
115
+ {
116
+ "id": "ev-003",
117
+ "field": "outputs[0].assertions[0]",
118
+ "source_type": "target_interface",
119
+ "locator": "execution_plan.steps[0].make_directories",
120
+ "excerpt": "make_directories: [output_dir]",
121
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
122
+ }
123
+ ],
124
+ "execution_plan": {
125
+ "steps": [
126
+ {
127
+ "make_directories": [
128
+ "output_dir"
129
+ ],
130
+ "command": [
131
+ "raxmlHPC",
132
+ "-s",
133
+ "{alignment_file}",
134
+ "-n",
135
+ "fixture",
136
+ "-m",
137
+ "PROTGAMMALG",
138
+ "-p",
139
+ "1",
140
+ "-N",
141
+ "1",
142
+ "-w",
143
+ "{output_dir}"
144
+ ]
145
+ }
146
+ ]
147
+ }
148
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/raxml_infer_protein_tree_test.json.usage.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "contract_ir",
3
+ "provider": "deepseek",
4
+ "model": "deepseek-v4-flash",
5
+ "base_url": "https://api.deepseek.com/v1",
6
+ "temperature": 0.1,
7
+ "max_output_tokens": 16384,
8
+ "thinking": "disabled",
9
+ "backend_config_sha256": "b1441f3e96893718c3b4a98090b10b8bffb0cbd24041fd433cd5352e7f65008b",
10
+ "prompt_sha256": "0eb120f41775950851d8f1509d807dc832f5b5d3ce440fa640ac0f7533101cc7",
11
+ "help_sha256": "130a02166551f581f98bbae5b4c3f4408870b8a90d1c859101437c2bbebeb887",
12
+ "elapsed_seconds": 6.23202657699585,
13
+ "usage": {
14
+ "prompt_tokens": 9102,
15
+ "completion_tokens": 1029,
16
+ "total_tokens": 10131,
17
+ "prompt_tokens_details": {
18
+ "cached_tokens": 0
19
+ },
20
+ "prompt_cache_hit_tokens": 0,
21
+ "prompt_cache_miss_tokens": 9102
22
+ },
23
+ "parse_errors": [],
24
+ "normalization_changes": [],
25
+ "response_id": "b8dafdf2-dd18-473a-8120-b1698e15a092"
26
+ }
Biomanus-V2/Experiment1/runs/v4_flash_formal_133_20260826/contract_ir/rgi_remove_duplicate_prevalence_sequences_test.json ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ir_version": "0.1",
3
+ "tool": {
4
+ "package": "rgi",
5
+ "version": "5.1.0",
6
+ "build": "py36hed695b0_0",
7
+ "executable": "rgi",
8
+ "subcommand": "remove_duplicates",
9
+ "environment": "conda"
10
+ },
11
+ "endpoint": {
12
+ "name": "remove_duplicate_prevalence_sequences",
13
+ "description": "Apply RGI's native CARD-length filter and sequence deduplication to three pinned prevalence records."
14
+ },
15
+ "arguments": [
16
+ {
17
+ "name": "prevalence_fasta",
18
+ "flag": "-i",
19
+ "kind": "option",
20
+ "value_type": "path",
21
+ "required": true,
22
+ "position": null,
23
+ "repeat": false,
24
+ "description": "Input prevalence FASTA file"
25
+ },
26
+ {
27
+ "name": "card_annotation",
28
+ "flag": "--card_annotation",
29
+ "kind": "option",
30
+ "value_type": "path",
31
+ "required": true,
32
+ "position": null,
33
+ "repeat": false,
34
+ "description": "CARD annotation file"
35
+ },
36
+ {
37
+ "name": "output_fasta",
38
+ "flag": "-o",
39
+ "kind": "option",
40
+ "value_type": "path",
41
+ "required": true,
42
+ "position": null,
43
+ "repeat": false,
44
+ "description": "Output FASTA file"
45
+ }
46
+ ],
47
+ "inputs": [
48
+ {
49
+ "name": "prevalence_fasta",
50
+ "artifact_type": "fasta",
51
+ "binding": "prevalence_fasta",
52
+ "assertions": []
53
+ },
54
+ {
55
+ "name": "card_annotation",
56
+ "artifact_type": "annotation",
57
+ "binding": "card_annotation",
58
+ "assertions": []
59
+ }
60
+ ],
61
+ "outputs": [
62
+ {
63
+ "name": "output_fasta",
64
+ "artifact_type": "fasta",
65
+ "binding": "output_fasta",
66
+ "assertions": []
67
+ }
68
+ ],
69
+ "validators": [],
70
+ "evidence": [
71
+ {
72
+ "id": "ev1",
73
+ "field": "tool.package",
74
+ "source_type": "conda_search",
75
+ "locator": "conda search -c bioconda -c conda-forge rgi --info",
76
+ "excerpt": "rgi 5.1.0 py36hed695b0_0",
77
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
78
+ },
79
+ {
80
+ "id": "ev2",
81
+ "field": "tool.version",
82
+ "source_type": "conda_search",
83
+ "locator": "conda search -c bioconda -c conda-forge rgi --info",
84
+ "excerpt": "version: 5.1.0",
85
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
86
+ },
87
+ {
88
+ "id": "ev3",
89
+ "field": "tool.build",
90
+ "source_type": "conda_search",
91
+ "locator": "conda search -c bioconda -c conda-forge rgi --info",
92
+ "excerpt": "build: py36hed695b0_0",
93
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
94
+ },
95
+ {
96
+ "id": "ev4",
97
+ "field": "tool.executable",
98
+ "source_type": "target_interface",
99
+ "locator": "candidate native executable",
100
+ "excerpt": "rgi",
101
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
102
+ },
103
+ {
104
+ "id": "ev5",
105
+ "field": "tool.subcommand",
106
+ "source_type": "target_interface",
107
+ "locator": "target subcommand",
108
+ "excerpt": "remove_duplicates",
109
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
110
+ },
111
+ {
112
+ "id": "ev6",
113
+ "field": "endpoint.name",
114
+ "source_type": "target_interface",
115
+ "locator": "target endpoint",
116
+ "excerpt": "remove_duplicate_prevalence_sequences",
117
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
118
+ },
119
+ {
120
+ "id": "ev7",
121
+ "field": "arguments[0].name",
122
+ "source_type": "target_interface",
123
+ "locator": "parameters[0].name",
124
+ "excerpt": "prevalence_fasta",
125
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
126
+ },
127
+ {
128
+ "id": "ev8",
129
+ "field": "arguments[0].flag",
130
+ "source_type": "target_interface",
131
+ "locator": "parameters[0].native_binding",
132
+ "excerpt": "-i",
133
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
134
+ },
135
+ {
136
+ "id": "ev9",
137
+ "field": "arguments[1].name",
138
+ "source_type": "target_interface",
139
+ "locator": "parameters[1].name",
140
+ "excerpt": "card_annotation",
141
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
142
+ },
143
+ {
144
+ "id": "ev10",
145
+ "field": "arguments[1].flag",
146
+ "source_type": "target_interface",
147
+ "locator": "parameters[1].native_binding",
148
+ "excerpt": "--card_annotation",
149
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
150
+ },
151
+ {
152
+ "id": "ev11",
153
+ "field": "arguments[2].name",
154
+ "source_type": "target_interface",
155
+ "locator": "parameters[2].name",
156
+ "excerpt": "output_fasta",
157
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
158
+ },
159
+ {
160
+ "id": "ev12",
161
+ "field": "arguments[2].flag",
162
+ "source_type": "target_interface",
163
+ "locator": "parameters[2].native_binding",
164
+ "excerpt": "-o",
165
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
166
+ },
167
+ {
168
+ "id": "ev13",
169
+ "field": "execution_plan",
170
+ "source_type": "target_interface",
171
+ "locator": "execution_plan",
172
+ "excerpt": "{\"steps\":[{\"command\":[\"rgi\",\"remove_duplicates\",\"-i\",\"{prevalence_fasta}\",\"--card_annotation\",\"{card_annotation}\",\"-o\",\"{output_fasta}\"]}]}",
173
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
174
+ }
175
+ ],
176
+ "execution_plan": {
177
+ "steps": [
178
+ {
179
+ "command": [
180
+ "rgi",
181
+ "remove_duplicates",
182
+ "-i",
183
+ "{prevalence_fasta}",
184
+ "--card_annotation",
185
+ "{card_annotation}",
186
+ "-o",
187
+ "{output_fasta}"
188
+ ]
189
+ }
190
+ ]
191
+ }
192
+ }