<blockquote>
<p>Comment migrated as answer as it inadvertently may have been an answer.</p>
</blockquote>
<p>If the sole records in a PDB file that are of interest are <code>EXPDTA</code>,<code>CRYST1</code> ORIGX1``,<code>ORIGX2</code>, <code>ORIGX3</code>,<code>SCALE1</code>,<code>SCALE2</code>,<code>SCALE3</code>, the in the <a href="http://wwpdb.org/ftp/pdb-ftp-sites" rel="nofollow noreferrer">FTP site</a> the file ftp.wwpdb.org/pub/pdb/derived_data/index/crystal.idx  contains this information in a tabular format.</p>
<p>If an extra piece of metadata is sought, such as <strong>some of</strong> the refinement details in <code>REMARK</code> lines, then <a href="https://www.ebi.ac.uk/pdbe/api/doc/" rel="nofollow noreferrer">the PDBe API can help</a>. In particular, the <code>experiment</code> entrypoint (<a href="https://www.ebi.ac.uk/pdbe/api/pdb/entry/experiment/451c" rel="nofollow noreferrer">example</a>) is of interest.</p>

CC BY-SA 4.0
2022-01-28T17:17:00.810Z
2022-01-28T17:17:00.810Z
Matteo Ferla
<p>running the query builder at RCS PDB against id with space group (so crystal info) I get:</p>
<p><a href="https://i.sstatic.net/S3rGv.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/S3rGv.png" alt="172456 hits" /></a></p>
<p>more about RCSB PDB web services here: <a href="https://www.rcsb.org/docs/programmatic-access/web-services-overview" rel="nofollow noreferrer">https://www.rcsb.org/docs/programmatic-access/web-services-overview</a></p>
<p>and the search API here: <a href="https://search.rcsb.org/index.html#search-api" rel="nofollow noreferrer">https://search.rcsb.org/index.html#search-api</a>  think you should query for entries where <code>symmetry.pdbx_full_space_group_name_H_M</code> exists (<a href="https://search.rcsb.org/structure-search-attributes.html" rel="nofollow noreferrer">https://search.rcsb.org/structure-search-attributes.html</a> and ask to have returned entry.id (a list of in this case)</p>

CC BY-SA 4.0
2023-01-12T12:57:22.293Z
2023-01-12T13:03:11.937Z
2023-01-12T13:03:11.937Z
pippo1980
<p>I would like to download all the PDB files which have crystal structure information in them. But the query builder seems to require me to enter the PDB IDs manually.</p>
<p>Is there a way to get a list of those PDB IDs at RCSB PDB?</p>
<p>Thanks in advance.</p>

CC BY-SA 4.0
2022-01-28T16:49:44.533Z
Thank you for the links. Very useful indeed!
Shredderroy
<pdb>
Is there a way to get a list of all PDB IDs for proteins with crystal structure information?
# Is there a way to get a list of all PDB IDs for proteins with crystal structure information?

(Asked by: username_0 on 2022-01-28)

I would like to download all the PDB files which have crystal structure information in them. But the query builder seems to require me to enter the PDB IDs manually.

Is there a way to get a list of those PDB IDs at RCSB PDB?

Thanks in advance.

**Tags:** pdb
> **Comments:**
> **username_0**: Thank you for the links. Very useful indeed!  

---

## 2 answers

### Answer by username_1 on 2022-01-28. Score: 3 | Accepted answer

> Comment migrated as answer as it inadvertently may have been an answer.

If the sole records in a PDB file that are of interest are `EXPDTA`,`CRYST1` ORIGX1``,`ORIGX2`, `ORIGX3`,`SCALE1`,`SCALE2`,`SCALE3`, the in the [FTP site](http://wwpdb.org/ftp/pdb-ftp-sites) the file ftp.wwpdb.org/pub/pdb/derived\_data/index/crystal.idx contains this information in a tabular format.

If an extra piece of metadata is sought, such as **some of** the refinement details in `REMARK` lines, then [the PDBe API can help](https://www.ebi.ac.uk/pdbe/api/doc/). In particular, the `experiment` entrypoint ([example](https://www.ebi.ac.uk/pdbe/api/pdb/entry/experiment/451c)) is of interest.


---

### Answer by username_2 on 2023-01-12. Score: 2

running the query builder at RCS PDB against id with space group (so crystal info) I get:

[![172456 hits](https://i.sstatic.net/S3rGv.png)](https://i.sstatic.net/S3rGv.png)

more about RCSB PDB web services here: <https://www.rcsb.org/docs/programmatic-access/web-services-overview>

and the search API here: <https://search.rcsb.org/index.html#search-api> think you should query for entries where `symmetry.pdbx_full_space_group_name_H_M` exists (<https://search.rcsb.org/structure-search-attributes.html> and ask to have returned entry.id (a list of in this case)


---

