Skip to content

feat: Migrating existing configs to include frame & ctf metadata #428

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 61 commits into from
Apr 25, 2025
Merged
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
696d3ac
Updating ingestion config to v2 core
manasaV3 Jan 31, 2025
e0b8487
Adding CTF entity to config
manasaV3 Jan 31, 2025
ae2ccf6
Updating api to v2
manasaV3 Jan 31, 2025
69d5dc7
Adding validation for frame metadata
manasaV3 Jan 31, 2025
a9cb466
Migrating CTF entity in configs
manasaV3 Jan 31, 2025
8627ec0
Adding generated ctf and rawtlt files as fallback
manasaV3 Jan 31, 2025
7ae7ad0
Removing default keyphoto source as it is handled in the ingestion
manasaV3 Jan 31, 2025
0ac5618
Updating the mdoc file paths
manasaV3 Jan 31, 2025
efc9d36
Addinig frames dose rate config migration
manasaV3 Feb 1, 2025
63e34b3
Generating configs with failing stub dose_rate
manasaV3 Feb 1, 2025
1b6477a
Updating configs with failing stub dose_rate
manasaV3 Feb 3, 2025
d30885d
Adding documentation for gjensen config generation
manasaV3 Feb 21, 2025
f26bde0
Updating paths for mdoc and rawtlt to generated for jensen datasets
manasaV3 Feb 21, 2025
0f8c90d
Updating schema migration
manasaV3 Feb 21, 2025
8b438fa
Fix ctf configs
manasaV3 Feb 21, 2025
b41bfce
Merge remote-tracking branch 'origin/main' into mvenkatakrishnan/fnct…
uermel Mar 10, 2025
91b685c
first batch of updates
uermel Mar 10, 2025
486ac10
codegen
manasaV3 Mar 10, 2025
ffeb2d6
Merge remote-tracking branch 'origin/main' into mvenkatakrishnan/fnct…
uermel Mar 17, 2025
c2b4280
2nd batch of updates
uermel Mar 17, 2025
7e74c6e
dose rate for sim data
uermel Mar 18, 2025
42b1b3a
generalize per run mapping feature
uermel Mar 21, 2025
6db5a7e
Merge remote-tracking branch 'origin/main' into mvenkatakrishnan/fnct…
uermel Mar 25, 2025
f1a64d7
update cryoet-alignment dependency and 10009
uermel Mar 25, 2025
57780c1
Merge remote-tracking branch 'origin/main' into mvenkatakrishnan/fnct…
uermel Mar 26, 2025
7eb6acb
update lock file
uermel Mar 26, 2025
427ace4
fix some errors unnoticed during source validation.
uermel Mar 26, 2025
f47ebf8
fix 10005
uermel Mar 26, 2025
1c478a6
further fixes not caught in source validation
uermel Mar 26, 2025
fa9ca5b
further fixes not caught in source validation
uermel Mar 26, 2025
f630b1a
further updates.
uermel Mar 27, 2025
ea16081
fix staging validation by excluding new metadata file
uermel Mar 27, 2025
58b6c67
more fixes
uermel Mar 27, 2025
9d66b3c
add missing frames
uermel Mar 27, 2025
28e5029
fix frame import for 10009
uermel Mar 27, 2025
ea0f5b5
fix frame import for 10009
uermel Mar 27, 2025
602b5d4
fix gain import
uermel Mar 28, 2025
fd3aa3a
more fixes for 10002 and 10009
uermel Mar 28, 2025
9d3b5a7
add CTF
uermel Apr 8, 2025
e24cd64
first batch jensen
uermel Apr 10, 2025
1ef9274
Merge remote-tracking branch 'origin/main' into mvenkatakrishnan/fnct…
uermel Apr 10, 2025
7870840
allow manual exclude
uermel Apr 14, 2025
90a1a61
complete all jensen
uermel Apr 14, 2025
d04440a
fix dose rate
uermel Apr 14, 2025
7af4c2c
lint
uermel Apr 14, 2025
d82a6b6
update tilt angle validation to handle double-0 tilt
uermel Apr 14, 2025
68f2f78
fix 259
uermel Apr 14, 2025
c8a8bc8
apply quality score correctly
uermel Apr 15, 2025
7fc77c8
validate tilt range correctly
uermel Apr 15, 2025
a211859
lint
uermel Apr 15, 2025
634b9be
override total_flux
uermel Apr 15, 2025
d93d0e1
Merge remote-tracking branch 'origin/main' into mvenkatakrishnan/fnct…
uermel Apr 15, 2025
0b2cebd
deal with cases where tilt series is missing.
uermel Apr 15, 2025
df3d4d3
fix 185 and 195
uermel Apr 15, 2025
480ce46
add CTF for pahntom
uermel Apr 16, 2025
a4596bf
Update ingestion_tools/scripts/data_validation/standardized/fixtures/…
uermel Apr 16, 2025
080dcf8
address review, remove bad defaults for quality
uermel Apr 16, 2025
86096e4
Merge remote-tracking branch 'origin/mvenkatakrishnan/fnctf_config_mi…
uermel Apr 16, 2025
f074966
Suggested changes
Bento007 Apr 22, 2025
661aba4
Suggested changes 2
Bento007 Apr 24, 2025
315ed34
regenerate gjensen configs
Bento007 Apr 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1,079 changes: 540 additions & 539 deletions ingestion_tools/dataset_configs/10000.yaml

