adambuttrick commited on
Commit
26316aa
·
0 Parent(s):

PDB DataCite 4.7 records, snapshot 2026-10-30

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +60 -0
  2. CROSSWALK.md +149 -0
  3. MANIFEST.json +173 -0
  4. OVERVIEW.md +231 -0
  5. README.md +98 -0
  6. incomplete/json/part-00000.jsonl.gz +3 -0
  7. incomplete/reasons.jsonl +16 -0
  8. incomplete/xml/part-00000.jsonl.gz +3 -0
  9. json/part-00000.jsonl.gz +3 -0
  10. json/part-00001.jsonl.gz +3 -0
  11. json/part-00002.jsonl.gz +3 -0
  12. json/part-00003.jsonl.gz +3 -0
  13. json/part-00004.jsonl.gz +3 -0
  14. json/part-00005.jsonl.gz +3 -0
  15. json/part-00006.jsonl.gz +3 -0
  16. json/part-00007.jsonl.gz +3 -0
  17. json/part-00008.jsonl.gz +3 -0
  18. json/part-00009.jsonl.gz +3 -0
  19. json/part-00010.jsonl.gz +3 -0
  20. json/part-00011.jsonl.gz +3 -0
  21. json/part-00012.jsonl.gz +3 -0
  22. json/part-00013.jsonl.gz +3 -0
  23. json/part-00014.jsonl.gz +3 -0
  24. json/part-00015.jsonl.gz +3 -0
  25. json/part-00016.jsonl.gz +3 -0
  26. json/part-00017.jsonl.gz +3 -0
  27. json/part-00018.jsonl.gz +3 -0
  28. json/part-00019.jsonl.gz +3 -0
  29. json/part-00020.jsonl.gz +3 -0
  30. json/part-00021.jsonl.gz +3 -0
  31. json/part-00022.jsonl.gz +3 -0
  32. json/part-00023.jsonl.gz +3 -0
  33. json/part-00024.jsonl.gz +3 -0
  34. json/part-00025.jsonl.gz +3 -0
  35. json/part-00026.jsonl.gz +3 -0
  36. mapping.yaml +343 -0
  37. xml/part-00000.jsonl.gz +3 -0
  38. xml/part-00001.jsonl.gz +3 -0
  39. xml/part-00002.jsonl.gz +3 -0
  40. xml/part-00003.jsonl.gz +3 -0
  41. xml/part-00004.jsonl.gz +3 -0
  42. xml/part-00005.jsonl.gz +3 -0
  43. xml/part-00006.jsonl.gz +3 -0
  44. xml/part-00007.jsonl.gz +3 -0
  45. xml/part-00008.jsonl.gz +3 -0
  46. xml/part-00009.jsonl.gz +3 -0
  47. xml/part-00010.jsonl.gz +3 -0
  48. xml/part-00011.jsonl.gz +3 -0
  49. xml/part-00012.jsonl.gz +3 -0
  50. xml/part-00013.jsonl.gz +3 -0
