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
refactor: rename Project/Sample -> BioProject/BioSample for INSDC clarity
In INSDC terminology, BioProject and BioSample are the cross-archive entity
names (visible to data submitters via the PRJ*/SAM* accession prefixes),
while the SRA/ENA XML schema uses `Project` and `Sample` internally. Rename
to the cross-archive names so the library surface matches what biology
users already know.
Substitution rules added to typename-substitutions.txt:
E) Names starting with `Project` -> `BioProject*`; names starting with
`Sample` -> `BioSample*`, EXCEPT `SampleGroup*` which is a distinct
entity (the ENA.sample_group.xsd schema).
F) Collapse the trivially duplicated stems that the schema element names
introduced, before the Bio prefix:
ProjectProjectAttributes -> BioProjectAttributes
SampleSampleName -> BioSampleName
(etc. for Links/Name/Attributes pairs)
F# IO layer follows:
- module BioProject now exposes `type BioProject` (was `type Project`)
- module Sample renamed to module BioSample (file Sample.fs -> BioSample.fs);
exposes `type BioSample` (was `type Sample`)
- Tests.fs updated to construct BioProject.BioProject() / BioSample.BioSample()
SampleGroup, SampleRef inside other entities (e.g. AnalysisSampleRef), and
non-leading occurrences of "Project"/"Sample" are intentionally unchanged.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: src/BioFSharp.FileFormats.INSDC/Generated/BioFSharp.FileFormats.INSDC/BioProjectRelatedProjectsRelatedProject.cs
Copy file name to clipboardExpand all lines: src/BioFSharp.FileFormats.INSDC/Generated/BioFSharp.FileFormats.INSDC/BioProjectRelatedProjectsRelatedProjectChildProject.cs
Copy file name to clipboardExpand all lines: src/BioFSharp.FileFormats.INSDC/Generated/BioFSharp.FileFormats.INSDC/BioProjectRelatedProjectsRelatedProjectParentProject.cs
Copy file name to clipboardExpand all lines: src/BioFSharp.FileFormats.INSDC/Generated/BioFSharp.FileFormats.INSDC/BioProjectRelatedProjectsRelatedProjectPeerProject.cs
0 commit comments