Large diffs are not rendered by default.

1,028 changes: 524 additions & 504 deletions ingestion_tools/dataset_configs/10001.yaml

Large diffs are not rendered by default.

496 changes: 254 additions & 242 deletions ingestion_tools/dataset_configs/10002.yaml

Large diffs are not rendered by default.

396 changes: 199 additions & 197 deletions ingestion_tools/dataset_configs/10003.yaml

Large diffs are not rendered by default.

484 changes: 243 additions & 241 deletions ingestion_tools/dataset_configs/10004.yaml

Large diffs are not rendered by default.

430 changes: 228 additions & 202 deletions ingestion_tools/dataset_configs/10005.yaml

Large diffs are not rendered by default.

460 changes: 229 additions & 231 deletions ingestion_tools/dataset_configs/10006.yaml

Large diffs are not rendered by default.

510 changes: 267 additions & 243 deletions ingestion_tools/dataset_configs/10007.yaml

Large diffs are not rendered by default.

498 changes: 248 additions & 250 deletions ingestion_tools/dataset_configs/10008.yaml

Large diffs are not rendered by default.

815 changes: 388 additions & 427 deletions ingestion_tools/dataset_configs/10009.yaml

Large diffs are not rendered by default.

446 changes: 225 additions & 221 deletions ingestion_tools/dataset_configs/10010.yaml

Large diffs are not rendered by default.

760 changes: 380 additions & 380 deletions ingestion_tools/dataset_configs/10301.yaml

Large diffs are not rendered by default.

410 changes: 209 additions & 201 deletions ingestion_tools/dataset_configs/10302.yaml

Large diffs are not rendered by default.

363 changes: 176 additions & 187 deletions ingestion_tools/dataset_configs/10426.yaml
Original file line number Diff line number Diff line change
@@ -1,202 +1,191 @@
alignments:
- metadata:
format: IMOD
method_type: fiducial_based
sources:
- source_multi_glob:
list_globs:
- alignmentfiles/{run_name}_binalign8_fid.tlt
- alignmentfiles/{run_name}_binalign8_fid.xf

annotations: []

- metadata:
format: IMOD
method_type: fiducial_based
sources:
- source_multi_glob:
list_globs:
- alignmentfiles/{run_name}_binalign8_fid.tlt
- alignmentfiles/{run_name}_binalign8_fid.xf
annotations: [ ]
collection_metadata:
- sources:
- source_glob:
list_glob: 'mdocs/{mdoc_name}'

