Skip to content

Amarkar7/PDB2Paper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDB Paper Downloader

Automatically download research papers associated with Protein Data Bank (PDB) structures using DOI metadata from RCSB.

The script queries the RCSB API, extracts DOI information, searches publisher pages for PDF links, and downloads accessible papers automatically.


Features

  • DOI retrieval from RCSB
  • Automatic PDF discovery
  • Handles redirects
  • Multiple publisher support
  • Randomized browser headers
  • PDF validation
  • Failed download logging
  • Resume-safe execution

Installation

Clone the repository:

git clone https://github.com/Amarkar7/PDB2Paper.git
cd PDB2Paper

Install dependencies:

pip install -r requirements.txt

Usage

Add PDB IDs to:

pdb_ids.txt

Example:

1A4T
1ETF
3ICE

Run:

python3 download_papers.py

Downloaded papers will be stored in:

PDB_Papers/

Failed entries will be stored in:

failed_downloads.txt

Repository Structure

PDB2Paper/
├── download_papers.py
├── requirements.txt
├── pdb_ids.txt
├── README.md
├── .gitignore
└── PDB_Papers/

Notes

Some publishers may block automated downloads.

Possible reasons for failed downloads:

  • CAPTCHA or anti-bot protection
  • Institutional access restrictions
  • JavaScript-rendered PDF buttons
  • Invalid or outdated DOI
  • Temporary rate limiting

Disclaimer

This project is intended for academic and research purposes only.

Please respect publisher copyright policies and institutional access rules.

About

Automatic downloader for research papers associated with Protein Data Bank (PDB) structures using DOI metadata from RCSB.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages