You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
annotations: reformat Annotation_Definitions to 'definition ==accession'
Change the annogroup definition format from 'accession=definition' to
'definition ==accession' (literal ' ==' separator: space + two equals signs),
so the column reads as human text with the Pfam accession appended for
provenance. E.g. 'PF00001=7 transmembrane receptor (rhodopsin family)' becomes
'7 transmembrane receptor (rhodopsin family) ==PF00001'. Accessions also still
stand alone in the Annotation_Accessions column.
BLOCK_annotations_X_ocl (the formatter / source of truth):
- utils_run_summary.format_annotation_definitions now emits 'def ==acc'
(missing definition -> '==acc'); docstrings + the self-documenting column
headers in scripts 001-004 updated to match.
- Existing RUN_02 outputs (the canonical, server-published run) were backfilled
in place by a one-off idempotent migration: 945 of 1155 definition-bearing
TSVs rewritten across all 105 structures (the 210 untouched are the empty
'zero'-subtype definition columns); full re-scan confirms 0 untransformed
pairs. A pipeline re-run would reproduce the identical text.
integrator/BLOCK_annotations_X_orthogroups:
- Script 003 no longer strips the accession; it passes the upstream OCL
definitions through verbatim (so Table 1 inherits 'def ==acc'). RUN_1 re-run,
validation PASS, re-published.
Also fixes a §39 canonical-RUN violation surfaced while investigating: the OCL
data server was being fed the stale RUN_01 (2026-05-05, pre-definitions) because
RUN_01 kept a live upload_manifest.tsv while the canonical RUN_02's manifest sat
at template defaults (all 'no'). RUN_02's manifest is now switched on (21 yes
rows), the stale RUN_01 manifest removed, and the server re-published from RUN_02
(32,130 files; 16,695 stale RUN_01 symlinks cleaned). The server now serves the
canonical run with definitions in the new format. (RUN manifests + run outputs
are gitignored runtime; only the COPYME source scripts are committed here.)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: gigantic_project-COPYME/subprojects/integrator/BLOCK_annotations_X_orthogroups/workflow-COPYME-annotations_X_orthogroups/ai/scripts/003_ai-python-build_annogroup_X_orthogroups.py
annogroup_id -> ( subtype, accessions, definitions ) from the all-types OCL
@@ -182,7 +161,7 @@ def main():
182
161
"Annogroup_ID (annogroup identifier format annogroup_pfam_N)",
183
162
"Annogroup_Subtype (single or combo)",
184
163
"Annotation_Accessions (comma delimited pfam accessions for this annogroup)",
185
-
"Annotation_Definitions (semicolon delimited pfam definition text for this annogroup; accession prefixes removed, accessions are in Annotation_Accessions)",
164
+
"Annotation_Definitions (semicolon delimited definition ==accession pairs for this annogroup passed through from the upstream annogroup OCL summary)",
186
165
"Annogroup_Species_Count (number of unique species in the annogroup)",
187
166
"Annogroup_Member_Protein_Count (number of member proteins in the annogroup)",
188
167
"Members_With_Orthogroup_Count (count of member proteins that map to an orthogroup)",
Copy file name to clipboardExpand all lines: gigantic_project-COPYME/subprojects/integrator/BLOCK_annotations_X_orthogroups/workflow-RUN_1-annotations_X_orthogroups-run_summary.md
Copy file name to clipboardExpand all lines: gigantic_project-COPYME/subprojects/ocl_phylogenetic_structures/BLOCK_annotations_X_ocl/workflow-COPYME-ocl_analysis/ai/scripts/001_ai-python-create_annogroups.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# AI: Claude Code | Opus 4.6 | 2026 April 18 | Purpose: Create annotation groups (annogroups) from annotation files and prepare inputs for OCL analysis
2
-
# AI: Claude Code | Opus 4.8 | 2026 June 05 | Purpose: Capture per-accession descriptions and emit Annotation_Definitions (acc=def) alongside Annotation_Accessions on annogroup outputs
2
+
# AI: Claude Code | Opus 4.8 | 2026 June 05 | Purpose: Capture per-accession descriptions and emit Annotation_Definitions (def ==acc) alongside Annotation_Accessions on annogroup outputs
output+='Annogroup_Subtype (single or combo or zero)\t'
927
927
output+='Annotation_Database (name of annotation database)\t'
928
928
output+='Annotation_Accessions (comma delimited annotation accessions from the database e.g. Pfam PF00069 or unannotated identifier for zero subtype)\t'
929
-
output+='Annotation_Definitions (semicolon delimited accession=definition pairs where definition is the InterProScan signature description e.g. PF00069=Protein kinase domain)\t'
929
+
output+='Annotation_Definitions (semicolon delimited definition ==accession pairs where definition is the InterProScan signature description e.g. Protein kinase domain ==PF00069)\t'
930
930
output+='Species_Count (number of unique species with at least one member sequence)\t'
931
931
output+='Sequence_Count (total number of member sequences)\t'
932
932
output+='Species_List (comma delimited list of species names as Genus_species)\t'
output+='Species_Count (number of unique species in annogroup)\t'
969
969
output+='Species_List (comma delimited list of species names as Genus_species)\t'
970
970
output+='Annotation_Accessions (comma delimited annotation accessions from the database e.g. Pfam PF00069 or unannotated identifier for zero subtype)\t'
971
-
output+='Annotation_Definitions (semicolon delimited accession=definition pairs where definition is the InterProScan signature description e.g. PF00069=Protein kinase domain)\n'
971
+
output+='Annotation_Definitions (semicolon delimited definition ==accession pairs where definition is the InterProScan signature description e.g. Protein kinase domain ==PF00069)\n'
output+='Species_List (comma delimited list of species names as Genus_species)\t'
999
999
output+='Sequence_IDs (comma delimited list of sequence identifiers)\t'
1000
1000
output+='Annotation_Accessions (comma delimited annotation accessions from the database e.g. Pfam PF00069 or unannotated identifier for zero subtype)\t'
1001
-
output+='Annotation_Definitions (semicolon delimited accession=definition pairs where definition is the InterProScan signature description e.g. PF00069=Protein kinase domain)\n'
1001
+
output+='Annotation_Definitions (semicolon delimited definition ==accession pairs where definition is the InterProScan signature description e.g. Protein kinase domain ==PF00069)\n'
Copy file name to clipboardExpand all lines: gigantic_project-COPYME/subprojects/ocl_phylogenetic_structures/BLOCK_annotations_X_ocl/workflow-COPYME-ocl_analysis/ai/scripts/002_ai-python-determine_origins.py
'Species_Count (total unique species in annogroup)',
778
778
'Species_List (comma delimited list of species in annogroup)',
779
779
'Annotation_Accessions (comma delimited annotation accessions from the database e.g. Pfam PF00069 or unannotated identifier for zero subtype)',
780
-
'Annotation_Definitions (semicolon delimited accession=definition pairs where definition is the InterProScan signature description e.g. PF00069=Protein kinase domain)'
780
+
'Annotation_Definitions (semicolon delimited definition ==accession pairs where definition is the InterProScan signature description e.g. Protein kinase domain ==PF00069)'
Copy file name to clipboardExpand all lines: gigantic_project-COPYME/subprojects/ocl_phylogenetic_structures/BLOCK_annotations_X_ocl/workflow-COPYME-ocl_analysis/ai/scripts/003_ai-python-quantify_conservation_loss.py
'Continued_Absence_Events (count of phylogenetic blocks in block-state X where annogroup is absent at both parent and child after an upstream loss)',
815
815
'Species_List (comma delimited list of all species containing this annogroup)',
816
816
'Annotation_Accessions (comma delimited annotation accessions from the database e.g. Pfam PF00069 or unannotated identifier for zero subtype)',
817
-
'Annotation_Definitions (semicolon delimited accession=definition pairs where definition is the InterProScan signature description e.g. PF00069=Protein kinase domain)'
817
+
'Annotation_Definitions (semicolon delimited definition ==accession pairs where definition is the InterProScan signature description e.g. Protein kinase domain ==PF00069)'
Copy file name to clipboardExpand all lines: gigantic_project-COPYME/subprojects/ocl_phylogenetic_structures/BLOCK_annotations_X_ocl/workflow-COPYME-ocl_analysis/ai/scripts/004_ai-python-comprehensive_ocl_analysis.py
'Continued_Absence_Events (count of phylogenetic blocks in block-state X where annogroup is absent at both parent and child after an upstream loss)',
904
904
'Species_List (comma delimited list of all species containing this annogroup)',
905
905
'Annotation_Accessions (comma delimited annotation accessions from the database e.g. Pfam PF00069 or unannotated identifier for zero subtype)',
906
-
'Annotation_Definitions (semicolon delimited accession=definition pairs where definition is the InterProScan signature description e.g. PF00069=Protein kinase domain)'
906
+
'Annotation_Definitions (semicolon delimited definition ==accession pairs where definition is the InterProScan signature description e.g. Protein kinase domain ==PF00069)'
Copy file name to clipboardExpand all lines: gigantic_project-COPYME/subprojects/ocl_phylogenetic_structures/BLOCK_annotations_X_ocl/workflow-COPYME-ocl_analysis/ai/scripts/utils_run_summary.py
0 commit comments