- sources:
- source_glob:
list_glob: mdocs/{mdoc_name}
datasets:
- metadata:
authors: &id001
- name: Willy W. Sun
primary_author_status: true
- name: Dennis J Michalak
primary_author_status: true
- ORCID: 0000-0003-1160-4558
corresponding_author_status: true
name: Kem A. Sochacki
primary_author_status: true
- ORCID: 0000-0002-5130-5061
corresponding_author_status: true
name: Jenny E. Hinshaw
primary_author_status: false
- ORCID: 0000-0001-5355-9535
corresponding_author_status: true
name: Justin W. Taraska
primary_author_status: false
cell_strain:
id: CLO:0051569
name: RCB1975 cell
cell_type:
id: CL:0000010
name: cultured cell
cross_references: &id002
publications: 10.1038/s41467-025-56045-z, 10.1101/2024.06.27.600657
related_database_entries: EMD-44921, EMD-44909, EMD-44922, EMD-46973
dataset_description: Michalak, Sun, Sochacki et al. 2024 unroofing manuscript
contains 10 grids. This is grid 1 of 10 and contains basal membranes of HSC3
cells. The cell line expresses EGFR-GFP as described in Panilla-Macua et al.
Elife 2017 and has been serum starved. The cells were grown on Quantifoil Au
300 R2/2, 2 nm carbon grids prior to removing the apical membrane and cytoplasm
with 0.7 bar of paraformaldehyde prior to vitrification.
dataset_identifier: 10426
dataset_title: Plasma membranes isolated by unroofing - Grid 01
dates: &dates
deposition_date: '2024-07-01'
last_modified_date: '2025-01-08'
release_date: '2025-01-08'
funding:
- funding_agency_name: Chan Zuckerberg Initiative
grant_id: 2021-234544
- funding_agency_name: NIH
grant_id: 1ZIAHL006098
- funding_agency_name: NIH
grant_id: 1ZIADK060100
grid_preparation: plasma discharge 30 sec + UV treatment 20 min + 125 ng/ul fibronectin,
20 minutes + water rinse + seeded with 15000 cells
organism:
name: Homo sapiens
taxonomy_id: 9606
sample_preparation: serum starved and grown on Quantifoil Au 300 R2/2, 2 nm carbon
grids
sample_type: organelle
cell_component:
name: plasma membrane
id: GO:0005886
sources:
- literal:
value:
- '10426'

depositions:
- metadata:
authors: *id001
cross_references: *id002
dates: *dates
deposition_description: Cryo-electron tomography datasets used in the development
and evaluation of the unroofing method for preparation of plasma membranes and
associated proteins.
deposition_identifier: 10306
deposition_title: Human plasma membranes isolated using the unroofing method
deposition_types:
- dataset
sources:
- literal:
value:
- 10306

- metadata:
authors: &id001
- name: Willy W. Sun
primary_author_status: true
- name: Dennis J Michalak
primary_author_status: true
- ORCID: 0000-0003-1160-4558
corresponding_author_status: true
name: Kem A. Sochacki
primary_author_status: true
- ORCID: 0000-0002-5130-5061
corresponding_author_status: true
name: Jenny E. Hinshaw
primary_author_status: false
- ORCID: 0000-0001-5355-9535
corresponding_author_status: true
name: Justin W. Taraska
primary_author_status: false
cell_component:
id: GO:0005886
name: plasma membrane
cell_strain:
id: CLO:0051569
name: RCB1975 cell
cell_type:
id: CL:0000010
name: cultured cell
cross_references: &id002
publications: 10.1038/s41467-025-56045-z, 10.1101/2024.06.27.600657
related_database_entries: EMD-44921, EMD-44909, EMD-44922, EMD-46973
dataset_description: Michalak, Sun, Sochacki et al. 2024 unroofing manuscript
contains 10 grids. This is grid 1 of 10 and contains basal membranes of HSC3
cells. The cell line expresses EGFR-GFP as described in Panilla-Macua et al.
Elife 2017 and has been serum starved. The cells were grown on Quantifoil Au
300 R2/2, 2 nm carbon grids prior to removing the apical membrane and cytoplasm
with 0.7 bar of paraformaldehyde prior to vitrification.
dataset_identifier: 10426
dataset_title: Plasma membranes isolated by unroofing - Grid 01
dates: &id003
deposition_date: '2024-07-01'
last_modified_date: '2025-01-08'
release_date: '2025-01-08'
funding:
- funding_agency_name: Chan Zuckerberg Initiative
grant_id: 2021-234544
- funding_agency_name: NIH
grant_id: 1ZIAHL006098
- funding_agency_name: NIH
grant_id: 1ZIADK060100
grid_preparation: plasma discharge 30 sec + UV treatment 20 min + 125 ng/ul fibronectin,
20 minutes + water rinse + seeded with 15000 cells
organism:
name: Homo sapiens
taxonomy_id: 9606
sample_preparation: serum starved and grown on Quantifoil Au 300 R2/2, 2 nm carbon
grids
sample_type: organelle
sources:
- literal:
value:
- '10426'
deposition_keyphotos:
- sources:
- literal:
value:
snapshot: "cryoetportal-rawdatasets-dev/deposition_key_photos/deposition_10306_snapshot.png"
thumbnail: "cryoetportal-rawdatasets-dev/deposition_key_photos/deposition_10306_thumbnail.png"