.gitattributes ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.avro filter=lfs diff=lfs merge=lfs -text
4
+ *.bin filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
7
+ *.ftz filter=lfs diff=lfs merge=lfs -text
8
+ *.gz filter=lfs diff=lfs merge=lfs -text
9
+ *.h5 filter=lfs diff=lfs merge=lfs -text
10
+ *.joblib filter=lfs diff=lfs merge=lfs -text
11
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
13
+ *.mds filter=lfs diff=lfs merge=lfs -text
14
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
+ *.model filter=lfs diff=lfs merge=lfs -text
16
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
17
+ *.npy filter=lfs diff=lfs merge=lfs -text
18
+ *.npz filter=lfs diff=lfs merge=lfs -text
19
+ *.onnx filter=lfs diff=lfs merge=lfs -text
20
+ *.ot filter=lfs diff=lfs merge=lfs -text
21
+ *.parquet filter=lfs diff=lfs merge=lfs -text
22
+ *.pb filter=lfs diff=lfs merge=lfs -text
23
+ *.pickle filter=lfs diff=lfs merge=lfs -text
24
+ *.pkl filter=lfs diff=lfs merge=lfs -text
25
+ *.pt filter=lfs diff=lfs merge=lfs -text
26
+ *.pth filter=lfs diff=lfs merge=lfs -text
27
+ *.rar filter=lfs diff=lfs merge=lfs -text
28
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
29
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
31
+ *.tar filter=lfs diff=lfs merge=lfs -text
32
+ *.tflite filter=lfs diff=lfs merge=lfs -text
33
+ *.tgz filter=lfs diff=lfs merge=lfs -text
34
+ *.wasm filter=lfs diff=lfs merge=lfs -text
35
+ *.xz filter=lfs diff=lfs merge=lfs -text
36
+ *.zip filter=lfs diff=lfs merge=lfs -text
37
+ *.zst filter=lfs diff=lfs merge=lfs -text
38
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
39
+ # Audio files - uncompressed
40
+ *.pcm filter=lfs diff=lfs merge=lfs -text
41
+ *.sam filter=lfs diff=lfs merge=lfs -text
42
+ *.raw filter=lfs diff=lfs merge=lfs -text
43
+ # Audio files - compressed
44
+ *.aac filter=lfs diff=lfs merge=lfs -text
45
+ *.flac filter=lfs diff=lfs merge=lfs -text
46
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
47
+ *.ogg filter=lfs diff=lfs merge=lfs -text
48
+ *.wav filter=lfs diff=lfs merge=lfs -text
49
+ # Image files - uncompressed
50
+ *.bmp filter=lfs diff=lfs merge=lfs -text
51
+ *.gif filter=lfs diff=lfs merge=lfs -text
52
+ *.png filter=lfs diff=lfs merge=lfs -text
53
+ *.tiff filter=lfs diff=lfs merge=lfs -text
54
+ # Image files - compressed
55
+ *.jpg filter=lfs diff=lfs merge=lfs -text
56
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
57
+ *.webp filter=lfs diff=lfs merge=lfs -text
58
+ # Video files - compressed
59
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
60
+ *.webm filter=lfs diff=lfs merge=lfs -text
CROSSWALK.md ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PDB to DataCite crosswalk
2
+
3
+ This document describes how pdb-datacite maps a PDB entry file (PDBx/mmCIF) to a DataCite Metadata Schema 4.7 record. Each entry gives one record for its PDB DOI, `10.2210/pdbXXXX/pdb`.
4
+
5
+ `data/mapping.yaml` holds the same mapping in the form that the converter reads. The [README](README.md) tells how to run the converter and how to change the mapping.
6
+
7
+ ## Principles
8
+
9
+ 1. The record uses only data from the entry file. It does not use data from external sources such as OpenAlex, ORCID, PubMed or the publisher.
10
+ 2. One PDB value gives one DataCite value. The converter does not make text from many fields.
11
+ 3. Values stay as the depositor or the wwPDB gave them. The converter changes only whitespace, DOI prefixes and the letter case of UniProt accessions.
12
+ 4. Fixed lookups add identifiers to PDB values. The table below gives the lookups.
13
+ 5. The crosswalk uses schema 4.7. Version 4.7 adds the relation type `Other` with `relationTypeInformation`. With this relation type, the record keeps the PDB labels of related entries.
14
+
15
+ | Lookup | Input | Output |
16
+ |---|---|---|
17
+ | Funder table (`data/funder_ror.csv`) | `_pdbx_audit_support.funding_organization` | ROR ID |
18
+ | Resolver patterns | PDB, EMDB, BMRB, SASBDB and UniProt accessions, EC numbers | DOI or URL |
19
+ | NCBI Taxonomy | NCBI taxonomy ID | Taxonomy browser URI |
20
+
21
+ ## Mandatory and optional properties
22
+
23
+ The mapping has two blocks of properties. The `mandatory` block has the six DataCite mandatory properties and `url`. Each of these properties must have a value. The `optional` block has all other properties. If an optional property has no value, the record does not include it.
24
+
25
+ If an entry has no value for a mandatory property, the converter does not write its record to the output. It writes the incomplete record to a different directory, with the names of the missing properties. For example, some obsolete entries have no title.
26
+
27
+ ## Property map
28
+
29
+ The table gives the properties in the order of the record.
30
+
31
+ | DataCite property | PDBx/mmCIF source | Rule |
32
+ |---|---|---|
33
+ | Identifier (DOI) | `_database_2.pdbx_DOI` (row with `database_id` PDB) | Use the DOI as is if it is the DOI of the entry. If the value is not a valid DOI, or if it is the DOI of a different entry, make the DOI from the entry ID. For example, the file of 7QNP gives `10.2210/pdb7np/pdb`. |
34
+ | url | `_database_2.pdbx_database_accession` | `https://www.wwpdb.org/pdb?id=pdb_0000xxxx`, with the extended PDB ID in small letters. |
35
+ | ResourceType | constant | `Dataset`, with the resource type "Structure model". "Structure model" is the PDB value of `data_content_type`. |
36
+ | Creator | `_audit_author.name`, `.identifier_ORCID` | Order by `pdbx_ordinal`. Split "Family, Given" at the first comma. A name without a comma gets no `nameType`. Add the ORCID iD as a name identifier. |
37
+ | Title | `_struct.title` | Use as is. |
38
+ | Publisher | constant | Worldwide Protein Data Bank, with the ROR ID `047qy5748`. |
39
+ | PublicationYear | `_pdbx_audit_revision_history`, `_pdbx_database_status.recvd_initial_deposition_date` | Year of the first "Structure model" revision. If that revision has no date, use the year of the deposition date. |
40
+ | Subject | `_struct_keywords.pdbx_keywords`, `.text` | One subject for `pdbx_keywords` and one subject for each part of `text`. Commas separate the parts. |
41
+ | Subject | `_entity_src_gen`, `_entity_src_nat`, `_pdbx_entity_src_syn`, `_em_entity_assembly_naturalsource` | One subject for each source organism, with the scheme "NCBI Taxonomy", a URI and the taxonomy ID as `classificationCode`. The record does not include expression hosts. |
42
+ | Subject | `_exptl.method` | One subject for each experimental method. The scheme is "PDBx/mmCIF _exptl.method". The scheme URI is the dictionary page of the item. |
43
+ | Subject | `_entity.pdbx_description` (polymer entities) | One subject for each molecule name, without a scheme. |
44
+ | Subject | `_entity.pdbx_ec` | One subject for each EC number. See [UniProt and EC numbers](#uniprot-and-ec-numbers). |
45
+ | Contributor (ContactPerson) | `_pdbx_contact_author` | Name and ORCID iD. The family name is `name_last`. The given name is `name_first` and `name_mi`. The record does not include the email address. |
46
+ | Contributor (DataCurator) | `_pdbx_database_status.process_site` | The name of the wwPDB site for the site code: RCSB, PDBE, PDBJ, PDBC, BMRB, BNL or NDB. |
47
+ | Contributor (ResearchGroup) | `_pdbx_SG_project.full_name_of_center` | Structural genomics centers only. |
48
+ | Date (Submitted) | `_pdbx_database_status.recvd_initial_deposition_date` | Deposition date. |
49
+ | Date (Available) | first revision in `_pdbx_audit_revision_history` | Release date. See [Date information](#date-information). |
50
+ | Date (Updated) | later revisions | One date for each revision. |
51
+ | Date (Withdrawn) | revision with the type "Obsolete" | Obsolete entries only. |
52
+ | Date (Collected) | `_diffrn_detector.pdbx_collection_date`, `_em_imaging.date` | Full `YYYY-MM-DD` values only. |
53
+ | Language | constant | `en`. |
54
+ | AlternateIdentifier | `_entry.id`, extended PDB ID | Types "PDB ID" and "Extended PDB ID". |
55
+ | RelatedIdentifier | `_citation` (id `primary`) | DOI and PubMed ID, `IsSupplementTo`. |
56
+ | RelatedIdentifier | `_citation` (other ids) | DOI and PubMed ID, `References`. |
57
+ | RelatedIdentifier | `_pdbx_database_related` | `Other`, with the PDB label in `relationTypeInformation`. See [Related entries](#related-entries). |
58
+ | RelatedIdentifier | `_pdbx_initial_refinement_model` (source PDB) | DOI of the starting model, `IsDerivedFrom`. |
59
+ | RelatedIdentifier | `_pdbx_related_exp_data_set.data_reference` | DOI of the raw data, `IsDerivedFrom`. |
60
+ | RelatedIdentifier | `_pdbx_database_PDB_obs_spr` | `SPRSDE` gives `Obsoletes`. `OBSLTE` gives `IsObsoletedBy`. Each PDB ID in the row gives one relation. For example, 2HHB, 3HHB and 4HHB replace 1HHB. |
61
+ | RelatedIdentifier | `_struct_ref.pdbx_db_accession` (`db_name` UNP) | UniProt URL, `References`. See [UniProt and EC numbers](#uniprot-and-ec-numbers). |
62
+ | RelatedItem | `_citation`, `_citation_author` | A citation without a DOI or PubMed ID gives a full reference: title, authors, year, volume, issue and pages. The record does not include "To be published" citations. |
63
+ | RelatedItem | `_pdbx_deposit_group` | `IsPartOf` a `Collection`. The title is `group_title`. The `number` is the group ID. |
64
+ | RelatedItem | `_software`, `_em_software`, `_pdbx_nmr_software` | `IsCompiledBy` a `Software` item. The title is `name`, and `edition` is `version`. One item for each name and version. |
65
+ | RelatedItem | `_em_imaging.microscope_model` | `IsCollectedBy` an `Instrument` item. The title is the model name. |
66
+ | Format | `_pdbx_database_status.pdb_format_compatible` | PDBx/mmCIF and PDBML. Add PDB if the value is `Y`. |
67
+ | Version | last "Structure model" revision | `major.minor`. |
68
+ | Rights | constant | CC0 1.0. This is the wwPDB usage policy. |
69
+ | Description (Methods) | `_exptl_crystal_grow.pdbx_details` | One description for each different text. The text is as the depositor gave it. |
70
+ | FundingReference | `_pdbx_audit_support` | `funderName` is `funding_organization` as given. `awardNumber` is `grant_number` as given. The ROR ID comes from the funder table. |
71
+
72
+ The record includes each keyword and molecule name one time only. This check ignores the letter case.
73
+
74
+ ## Date information
75
+
76
+ Each revision date (Available, Updated and Withdrawn) gets a `dateInformation` value from one PDB field:
77
+
78
+ 1. The `_pdbx_audit_revision_group.group` values of the revision, with commas between them. An example is "Database references, Structure summary".
79
+ 2. If the revision has no groups, `_pdbx_audit_revision_details.type`. An example is "Initial release".
80
+
81
+ The Submitted and Collected dates have no `dateInformation`. The Version property gives the version number.
82
+
83
+ A revision without a date gives no date in the record. Some obsolete entries have no date for the initial release. These records have no Available date, and their PublicationYear is the year of the deposition date.
84
+
85
+ ## Related entries
86
+
87
+ `_pdbx_database_related` links an entry to entries in other archives. The PDB label of the link (`content_type`) goes into `relationTypeInformation`. The record does not include the free-text `details`.
88
+
89
+ The labels "unspecified" and "other" do not tell what the relation is. The record does not include links with these labels.
90
+
91
+ | `db_name` | Identifier | Type |
92
+ |---|---|---|
93
+ | PDB | `10.2210/pdbxxxx/pdb` | DOI |
94
+ | EMDB | `https://www.ebi.ac.uk/emdb/EMD-NNNNN` | URL |
95
+ | BMRB | `https://bmrb.io/data_library/summary/index.php?bmrbId=NNNNN` | URL |
96
+ | SASBDB | `https://identifiers.org/sasbdb:SASXXXX` | URL |
97
+
98
+ The record does not include links to other databases, for example TargetDB, NDB and PDB-Dev. EMDB entries have no DOIs. Older BMRB entries have no DataCite DOIs. For this reason, all BMRB links are URLs. SASBDB links use the identifiers.org resolver.
99
+
100
+ ## UniProt and EC numbers
101
+
102
+ `_struct_ref` gives the reference sequence of each polymer. The record uses only the rows with `db_name` UNP. It does not use rows for other databases, for example GenBank, PIR and EMBL.
103
+
104
+ | Value | Rule | Identifier |
105
+ |---|---|---|
106
+ | UniProt accession | The converter changes the accession to capital letters. An isoform suffix such as `-2` stays. If the accession does not agree with the UniProt format, the record does not include it. | `https://www.uniprot.org/uniprotkb/P69905`, type URL, relation `References` |
107
+ | EC number | The converter splits the value at commas. Partial numbers such as `3.4.21.-` stay. If a value does not agree with the EC format, the record does not include it. | Subject scheme "Enzyme Commission number". `valueURI` is `https://www.enzyme-database.org/query.php?ec=3.4.21.4`. `classificationCode` is the EC number. |
108
+
109
+ The EC URI goes to ExplorEnz, the IUBMB enzyme list. ExplorEnz also shows partial numbers.
110
+
111
+ ## Funder table
112
+
113
+ `data/funder_ror.csv` maps each PDB funder string to a ROR ID. The `pdb-datacite funder-table` command makes the table with these rules, in order:
114
+
115
+ 1. Generic values, for example "Not funded" and "Other government", are not funders. The record does not include them.
116
+ 2. A name in the PDBx dictionary list maps to a ROR record if all of these conditions are true:
117
+ - After normalization, the name is exactly equal to a name, label or alias of the ROR record. For "Parent/Child" names, the rule uses the child part.
118
+ - The ROR record is in the country that the dictionary gives for the name.
119
+ - Only one ROR record agrees.
120
+ 3. A free-text name gets the mapping of a dictionary name if all of these conditions are true:
121
+ - The two names have the same base name. The base name is the text before the parentheses.
122
+ - The text in the free-text parentheses adds nothing to the text in the dictionary parentheses.
123
+ - The free-text name repeats any country that the dictionary name gives.
124
+ - Exactly one dictionary name agrees.
125
+ 4. Other free-text names use rule 2 only if they give a country in parentheses. An example is "Medical Research Council (United Kingdom)".
126
+ 5. `data/funder_ror_decisions.csv` overrides rules 2 to 4. It holds a reviewed decision for each dictionary name that the rules do not map.
127
+
128
+ A note in each decision gives its reason. Some notes start with "interpretive". These decisions use evidence outside the name, for example the format of grant numbers. To keep only the mappings from names, remove these rows.
129
+
130
+ A free-text name without a country gets no mapping, for example "National Institutes of Health". Without a country, the name can refer to more than one funder.
131
+
132
+ The [README](README.md) gives the commands that make the table and the meaning of each status.
133
+
134
+ ## Data not in the record
135
+
136
+ | Data | Reason |
137
+ |---|---|
138
+ | Creator affiliations | PDB entry files do not contain author affiliations. |
139
+ | Abstract | PDB entries do not have an abstract. `_citation.abstract` is the abstract of the article. |
140
+ | Technical description | PDB has no single field for this description. Text from many fields is not a one-to-one mapping. |
141
+ | Related entries with the label "unspecified" or "other" | The label does not tell what the relation is. |
142
+ | Resolution, R factors, space group | DataCite has no fields for these values. |
143
+ | Contact author email | DataCite has no email field, and the record is public. |
144
+ | Funder country | DataCite `fundingReference` has no country field. |
145
+ | Software identifiers | PDB gives only the names and versions of software. |
146
+ | Synchrotron site and beamline | The title of an instrument item needs two fields, the site and the beamline. This is not a one-to-one mapping. |
147
+ | Instrument identifiers | PDB gives facility, beamline and microscope names, not instrument identifiers. |
148
+ | Initial models that are not PDB entries | The accession formats are not consistent, for example `AF-Q2FXG9-F1` and `Q9UHN6`. |
149
+ | File sizes | The entry file does not give file sizes. |
MANIFEST.json ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "snapshot": "2026-10-30",
3
+ "limit": null,
4
+ "entries": {
5
+ "current": 262513,
6
+ "obsolete": 4747
7
+ },
8
+ "converted": 267260,
9
+ "reused": 0,
10
+ "records": 267244,
11
+ "errors": {},
12
+ "shards": [
13
+ {
14
+ "json": "json/part-00000.jsonl.gz",
15
+ "xml": "xml/part-00000.jsonl.gz",
16
+ "records": 10000
17
+ },
18
+ {
19
+ "json": "json/part-00001.jsonl.gz",
20
+ "xml": "xml/part-00001.jsonl.gz",
21
+ "records": 10000
22
+ },
23
+ {
24
+ "json": "json/part-00002.jsonl.gz",
25
+ "xml": "xml/part-00002.jsonl.gz",
26
+ "records": 10000
27
+ },
28
+ {
29
+ "json": "json/part-00003.jsonl.gz",
30
+ "xml": "xml/part-00003.jsonl.gz",
31
+ "records": 10000
32
+ },
33
+ {
34
+ "json": "json/part-00004.jsonl.gz",
35
+ "xml": "xml/part-00004.jsonl.gz",
36
+ "records": 10000
37
+ },
38
+ {
39
+ "json": "json/part-00005.jsonl.gz",
40
+ "xml": "xml/part-00005.jsonl.gz",
41
+ "records": 10000
42
+ },
43
+ {
44
+ "json": "json/part-00006.jsonl.gz",
45
+ "xml": "xml/part-00006.jsonl.gz",
46
+ "records": 10000
47
+ },
48
+ {
49
+ "json": "json/part-00007.jsonl.gz",
50
+ "xml": "xml/part-00007.jsonl.gz",
51
+ "records": 10000
52
+ },
53
+ {
54
+ "json": "json/part-00008.jsonl.gz",
55
+ "xml": "xml/part-00008.jsonl.gz",
56
+ "records": 10000
57
+ },
58
+ {
59
+ "json": "json/part-00009.jsonl.gz",
60
+ "xml": "xml/part-00009.jsonl.gz",
61
+ "records": 10000
62
+ },
63
+ {
64
+ "json": "json/part-00010.jsonl.gz",
65
+ "xml": "xml/part-00010.jsonl.gz",
66
+ "records": 10000
67
+ },
68
+ {
69
+ "json": "json/part-00011.jsonl.gz",
70
+ "xml": "xml/part-00011.jsonl.gz",
71
+ "records": 10000
72
+ },
73
+ {
74
+ "json": "json/part-00012.jsonl.gz",
75
+ "xml": "xml/part-00012.jsonl.gz",
76
+ "records": 10000
77
+ },
78
+ {
79
+ "json": "json/part-00013.jsonl.gz",
80
+ "xml": "xml/part-00013.jsonl.gz",
81
+ "records": 10000
82
+ },
83
+ {
84
+ "json": "json/part-00014.jsonl.gz",
85
+ "xml": "xml/part-00014.jsonl.gz",
86
+ "records": 10000
87
+ },
88
+ {
89
+ "json": "json/part-00015.jsonl.gz",
90
+ "xml": "xml/part-00015.jsonl.gz",
91
+ "records": 10000
92
+ },
93
+ {
94
+ "json": "json/part-00016.jsonl.gz",
95
+ "xml": "xml/part-00016.jsonl.gz",
96
+ "records": 10000
97
+ },
98
+ {
99
+ "json": "json/part-00017.jsonl.gz",
100
+ "xml": "xml/part-00017.jsonl.gz",
101
+ "records": 10000
102
+ },
103
+ {
104
+ "json": "json/part-00018.jsonl.gz",
105
+ "xml": "xml/part-00018.jsonl.gz",
106
+ "records": 10000
107
+ },
108
+ {
109
+ "json": "json/part-00019.jsonl.gz",
110
+ "xml": "xml/part-00019.jsonl.gz",
111
+ "records": 10000
112
+ },
113
+ {
114
+ "json": "json/part-00020.jsonl.gz",
115
+ "xml": "xml/part-00020.jsonl.gz",
116
+ "records": 10000
117
+ },
118
+ {
119
+ "json": "json/part-00021.jsonl.gz",
120
+ "xml": "xml/part-00021.jsonl.gz",
121
+ "records": 10000
122
+ },
123
+ {
124
+ "json": "json/part-00022.jsonl.gz",
125
+ "xml": "xml/part-00022.jsonl.gz",
126
+ "records": 10000
127
+ },
128
+ {
129
+ "json": "json/part-00023.jsonl.gz",
130
+ "xml": "xml/part-00023.jsonl.gz",
131
+ "records": 10000
132
+ },
133
+ {
134
+ "json": "json/part-00024.jsonl.gz",
135
+ "xml": "xml/part-00024.jsonl.gz",
136
+ "records": 10000
137
+ },
138
+ {
139
+ "json": "json/part-00025.jsonl.gz",
140
+ "xml": "xml/part-00025.jsonl.gz",
141
+ "records": 10000
142
+ },
143
+ {
144
+ "json": "json/part-00026.jsonl.gz",
145
+ "xml": "xml/part-00026.jsonl.gz",
146
+ "records": 7244
147
+ }
148
+ ],
149
+ "incomplete": {
150
+ "records": 16,
151
+ "missing": {
152
+ "titles": 16
153
+ },
154
+ "shards": [
155
+ {
156
+ "json": "incomplete/json/part-00000.jsonl.gz",
157
+ "xml": "incomplete/xml/part-00000.jsonl.gz",
158
+ "records": 16
159
+ }
160
+ ]
161
+ },
162
+ "sha256": {
163
+ "convert.py": "7714ef15d00cd972003f56d5a7f27621692eb93ba76088b24f5778cf5ef8bc05",
164
+ "mapping.yaml": "b26002e5b89397b6a84ac85783b0efa3e5218c31fbd1dc13dd9f8bf086aef8c1",
165
+ "funder_ror.csv": "7ab4e825b7d812d90a54830655db06eb8b49434ed9349ab975c45c47d84abafc",
166
+ "pdb_datacite/crosswalk/__init__.py": "39b8156d3c535fc9a1bf192edb913bebc55591d517a3d3313db3d01e0f488b6f",
167
+ "pdb_datacite/crosswalk/builders.py": "0ceb677ca2882355e6490f3ce3d59ad17cdf1c0d0921eab31628411b665ac520",
168
+ "pdb_datacite/crosswalk/datacite.py": "8a4ef68cd1a77b0205f1d21136ba7e37e6e2831acf0212fff96098effe712b02",
169
+ "pdb_datacite/crosswalk/entry.py": "4de9c664f74b6a9735ae75326ab1135683199cf5d4b1907cb518cbd47d8ae0ba",
170
+ "pdb_datacite/crosswalk/mapping.py": "79a6d4c8224677c712db2e478c2ec9d958e2f000be694f62f2b863c88df2948f",
171
+ "metadata.xsd": "be878f9afddeb677ec4cd274233de0c328246748305d9f58ee78352714412522"
172
+ }
173
+ }
OVERVIEW.md ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PDB to DataCite: code, crosswalk and scope
2
+
3
+ This document describes the code that makes DataCite records for PDB entries. It also describes the crosswalk and the PDB data that the records do not use. CROSSWALK.md gives the exact rule for each DataCite property. README.md gives the commands.
4
+
5
+ The records are for a move of the PDB entry DOIs (`10.2210/pdbxxxx/pdb`) from Crossref to DataCite. Each record is a canonical description of one entry. The record uses data from the PDB entry file only.
6
+
7
+ All counts in this document are measurements. Record counts come from snapshot 2026-10-30 and the job run of 2026-11-09. The run has 267,244 records. It also has 16 incomplete records, for obsolete entries without a title. The counts do not include the incomplete records. Archive counts come from PDBj Mine on 2026-11-07. PDBj Mine has only the 262,513 current entries, not the obsolete entries.
8
+
9
+ ## Code
10
+
11
+ ### Parts
12
+
13
+ | Path | Function |
14
+ |---|---|
15
+ | `data/mapping.yaml` | The mapping from PDB data to DataCite properties, in a mandatory block and an optional block. |
16
+ | `scripts/pdb_datacite/` | The converter package: the mapping loader, the builders, the entry reader and the XML writer. |
17
+ | `scripts/pdb_to_datacite.py` | Converts mmCIF files to DataCite records, in JSON and XML, with the mapping. |
18
+ | `scripts/pdb_archive.py` | The download utility. `fetch` downloads entry files for a list of PDB IDs. `mirror` copies the wwPDB archive to the bucket as a Hugging Face job. |
19
+ | `scripts/pdb_datacite_job.py` | Hugging Face job. Converts all entries in the bucket copy of the archive. |
20
+ | `scripts/build_funder_table.py` | Makes the funder to ROR table. |
21
+ | `scripts/fetch_funder_usage.py` | Counts the funding rows for each funder name with PDBj Mine. |
22
+ | `scripts/validate_datacite_xml.py` | Validates XML records against the DataCite 4.7 XSD. |
23
+ | `data/funder_ror.csv` | The funder to ROR table. |
24
+ | `data/funder_ror_decisions.csv` | Reviewed decisions for the funder names that the rules do not map. |
25
+ | `samples/` | Twelve test entries and their records. |
26
+
27
+ ### Converter
28
+
29
+ `pdb_to_datacite.py` loads the mapping with `pdb_datacite.load` and then converts each entry file. The file can be an RCSB header file or a full archive file (`.cif.gz`). The package does these steps:
30
+
31
+ 1. `mapping.load` reads `data/mapping.yaml` and checks it. It finds the builder of each source and binds its parameters. If the mapping has an error, the converter stops before it reads an entry.
32
+ 2. `entry.read_entry` reads the file with gemmi and returns a `PdbEntry`. It removes the empty `loop_` that RCSB header files keep in place of the coordinates.
33
+ 3. `PdbEntry.rows` reads a mmCIF category as a list of rows. A `?` or `.` value becomes an empty value. `PdbEntry` also gives the entry ID, the extended ID, the deposition date and the revisions.
34
+ 4. `Crosswalk.convert` runs the sources of each property in the order of the mapping. Each source is a function in `builders.py`. The result is one dictionary. This dictionary is the `attributes` object of the DataCite REST API.
35
+ 5. `Crosswalk.convert` also gives the names of the mandatory properties that have no value. If it gives a name, the record is incomplete. The converter writes an incomplete record to a different directory, with the names as the reason.
36
+ 6. `datacite.to_xml` writes the DataCite XML from the same dictionary.
37
+
38
+ The JSON record and the XML record come from one dictionary, so they always have the same content. The script changes only whitespace, DOI prefixes and the letter case of UniProt accessions. All other values stay as the depositor or wwPDB gave them.
39
+
40
+ ### Hugging Face jobs
41
+
42
+ Two jobs run on Hugging Face Jobs (flavor `cpu-xl`). They keep their data in a Hugging Face bucket, under the key prefix `pdb/`.
43
+
44
+ The mirror job (`pdb_archive.py mirror`) does these steps:
45
+
46
+ 1. The job downloads the two wwPDB holdings files. These files give the last-modified time of each current and obsolete entry.
47
+ 2. The job copies each new or changed archive file from files.wwpdb.org to the bucket. The bucket file gets the wwPDB last-modified time as its mtime. The next run compares the two times.
48
+ 3. A full run deletes the bucket files that are not in the holdings files.
49
+ 4. The job writes the holdings files to the bucket.
50
+
51
+ The convert job (`pdb_datacite_job.py`) does not connect to wwPDB. It does these steps:
52
+
53
+ 1. The job reads the holdings files from the bucket.
54
+ 2. The job loads the conversion cache from the bucket.
55
+ 3. The job converts only the entries that are not in the cache. It reads only the archive files of these entries from the bucket.
56
+ 4. The job validates each new complete XML record against the XSD.
57
+ 5. The job writes the records in files of 10,000 records, with `errors.jsonl` and `MANIFEST.json`. It writes the incomplete records to `incomplete/`, with `incomplete/reasons.jsonl`.
58
+ 6. The job publishes the files to `pdb/datacite/<snapshot>/`. Then it writes the new cache.
59
+
60
+ The cache key of an entry is its PDB ID, its status and its wwPDB last-modified time. The name of the cache file is a SHA-256 of the job script, the mapping, the lookup files, the converter package and the XSD. A change to one of these files starts a full conversion.
61
+
62
+ A run of either job that stops at any step leaves a state that the next run continues from.
63
+
64
+ | Run | Entries converted | Time |
65
+ |---|---|---|
66
+ | First full run, with the archive copied from wwPDB (96.4 GB) | 267,260 | 51 min |
67
+ | Full conversion from the bucket copy | 266,860 | 86 min |
68
+ | No change | 0 | 2.6 min |
69
+ | 1,000 changed entries | 1,000 | 2.9 min |
70
+ | Full conversion from the bucket copy after the additions of 2026-11-08 | 263,260 | 79 min |
71
+ | Full conversion from the bucket copy after the change for incomplete records of 2026-11-09 | 267,260 | 71 min |
72
+
73
+ The latest weekly lists of wwPDB have 1,251 changed entries: 932 added, 316 modified and 3 obsolete.
74
+
75
+ ### Checks
76
+
77
+ 1. All 267,244 XML records are valid for the DataCite 4.7 XSD.
78
+ 2. Twenty random records from the job are the same, byte for byte, as the converter output on files from files.wwpdb.org. This check passed for the runs of 2026-11-06 and 2026-11-08.
79
+ 3. An incremental conversion and a full conversion give the same output files, byte for byte.
80
+ 4. Each of the 267,260 records of 2026-11-08 has all the content of the record of 2026-11-06. The additions are the only changes.
81
+ 5. The 267,244 records of 2026-11-09 are the records of 2026-11-08 without the 16 entries that have no title. The JSON and XML records are the same, byte for byte and in the same order.
82
+ 6. Each of the 16 incomplete records is the record of 2026-11-08 without the empty title, in JSON and in XML.
83
+ 7. A fidelity check (`jobs/fidelity.py`) compares each record with its entry file. The check does not use the converter. It reads the file with the wwPDB `mmcif` package and applies the rules of CROSSWALK.md again.
84
+ 8. In the first run of 2026-11-09, 73 records did not agree with the rules. The second run of 2026-11-09 fixes these 73 records. All other records did not change, byte for byte. The fidelity check finds no other difference.
85
+
86
+ ## Crosswalk
87
+
88
+ ### Rules
89
+
90
+ 1. The record uses data from the PDB entry file only.
91
+ 2. Each DataCite value comes from one PDB field. The record has no text that the script assembles from many fields.
92
+ 3. Values stay as the depositor or wwPDB gave them.
93
+ 4. The records use DataCite Metadata Schema 4.7. Version 4.7 adds the relation type `Other` with `relationTypeInformation`. The crosswalk uses `Other` to keep the PDB relation labels.
94
+
95
+ Three lookups add identifiers to PDB values. Each lookup is fixed or reviewed.
96
+
97
+ | Lookup | Input | Output |
98
+ |---|---|---|
99
+ | Funder table | `_pdbx_audit_support.funding_organization` | ROR ID |
100
+ | Resolver patterns | PDB, EMDB, BMRB, SASBDB or UniProt accession, EC number | DOI or URL |
101
+ | NCBI Taxonomy URI | NCBI taxonomy ID | Taxonomy browser URI |
102
+
103
+ ### Properties and coverage
104
+
105
+ The table gives the number of records with a value for each property.
106
+
107
+ | DataCite property | PDB source | Records with a value |
108
+ |---|---|---|
109
+ | DOI, URL | `_database_2` | 267,244 (100%) |
110
+ | Title | `_struct.title` | 100% |
111
+ | Creator | `_audit_author` (the depositors) | 100%. 74,724 records (28.0%) have one or more creator ORCIDs. |
112
+ | Publisher | Constant: Worldwide Protein Data Bank, ROR `047qy5748` | 100% |
113
+ | PublicationYear | First release date, or the deposition date | 100% |
114
+ | ResourceType | Constant: `Dataset`, "Structure model" | 100% |
115
+ | Subject | `_struct_keywords` and the source organism categories | 100%. 261,794 records (98.0%) have an NCBI Taxonomy subject. |
116
+ | Subject (experimental method) | `_exptl.method` | 100% |
117
+ | Subject (molecule name) | `_entity.pdbx_description` of polymers | 251,851 (94.2%). In the other records, all names are also keywords. |
118
+ | Subject (EC number) | `_entity.pdbx_ec` | 120,306 (45.0%) |
119
+ | Description (Methods) | `_exptl_crystal_grow.pdbx_details` | 205,398 (76.9%) |
120
+ | Contributor (DataCurator) | `_pdbx_database_status.process_site` | 100% |
121
+ | Contributor (ContactPerson) | `_pdbx_contact_author` | 73,635 (27.6%) |
122
+ | Contributor (ResearchGroup) | `_pdbx_SG_project` | 16,745 (6.3%) |
123
+ | Date (Submitted) | Deposition date | 100% |
124
+ | Date (Available) | First release | 267,175 (99.97%) |
125
+ | Date (Updated) | Later revisions | 245,287 (91.8%) |
126
+ | Date (Collected) | `_diffrn_detector`, `_em_imaging` | 196,976 (73.7%) |
127
+ | Date (Withdrawn) | Obsolete revision | 4,720 |
128
+ | Language | Constant: `en` | 100% |
129
+ | AlternateIdentifier | PDB ID and extended PDB ID | 100% |
130
+ | RelatedIdentifier, `IsSupplementTo` | Primary citation, DOI or PMID | 221,603 (82.9%) |
131
+ | RelatedIdentifier, `IsDerivedFrom` | Initial model (PDB entry), raw data DOI | 142,614 (53.4%) |
132
+ | RelatedIdentifier, `Other` | `_pdbx_database_related` | 40,599 (15.2%) |
133
+ | RelatedIdentifier, `References` | Other citations, DOI or PMID | 14,853 (5.6%) |
134
+ | RelatedIdentifier, `References` | UniProt accessions, `_struct_ref` | 246,085 (92.1%) |
135
+ | RelatedIdentifier, `Obsoletes` and `IsObsoletedBy` | `_pdbx_database_PDB_obs_spr` | 3,860 and 4,555 |
136
+ | RelatedItem | Citations without DOI or PMID, deposition groups | 19,942 (7.5%) |
137
+ | RelatedItem, Software, `IsCompiledBy` | `_software`, `_em_software`, `_pdbx_nmr_software` | 260,838 (97.6%) |
138
+ | RelatedItem, Instrument, `IsCollectedBy` | `_em_imaging.microscope_model` | 38,585 (14.4%) |
139
+ | Format | Constant, and PDB format if the entry is compatible | 100%. 250,064 (93.6%) also have PDB format. |
140
+ | Version | Last revision | 100% |
141
+ | Rights | Constant: CC0 1.0 | 100% |
142
+ | FundingReference | `_pdbx_audit_support` | 103,897 (38.9%) |
143
+
144
+ More counts give the detail inside the records:
145
+
146
+ - 213,733 of 1,243,885 creator names (17.2%) have an ORCID.
147
+ - 172,323 of 186,086 funding references (92.6%) have a ROR ID.
148
+ - The records have 528,940 UniProt links, 614,906 molecule-name subjects and 139,521 EC subjects.
149
+ - 397,801 of 1,031,935 software items (38.5%) have a version in `edition`.
150
+
151
+ The `Other` relations keep the PDB label in `relationTypeInformation`. The most frequent labels are "associated EM volume" (38,528 links), "other EM volume" (25,253 links) and "split" (5,696 links).
152
+
153
+ CROSSWALK.md lists ten decisions to confirm. Examples are creators as depositors and `Other` as the relation type for related entries.
154
+
155
+ ## Data that the records do not use
156
+
157
+ ### Text from many fields
158
+
159
+ An earlier version of the crosswalk had three descriptions. Each description joined values from many fields into one text. We removed these descriptions to keep the rule of one PDB field for each DataCite value. Some parts of these texts are now in the record as one-to-one values. See "One-to-one additions of 2026-11-08".
160
+
161
+ | Description type | Content | PDB sources |
162
+ |---|---|---|
163
+ | TechnicalInfo | Method, resolution, R factors, space group, radiation source, microscope, spectrometer, software | `_exptl`, `_refine`, `_em_3d_reconstruction`, `_symmetry`, `_diffrn_source`, `_em_imaging`, `_em_experiment`, `_pdbx_nmr_spectrometer`, `_software`, `_em_software`, `_pdbx_nmr_software` |
164
+ | Methods | Crystallization conditions, initial models that are not PDB entries (for example AlphaFold models) | `_exptl_crystal_grow`, `_pdbx_initial_refinement_model` |
165
+ | Other | One line for each molecule, with name, fragment and organism | `_entity` and the source organism categories |
166
+
167
+ ### Related-entry links without a meaning
168
+
169
+ `_pdbx_database_related` has 581,059 links from current entries to PDB, EMDB, BMRB and SASBDB entries. Of these links, 510,068 (87.8%) have the label "unspecified". This label does not tell what the relation is, so the records leave out these links.
170
+
171
+ The records also leave out the free-text `details` of each link. 357,659 of the 581,059 links (61.6%) have `details` text. An example is the link from 4HHB to 2HHB: "REFINED BY THE METHOD OF JACK AND LEVITT".
172
+
173
+ ### PDB data that the crosswalk does not map
174
+
175
+ The entry files have more data. The table gives the data that we examined, the current entries with a value, and a possible DataCite place.
176
+
177
+ | PDB data | Current entries with a value | Possible DataCite place | Reason that the record does not use it |
178
+ |---|---|---|---|
179
+ | Resolution, `_refine.ls_d_res_high` and `_em_3d_reconstruction.resolution` | 216,186 (82.4%) and 38,046 (14.5%) | TechnicalInfo description | A number without a label and a unit has no meaning. A label and a unit make assembled text. |
180
+ | Space group, `_symmetry` | 245,862 (93.7%) | TechnicalInfo description | Same reason as resolution. |
181
+ | Synchrotron site and beamline, `_diffrn_source` | 178,201 (67.9%) | RelatedItem, type Instrument, relation `IsCollectedBy` | The title needs two fields, site and beamline. |
182
+ | Ligands, `_pdbx_entity_nonpoly` without water | 199,117 (75.9%) | Subject | Not examined. |
183
+ | Formula weight, `_entity.formula_weight` | 262,513 (100%) | None | DataCite Size is for the size of the resource, not of a molecule. |
184
+ | Oligomeric state, `_pdbx_struct_assembly` | 262,501 (99.99%) | None | DataCite has no field for this value. |
185
+
186
+ ### Data that the records cannot hold
187
+
188
+ | Data | Reason |
189
+ |---|---|
190
+ | Creator affiliations | The public entry files have no author addresses. wwPDB removes them before release. |
191
+ | Abstract | The entry has no abstract. `_citation.abstract` has a value in 1 current entry, and that text is the article abstract. |
192
+ | Contact author email | The record is public. DataCite has no email field. |
193
+ | Funder country | DataCite `fundingReference` has no country field. The ROR ID gives the country. |
194
+ | File sizes | The entry file does not give file sizes. The bucket copy now gives the size of each `.cif.gz` file. |
195
+ | Instrument identifiers | The file gives facility, beamline and microscope names only. |
196
+ | Initial models that are not PDB entries | The accession formats are not consistent, for example `AF-Q2FXG9-F1` and `Q9UHN6`. |
197
+
198
+ ### External sources
199
+
200
+ The project uses PDB data only, to make a canonical record. The sources in this table can add data, but the data is external or inferred.
201
+
202
+ | Source | Data | DataCite place |
203
+ |---|---|---|
204
+ | OpenAlex, with the paper DOI and a match on ORCID | Author affiliations as ROR IDs, topics | Creator affiliation, Subject |
205
+ | ORCID employment records | Author affiliations | Creator affiliation |
206
+ | RCSB PubMed data, `/core/pubmed/{id}` | Affiliation text, MeSH terms | Creator affiliation, Subject |
207
+ | SIFTS | UniProt, GO, EC, Pfam, InterPro, CATH and SCOP | Subject, RelatedIdentifier |
208
+ | PDBe related publications API, Europe PMC | Papers that cite or mention the entry | RelatedIdentifier, `IsReferencedBy` |
209
+ | Crossref record of the paper | NIH award numbers with the activity code | FundingReference, `awardNumber` |
210
+ | NIH RePORTER and the systems of other funders | Award titles and award URIs | FundingReference |
211
+ | A table of software RRIDs | Software identifiers | RelatedIdentifier, `IsCompiledBy` |
212
+ | Facility ROR IDs, PIDINST | Instrument identifiers | RelatedIdentifier, `IsCollectedBy` |
213
+ | The paper | Abstract, if the article licence permits reuse | Description, Abstract |
214
+
215
+ Two examples show the effect. For 8T5P, OpenAlex gives Case Western Reserve University for the three authors with ORCIDs. The PDB file for 8T5P has the NIH awards `AI141350` and `GM127609`. The Crossref record of the paper has `P01AI141350` and `R01GM127609`.
216
+
217
+ ## One-to-one additions of 2026-11-08
218
+
219
+ The crosswalk got seven more properties on 2026-11-08. Each value comes from one field of the entry file. CROSSWALK.md gives the rules, and decisions 6 to 10 in CROSSWALK.md are for these properties.
220
+
221
+ | Addition | DataCite place | Records with a value | Decision |
222
+ |---|---|---|---|
223
+ | UniProt accessions | RelatedIdentifier, URL, `References` | 246,085 (92.1%) | The relation type is `References`. The URL goes to the UniProtKB entry. |
224
+ | Experimental method | Subject | 267,244 (100%) | The scheme is the PDBx dictionary item `_exptl.method`. |
225
+ | Software names | RelatedItem, type Software, `IsCompiledBy` | 260,838 (97.6%) | The version goes into `edition`. The XSD gives "Edition or version" for `edition`. The record uses the software categories for X-ray, EM and NMR. |
226
+ | Crystallization conditions | Description, Methods | 205,398 (76.9%) | The text stays as the depositor gave it. |
227
+ | EC numbers | Subject with an EC scheme and URI | 120,306 (45.0%) | The URI goes to ExplorEnz, the IUBMB enzyme list. |
228
+ | Microscope model | RelatedItem, type Instrument, `IsCollectedBy` | 38,585 (14.4%) | The model name is the title. |
229
+ | Molecule names | Subject | 251,851 (94.2%) | Subject, not description. A name that is equal to a keyword is not included. |
230
+
231
+ Software coverage is 97.6%, not 83.7%. `_software` gives the software for X-ray entries only. `_em_software` and `_pdbx_nmr_software` give it for EM and NMR entries.
README.md ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ pretty_name: PDB DataCite records
4
+ size_categories:
5
+ - 100K<n<1M
6
+ tags:
7
+ - datacite
8
+ - pdb
9
+ - protein-data-bank
10
+ - metadata
11
+ configs:
12
+ - config_name: json
13
+ default: true
14
+ data_files:
15
+ - split: train
16
+ path: json/*.jsonl.gz
17
+ - config_name: xml
18
+ data_files:
19
+ - split: train
20
+ path: xml/*.jsonl.gz
21
+ ---
22
+
23
+ # PDB DataCite records
24
+
25
+ This dataset has one DataCite Metadata Schema 4.7 record for each entry in the PDB archive. The identifier of each record is the PDB entry DOI, `10.2210/pdbxxxx/pdb`. These DOIs are Crossref DOIs today. The records are for a move of the DOIs from Crossref to DataCite.
26
+
27
+ | Item | Value |
28
+ |---|---|
29
+ | Records | 267,244 |
30
+ | Incomplete records | 16, in `incomplete/`. These obsolete entries have no title. |
31
+ | Current entries | 262,513 |
32
+ | Obsolete entries | 4,747 |
33
+ | Snapshot | 2026-10-30 (the most recent last-modified time in the wwPDB holdings files) |
34
+ | Crosswalk | Version of 2026-11-09 |
35
+ | Schema | DataCite Metadata Schema 4.7 |
36
+ | Errors | 0. All XML records are valid for the 4.7 XSD. |
37
+
38
+ ## Files
39
+
40
+ | Path | Content |
41
+ |---|---|
42
+ | `json/part-NNNNN.jsonl.gz` | DataCite REST API payloads, `{"data": {"type": "dois", "attributes": {...}}}`, one record on each line. |
43
+ | `xml/part-NNNNN.jsonl.gz` | DataCite XML records, one `{"doi", "xml"}` object on each line. |
44
+ | `incomplete/json/part-00000.jsonl.gz`, `incomplete/xml/part-00000.jsonl.gz` | The records of the entries that have no value for a mandatory property, in the same formats. These records are not ready for DataCite. The XSD check does not include them. |
45
+ | `incomplete/reasons.jsonl` | One line for each incomplete record, with `pdb_id`, `doi` and `missing`. `missing` gives the names of the mandatory properties that have no value. |
46
+ | `MANIFEST.json` | Counts, the list of files, and the SHA-256 of each file that changes the records. These files are the job script, the mapping, the funder table, the converter package and the XSD. `converted` and `reused` give the number of entries that the job converted and that it took from its cache. `incomplete` gives the incomplete records. |
47
+ | `mapping.yaml` | The mapping from PDB data to DataCite properties that made these records. The converter reads this file. `CROSSWALK.md` and `OVERVIEW.md` give its project path, `data/mapping.yaml`. |
48
+ | `CROSSWALK.md` | The field mapping from PDBx/mmCIF to DataCite, and the design rules. |
49
+ | `OVERVIEW.md` | The code, the coverage of each property and the PDB data that the records do not use. The paths in this file are paths in the project directory, not in this dataset. |
50
+
51
+ The JSON files and the XML files have the same records in the same order. Each file has 10,000 records. The last file has 7,244 records.
52
+
53
+ ## Use
54
+
55
+ ```python
56
+ from datasets import load_dataset
57
+
58
+ records = load_dataset("adambuttrick/pdb-datacite", "json", split="train")
59
+ xml = load_dataset("adambuttrick/pdb-datacite", "xml", split="train")
60
+ ```
61
+
62
+ ## Source
63
+
64
+ The source is the wwPDB mmCIF archive at files.wwpdb.org. The data includes current and obsolete entries. The conversion jobs keep a copy of the archive in a Hugging Face bucket.
65
+
66
+ The records use data from the PDB entry files only. Three lookups add identifiers to PDB values:
67
+
68
+ | Lookup | Input | Output |
69
+ |---|---|---|
70
+ | Funder table | `_pdbx_audit_support.funding_organization` | ROR ID (ROR v2.15, reviewed table) |
71
+ | Resolver patterns | PDB, EMDB, BMRB, SASBDB or UniProt accession, EC number | DOI or URL |
72
+ | NCBI Taxonomy URI | NCBI taxonomy ID | Taxonomy browser URI |
73
+
74
+ `CROSSWALK.md` gives the full mapping, the data that is not in the records, and the decisions to confirm.
75
+
76
+ ## Changes
77
+
78
+ | Date | Change |
79
+ |---|---|
80
+ | 2026-11-06 | First records. |
81
+ | 2026-11-08 | Seven more properties, each from one PDB field: UniProt accessions, experimental method, molecule names, EC numbers, crystallization conditions, software and microscope model. The other content of each record did not change. `OVERVIEW.md` gives the coverage of each property. |
82
+ | 2026-11-09 | The converter reads the mapping from `mapping.yaml`. The mapping has a block of mandatory properties and a block of optional properties. An entry without a value for a mandatory property goes to `incomplete/`. Sixteen obsolete entries have no title: 1ADK, 1AMG, 1DHB, 1MHB, 1PAB, 1PAP, 1PTB, 1PTP, 2LDH, 2PAP, 2PTI, 3PAP, 4PAP, 5PAP, 6PAP and 7PAP. Their records are now in `incomplete/`, without the empty title. All other records did not change. |
83
+ | 2026-11-09 | Three fixes after a fidelity check of all records against the entry files. A contact author with a comma in the family name, for example "Herzik, Jr.", keeps the full family name (68 records). An obsolete entry with more than one successor has an `IsObsoletedBy` relation for each successor: 1HHB, 2RXN, 2H33 and 3CAT. The DOI of 7QNP is `10.2210/pdb7qnp/pdb`. Its entry file gives `10.2210/pdb7np/pdb`, a DOI that does not exist. All other records did not change. |
84
+
85
+ ## Checks
86
+
87
+ 1. All 267,244 XML records are valid for the DataCite 4.7 XSD.
88
+ 2. Twenty random records are the same, byte for byte, as the output of the crosswalk script on files that were downloaded again from files.wwpdb.org.
89
+ 3. The archive copy agrees with the wwPDB holdings files. No file is missing or extra, and each file has the wwPDB last-modified time.
90
+ 4. Each record of 2026-11-08 has all the content of the record of 2026-11-06. The new properties are the only changes.
91
+ 5. The records of 2026-11-09 are the records of 2026-11-08 without the 16 entries that have no title. The JSON and XML records are the same, byte for byte and in the same order.
92
+ 6. Each incomplete record is the record of 2026-11-08 without the empty title.
93
+ 7. A fidelity check compares each record with its entry file. The check does not use the converter. It reads the file with the wwPDB `mmcif` package and applies the rules of `CROSSWALK.md` again.
94
+ 8. The fidelity check found 73 records with an error. The fixes of 2026-11-09 correct these records. All other records did not change, byte for byte. The check finds no other difference.
95
+
96
+ ## License
97
+
98
+ PDB data is available under CC0 1.0. The ROR data in the funder table is also CC0 1.0. These records are available under CC0 1.0.
incomplete/json/part-00000.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:442ec7f1844e7b68124c0ecf6d892e3c54ffe99a88b0b398f6c96e74f23f5630
3
+ size 2399
incomplete/reasons.jsonl ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"pdb_id":"1adk","doi":"10.2210/pdb1adk/pdb","missing":["titles"]}
2
+ {"pdb_id":"1amg","doi":"10.2210/pdb1amg/pdb","missing":["titles"]}
3
+ {"pdb_id":"1dhb","doi":"10.2210/pdb1dhb/pdb","missing":["titles"]}
4
+ {"pdb_id":"1mhb","doi":"10.2210/pdb1mhb/pdb","missing":["titles"]}
5
+ {"pdb_id":"1pab","doi":"10.2210/pdb1pab/pdb","missing":["titles"]}
6
+ {"pdb_id":"1pap","doi":"10.2210/pdb1pap/pdb","missing":["titles"]}
7
+ {"pdb_id":"1ptb","doi":"10.2210/pdb1ptb/pdb","missing":["titles"]}
8
+ {"pdb_id":"1ptp","doi":"10.2210/pdb1ptp/pdb","missing":["titles"]}
9
+ {"pdb_id":"2ldh","doi":"10.2210/pdb2ldh/pdb","missing":["titles"]}
10
+ {"pdb_id":"2pap","doi":"10.2210/pdb2pap/pdb","missing":["titles"]}
11
+ {"pdb_id":"2pti","doi":"10.2210/pdb2pti/pdb","missing":["titles"]}
12
+ {"pdb_id":"3pap","doi":"10.2210/pdb3pap/pdb","missing":["titles"]}
13
+ {"pdb_id":"4pap","doi":"10.2210/pdb4pap/pdb","missing":["titles"]}
14
+ {"pdb_id":"5pap","doi":"10.2210/pdb5pap/pdb","missing":["titles"]}
15
+ {"pdb_id":"6pap","doi":"10.2210/pdb6pap/pdb","missing":["titles"]}
16
+ {"pdb_id":"7pap","doi":"10.2210/pdb7pap/pdb","missing":["titles"]}
incomplete/xml/part-00000.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8396cae3c0041059362cb1faa49db5e28044f25e53cfbf40dcf63f13a68e64b
3
+ size 2738
json/part-00000.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b36b93e8f349e08092a0b2d0d2d0e42f0980bb5ebf2c8ceacc025ab419bbc43d
3
+ size 2914418
json/part-00001.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a00301c2689ea479cca3553819f560f0509b5c9eebe68e7fe0eda823bf1375a
3
+ size 3042999
json/part-00002.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5d11e3f87fdbee420b26c5b0e0e1e435d632f9ebb71bfec9cf9b4af81bc3a12
3
+ size 2914948
json/part-00003.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfab68e000e868dcfec699e386aa6a3c66c954f207ecbc7dc910a40fdb75e805
3
+ size 2815102
json/part-00004.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df7fe5e828003db207002d699a9db8e882f1f147a0f16db0617bcbf4c1c8fafd
3
+ size 2750357
json/part-00005.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c11c2e4ac725a48b84d2fd1b3669748989a66012a6fd18d400892ec3889b1ba
3
+ size 2906923
json/part-00006.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fc2ad38859327a9fa24d52d18587d48eefdd3c5c62d4772354789108d8a947b
3
+ size 2785214
json/part-00007.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96197f9cee4b8000a258e9a90e32079f527d92e6d5793a7540af641ab01c522c
3
+ size 3014309
json/part-00008.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e32f3dd29e9755d1a34eb5a2f2a56c3c404ab7044e5dcbeb89ed93c6583a246
3
+ size 2779699
json/part-00009.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3be8d386ee8ca428a4c4a9f581fa9c5d6d6af94feb074e861803cd32d9914e4a
3
+ size 2601676
json/part-00010.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ea5331079ea03b25a59c98782adb4dfecd9e1ce77ea1ce4addec47b8e449bb3
3
+ size 2765968
json/part-00011.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95832c61349fa4612b253aba1c22f377526c876b44eb4648fdb970e88f897b9b
3
+ size 2827247
json/part-00012.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:708a7c562db934bc320fee2e073b88f698f51e25ea490f3c6b0d318079e472c1
3
+ size 2772491
json/part-00013.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbb68272593b93267699d5f0b6668776f884636d5b180eb1f01a5048dafa6126
3
+ size 2589287
json/part-00014.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b6f0a9196c787611e31bf4b1ccb55c3667aabbce6a406b9bd48f4be46089303
3
+ size 2110308
json/part-00015.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e774fcf4b8b757b317dfda34841630929c8f3c2ddc8289cb7dde1a63b048c83
3
+ size 2791982
json/part-00016.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b2df5c769e06d9f62383f507f7711137653050ab79b974a0cea83e60f888fd0
3
+ size 2776471
json/part-00017.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f3dc8f3f5a2d937602468168c65368d1be959e331fb1899e1fb978ca232b04a
3
+ size 2925467
json/part-00018.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f22cfe1c32f090fc006a74bf054e38e9e7849bb578f2f138c1d79fdd28adad8
3
+ size 2818960
json/part-00019.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63beee8ae446348d7958bd8e8943e25f612dfea4da830bed5ab3c05247c649fd
3
+ size 2037067
json/part-00020.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:deef686ae03014cd8c9210a700dbf7c31d911d5b511df805d36f8cf03277f39e
3
+ size 2932540
json/part-00021.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:635f7cfdb05bf30f94fa38da17bc0b99e72bfedc83ca59add58d2004d58d613c
3
+ size 3040200
json/part-00022.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61adc08f834c618345066bfea05f7a195c0f7744b4359ebed8e8870e6139161b
3
+ size 2850908
json/part-00023.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef5761645d543dde5a228c1af522d30a772d3dc88732db533a38c0a1fc8387d9
3
+ size 2770556
json/part-00024.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c38f1d02f94bc79196cb9c56ada5f38914bccf638ec9295ce7ec15928b5799f
3
+ size 2846974
json/part-00025.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc64a2e71dd30c8bfb3404f4752c0db084c4b98d2d6489f5cc74fa8d822ef712
3
+ size 2709202
json/part-00026.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:590fa3d50555ca281a56df9751f0b3447952b2e0843aa61de1b24fb84fe5d124
3
+ size 1913062
mapping.yaml ADDED
@@ -0,0 +1,343 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PDBx/mmCIF to DataCite Metadata Schema 4.7.
2
+ #
3
+ # - Each property is one key of the DataCite record, in the order of this file.
4
+ # - Properties in the mandatory block must have a value. The converter writes
5
+ # a record without one to the incomplete directory, with the names of the
6
+ # missing properties. Properties in the optional block are left out when
7
+ # they have no value.
8
+ # - "sources" lists rules in order. Each rule is a builder name from
9
+ # src/pdb_datacite/crosswalk/builders.py with its parameters. A list
10
+ # property gets the values of all its rules. A single-value property gets
11
+ # the first value.
12
+ # - "distinct" removes repeated values across all the rules of a property.
13
+ # - PDB names are written without the leading "_": "entity.pdbx_ec" is the
14
+ # mmCIF item _entity.pdbx_ec.
15
+ # - The "field" builder reads one PDB item into one value per row. Use it to
16
+ # add a one-to-one field. "{value}" in "emit" is the value read.
17
+
18
+ # Each lookup is a CSV file that the converter gets with --lookup NAME=PATH.
19
+ lookups:
20
+ funders:
21
+ key_column: funding_organization
22
+
23
+ # Shared parts. "&name" names a part, "*name" uses it again.
24
+ definitions:
25
+ doi: &doi
26
+ strip: '(?i)^(?:doi:|https?://(?:dx\.)?doi\.org/)'
27
+ pattern: '10\.\d{4,9}/\S+'
28
+ scheme: DOI
29
+ pdb_doi: &pdb_doi
30
+ pattern: '(?:pdb_0000)?(?P<id>[0-9][A-Za-z0-9]{3})'
31
+ lower: true
32
+ template: '10.2210/pdb{id}/pdb'
33
+ scheme: DOI
34
+ pmid: &pmid
35
+ pattern: '\d+'
36
+ reject: ['0']
37
+ scheme: PMID
38
+ orcid: &orcid
39
+ pattern: '(?P<id>\d{4}-\d{4}-\d{4}-\d{3}[\dX])'
40
+ template: 'https://orcid.org/{id}'
41
+ scheme: ORCID
42
+ scheme_uri: 'https://orcid.org/'
43
+ citations: &citations
44
+ category: citation
45
+ id_item: id
46
+ relations: {primary: IsSupplementTo}
47
+ other_relation: References
48
+ journal_item: journal_abbrev
49
+ unpublished_journal: to be published
50
+ identifiers:
51
+ pdbx_database_id_DOI: *doi
52
+ pdbx_database_id_PubMed: *pmid
53
+
54
+ mandatory:
55
+ doi:
56
+ sources:
57
+ # The DOI must name this entry: the entry file of 7QNP gives 10.2210/pdb7np/pdb.
58
+ - pdb_database_value:
59
+ item: pdbx_DOI
60
+ resolver: *doi
61
+ entry_resolver: *pdb_doi
62
+ - entry_id_value:
63
+ resolver: *pdb_doi
64
+
65
+ # Not mandatory in DataCite 4.7, but the REST API needs it to register a findable DOI.
66
+ url:
67
+ sources:
68
+ - entry_url:
69
+ template: 'https://www.wwpdb.org/pdb?id={extended_id}'
70
+
71
+ types:
72
+ sources:
73
+ - constant:
74
+ values:
75
+ - resourceTypeGeneral: Dataset
76
+ resourceType: Structure model
77
+
78
+ creators:
79
+ sources:
80
+ - persons:
81
+ category: audit_author
82
+ order_by: pdbx_ordinal
83
+ name_item: name
84
+ orcid_item: identifier_ORCID
85
+ orcid: *orcid
86
+
87
+ titles:
88
+ sources:
89
+ - field:
90
+ item: struct.title
91
+ first: true
92
+ emit: {title: '{value}'}
93
+
94
+ publisher:
95
+ sources:
96
+ - constant:
97
+ values:
98
+ - name: Worldwide Protein Data Bank
99
+ publisherIdentifier: 'https://ror.org/047qy5748'
100
+ publisherIdentifierScheme: ROR
101
+ schemeUri: 'https://ror.org/'
102
+
103
+ publicationYear:
104
+ sources:
105
+ - release_year: {}
106
+ - deposition_year: {}
107
+
108
+ optional:
109
+ subjects:
110
+ distinct: unschemed_subject
111
+ sources:
112
+ - keyword_subjects:
113
+ category: struct_keywords
114
+ whole_item: pdbx_keywords
115
+ split_item: text
116
+ separator: ','
117
+ - taxonomy_subjects:
118
+ sources:
119
+ - {category: entity_src_gen, name_item: pdbx_gene_src_scientific_name, id_item: pdbx_gene_src_ncbi_taxonomy_id}
120
+ - {category: entity_src_nat, name_item: pdbx_organism_scientific, id_item: pdbx_ncbi_taxonomy_id}
121
+ - {category: pdbx_entity_src_syn, name_item: organism_scientific, id_item: ncbi_taxonomy_id}
122
+ - {category: em_entity_assembly_naturalsource, name_item: organism, id_item: ncbi_tax_id}
123
+ separator: ','
124
+ scheme: NCBI Taxonomy
125
+ scheme_uri: 'https://www.ncbi.nlm.nih.gov/taxonomy'
126
+ value_uri: 'https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id={code}'
127
+ - field:
128
+ item: exptl.method
129
+ distinct: true
130
+ emit:
131
+ subject: '{value}'
132
+ subjectScheme: PDBx/mmCIF _exptl.method
133
+ schemeUri: 'https://mmcif.wwpdb.org/dictionaries/mmcif_pdbx_v50.dic/Items/_exptl.method.html'
134
+ - field:
135
+ item: entity.pdbx_description
136
+ where: {type: polymer}
137
+ emit: {subject: '{value}'}
138
+ - field:
139
+ item: entity.pdbx_ec
140
+ split: ','
141
+ resolver: {pattern: '\d+\.(?:\d+|-)\.(?:\d+|-)\.(?:n?\d+|-)'}
142
+ distinct: true
143
+ emit:
144
+ subject: '{value}'
145
+ subjectScheme: Enzyme Commission number
146
+ schemeUri: 'https://www.enzyme-database.org/'
147
+ valueUri: 'https://www.enzyme-database.org/query.php?ec={value}'
148
+ classificationCode: '{value}'
149
+
150
+ contributors:
151
+ sources:
152
+ - contact_persons:
153
+ category: pdbx_contact_author
154
+ order_by: id
155
+ family_item: name_last
156
+ given_items: [name_first, name_mi]
157
+ orcid_item: identifier_ORCID
158
+ orcid: *orcid
159
+ contributor_type: ContactPerson
160
+ - coded_organization:
161
+ category: pdbx_database_status
162
+ item: process_site
163
+ names:
164
+ RCSB: RCSB Protein Data Bank
165
+ PDBE: Protein Data Bank in Europe
166
+ PDBJ: Protein Data Bank Japan
167
+ BMRB: Biological Magnetic Resonance Bank
168
+ PDBC: Protein Data Bank China
169
+ BNL: Protein Data Bank at Brookhaven National Laboratory
170
+ NDB: Nucleic Acid Database
171
+ fixed: {nameType: Organizational, contributorType: DataCurator}
172
+ - field:
173
+ item: pdbx_SG_project.full_name_of_center
174
+ clean: false
175
+ distinct: true
176
+ emit: {name: '{value}', nameType: Organizational, contributorType: ResearchGroup}
177
+
178
+ dates:
179
+ sources:
180
+ - deposition_date:
181
+ date_type: Submitted
182
+ - revision_dates:
183
+ first: Available
184
+ later: Updated
185
+ obsolete_revision_type: Obsolete
186
+ obsolete: Withdrawn
187
+ - field:
188
+ item: [diffrn_detector.pdbx_collection_date, em_imaging.date]
189
+ resolver: {pattern: '\d{4}-\d{2}-\d{2}'}
190
+ distinct: true
191
+ emit: {date: '{value}', dateType: Collected}
192
+
193
+ language:
194
+ sources:
195
+ - constant:
196
+ values: [en]
197
+
198
+ alternateIdentifiers:
199
+ sources:
200
+ - pdb_ids:
201
+ id_type: PDB ID
202
+ extended_type: Extended PDB ID
203
+
204
+ relatedIdentifiers:
205
+ distinct: value
206
+ sources:
207
+ - citation_identifiers:
208
+ citations: *citations
209
+ article_type: JournalArticle
210
+ - related_entries:
211
+ category: pdbx_database_related
212
+ db_item: db_name
213
+ id_item: db_id
214
+ label_item: content_type
215
+ skip_labels: [unspecified, other]
216
+ relation: Other
217
+ resource_type: Dataset
218
+ resolvers:
219
+ PDB: *pdb_doi
220
+ EMDB:
221
+ pattern: '(?i)(?:EMD-)?(?P<id>\d{4,})'
222
+ template: 'https://www.ebi.ac.uk/emdb/EMD-{id}'
223
+ scheme: URL
224
+ BMRB:
225
+ pattern: '(?P<id>\d+)'
226
+ template: 'https://bmrb.io/data_library/summary/index.php?bmrbId={id}'
227
+ scheme: URL
228
+ SASBDB:
229
+ pattern: '(?P<id>SAS[A-Z0-9]+)'
230
+ template: 'https://identifiers.org/sasbdb:{id}'
231
+ scheme: URL
232
+ - field:
233
+ item: pdbx_initial_refinement_model.accession_code
234
+ where: {source_name: PDB}
235
+ resolver: *pdb_doi
236
+ emit: {relatedIdentifier: '{value}', relatedIdentifierType: DOI, relationType: IsDerivedFrom, resourceTypeGeneral: Dataset}
237
+ - field:
238
+ item: pdbx_related_exp_data_set.data_reference
239
+ resolver: *doi
240
+ emit: {relatedIdentifier: '{value}', relatedIdentifierType: DOI, relationType: IsDerivedFrom, resourceTypeGeneral: Dataset}
241
+ - supersessions:
242
+ category: pdbx_database_PDB_obs_spr
243
+ kind_item: id
244
+ new_item: pdb_id
245
+ old_item: replace_pdb_id
246
+ replaces: {kind: SPRSDE, relation: Obsoletes}
247
+ replaced_by: {kind: OBSLTE, relation: IsObsoletedBy}
248
+ resolver: *pdb_doi
249
+ resource_type: Dataset
250
+ - field:
251
+ item: struct_ref.pdbx_db_accession
252
+ where: {db_name: UNP}
253
+ case: upper
254
+ resolver: {pattern: '(?:[OPQ][0-9][A-Z0-9]{3}[0-9]|[A-NR-Z][0-9](?:[A-Z][A-Z0-9]{2}[0-9]){1,2})(?:-\d+)?'}
255
+ emit:
256
+ relatedIdentifier: 'https://www.uniprot.org/uniprotkb/{value}'
257
+ relatedIdentifierType: URL
258
+ relationType: References
259
+ resourceTypeGeneral: Dataset
260
+
261
+ relatedItems:
262
+ sources:
263
+ - citation_items:
264
+ citations: *citations
265
+ title_item: title
266
+ book_item: book_title
267
+ article_type: JournalArticle
268
+ book_type: BookChapter
269
+ authors: {category: citation_author, citation_item: citation_id, name_item: name, order_by: ordinal}
270
+ fields:
271
+ year: publicationYear
272
+ journal_volume: volume
273
+ journal_issue: issue
274
+ page_first: firstPage
275
+ page_last: lastPage
276
+ - deposit_groups:
277
+ category: pdbx_deposit_group
278
+ id_item: group_id
279
+ title_item: group_title
280
+ relation: IsPartOf
281
+ item_type: Collection
282
+ number_type: Other
283
+ - software_items:
284
+ categories: [software, em_software, pdbx_nmr_software]
285
+ name_item: name
286
+ version_item: version
287
+ relation: IsCompiledBy
288
+ item_type: Software
289
+ - field:
290
+ item: em_imaging.microscope_model
291
+ distinct: true
292
+ emit: {relationType: IsCollectedBy, relatedItemType: Instrument, titles: [{title: '{value}'}]}
293
+
294
+ formats:
295
+ sources:
296
+ - constant:
297
+ values: [PDBx/mmCIF, PDBML]
298
+ - flag_constant:
299
+ category: pdbx_database_status
300
+ item: pdb_format_compatible
301
+ equals: 'Y'
302
+ values: [PDB]
303
+
304
+ version:
305
+ sources:
306
+ - last_revision_version: {}
307
+
308
+ rightsList:
309
+ sources:
310
+ - constant:
311
+ values:
312
+ - rights: Creative Commons Zero v1.0 Universal
313
+ rightsUri: 'https://creativecommons.org/publicdomain/zero/1.0/legalcode'
314
+ rightsIdentifier: cc0-1.0
315
+ rightsIdentifierScheme: SPDX
316
+ schemeUri: 'https://spdx.org/licenses/'
317
+
318
+ descriptions:
319
+ sources:
320
+ - field:
321
+ item: exptl_crystal_grow.pdbx_details
322
+ distinct: true
323
+ emit: {description: '{value}', descriptionType: Methods}
324
+
325
+ fundingReferences:
326
+ distinct: value
327
+ sources:
328
+ - funding:
329
+ category: pdbx_audit_support
330
+ order_by: ordinal
331
+ name_item: funding_organization
332
+ award_item: grant_number
333
+ funders: {lookup: funders}
334
+ id_column: ror_id
335
+ status_column: status
336
+ skip_statuses: [excluded]
337
+ identifier_type: ROR
338
+ scheme_uri: 'https://ror.org/'
339
+
340
+ schemaVersion:
341
+ sources:
342
+ - constant:
343
+ values: ['http://datacite.org/schema/kernel-4']
xml/part-00000.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af9f6ecac1d0dcbe84562b0897b110f6b0ed049d5dc397835e8fd72b06235438
3
+ size 3290919
xml/part-00001.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6335c0de797301e97206b187763667ad5426e170521e7b679ae84e4f89b2fb83
3
+ size 3508806
xml/part-00002.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:034bd29c9b810987a309ae692d9ccc9a21d29e2bfe2fc54e4a977c478958e50c
3
+ size 3268560
xml/part-00003.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ba3ca2a5dccba375fa76a61431fbb405e52cb5493c4bd9d95409359a4d223b0
3
+ size 3120038
xml/part-00004.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3ef5bef08fcf6b99b43fdeb45a777aab740aef157cb8596fb9f86c7745184a3
3
+ size 3043828
xml/part-00005.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8618c7f233ea196972558d3530d34acce432b385ec55c61f1b9f06280c210440
3
+ size 3215494
xml/part-00006.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b12b66878910dfa1a2d7e5dfa334ab11dcfd7256f1d428626a29e2189360755
3
+ size 3061125
xml/part-00007.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d0d474cd16bbcfa55ddedfecbf373d98ba532305bb1653059e5f546d876b527
3
+ size 3312472
xml/part-00008.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72bc0f0d6137c19a37b726c91eedbe55a4e067c7b366dab426bfed3f8b26c93a
3
+ size 3058462
xml/part-00009.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb9f6fe48bbb2be948ef9974bcb5fe9db93bfe0e055b4c6614d9e1ea6d520be3
3
+ size 2850640
xml/part-00010.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94ea33f4d23a2c703dbb96d0eb9c4c7f5b6d9132b897bfc11cf4beb521eb505d
3
+ size 3026978
xml/part-00011.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b46048825547182c70e72c919a1e01e23f1a87183b3138744ae347100fc1833a
3
+ size 3111006
xml/part-00012.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:865fa9cb180583c33201b6237234735236b42a746b90623800ed88c7a47909dc
3
+ size 3042804
xml/part-00013.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dae3e8a73651070fe0d191819e17f84691e126049daf6211dc1691579717344
3
+ size 2868982