- sources:
- literal:
value:
snapshot: cryoetportal-rawdatasets-dev/deposition_key_photos/deposition_10306_snapshot.png
thumbnail: cryoetportal-rawdatasets-dev/deposition_key_photos/deposition_10306_thumbnail.png
depositions:
- metadata:
authors: *id001
cross_references: *id002
dates: *id003
deposition_description: Cryo-electron tomography datasets used in the development
and evaluation of the unroofing method for preparation of plasma membranes and
associated proteins.
deposition_identifier: 10306
deposition_title: Human plasma membranes isolated using the unroofing method
deposition_types:
- dataset
sources:
- literal:
value:
- 10306
frames:
- sources:
- source_glob:
list_glob: 'frames/{frame_prefix}*.mrc'

gains: []

- metadata:
dose_rate: float {dose_rate}
is_gain_corrected: true
sources:
- source_glob:
list_glob: frames/{frame_prefix}*.mrc
gains: [ ]
rawtilts:
- sources:
- source_glob:
list_glob: 'rawtilts/{run_name}.rawtlt'

- source_glob:
list_glob: rawtilts/{run_name}.rawtlt
runs:
- sources:
- source_glob:
list_glob: tomograms_bin8/*
match_regex: \.rec$
name_regex: (.*)_binalign8.rec

- sources:
- source_glob:
list_glob: tomograms_bin8/*
match_regex: \.rec$
name_regex: (.*)_binalign8.rec
standardization_config:
deposition_id: 10306
run_data_map_file: run_to_data_map.tsv
run_data_map_file: run_to_data_map_vali.tsv
source_prefix: kem_sochacki_06_2024/grid01/

tiltseries:
- metadata:
acceleration_voltage: 300000
binning_from_frames: 1
camera:
manufacturer: Gatan
model: K3
data_acquisition_software: SerialEM
is_aligned: false
microscope:
manufacturer: FEI
model: TITAN KRIOS
microscope_optical_setup:
energy_filter: Gatan Bioquantum
pixel_spacing: 1.0825
spherical_aberration_constant: 2.7
tilt_axis: 0.0
tilt_range:
max: float {tilt_series_max_tilt}
min: float {tilt_series_min_tilt}
tilt_series_quality: 5
tilt_step: 2.0
tilting_scheme: dose-symmetric
total_flux: float {tilt_series_total_flux}
sources:
- source_glob:
list_glob: 'tilt_series/{run_name}_binalign8.st'
match_regex: ^.*\.st$

- metadata:
acceleration_voltage: 300000
binning_from_frames: 8
camera:
manufacturer: Gatan
model: K3
data_acquisition_software: SerialEM
is_aligned: false
microscope:
manufacturer: FEI
model: TITAN KRIOS
microscope_optical_setup:
energy_filter: Gatan Bioquantum
pixel_spacing: 8.66
spherical_aberration_constant: 2.7
tilt_axis: 177.0
tilt_range:
max: float {tilt_series_max_tilt}
min: float {tilt_series_min_tilt}
tilt_series_quality: 5
tilt_step: 2.0
tilting_scheme: dose-symmetric
total_flux: float {tilt_series_total_flux}
sources:
- source_glob:
list_glob: tilt_series/{run_name}_binalign8.st
match_regex: ^.*\.st$
tomograms:
- metadata:
affine_transformation_matrix:
- - 1
- 0
- 0
- 0
- - 0
- 1
- 0
- 0
- - 0
- 0
- 1
- 0
- - 0
- 0
- 0
- 1
authors: *id001
ctf_corrected: false
dates: *dates
fiducial_alignment_status: FIDUCIAL
is_visualization_default: true
offset:
x: 0
y: 0
z: 0
processing: raw
reconstruction_method: SIRT
reconstruction_software: IMOD
tomogram_version: 1
voxel_spacing: 8.66
sources:
- source_glob:
list_glob: 'tomograms_bin8/{run_name}_binalign8.rec'
match_regex: (.*)\.rec

- metadata:
affine_transformation_matrix:
- - 1
- 0
- 0
- 0
- - 0
- 1
- 0
- 0
- - 0
- 0
- 1
- 0
- - 0
- 0
- 0
- 1
authors: *id001
ctf_corrected: false
dates: *id003
fiducial_alignment_status: FIDUCIAL
is_visualization_default: true
offset:
x: 0
y: 0
z: 0
processing: raw
reconstruction_method: SIRT
reconstruction_software: IMOD
tomogram_version: 1
voxel_spacing: 8.66
sources:
- source_glob:
list_glob: tomograms_bin8/{run_name}_binalign8.rec
match_regex: (.*)\.rec
version: 1.1.0

voxel_spacings:
- sources:
- literal:
value:
- 8.66
- sources:
- literal:
value:
- 8.66
Loading
Loading