Skip to content

n-yoshikawa/retrosynthesis_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Retrosynthesis Bot

DOI

Source code for @retrosynthchan

Dependencies

You need to get the keys and tokens to access Twitter API and modify settings.json to run the bot.

Installation with Docker

  1. Install Docker
  2. Build the container image and run the image
git clone https://github.com/n-yoshikawa/retrosynthesis_bot.git
cd retrosynthesis_bot
docker build -t retrosynth .
docker run -it retrosynth
  1. Edit setting.json to access Twitter API
sudo apt install vim  # Install your favorite editor
vim setting.json  # Edit setting.json with your access token
  1. Run the bot
conda activate aizynth-dev
python random_analysis.py  # Run retrosynthesis for a random molecule from PubChem for testing
python bot.py  # Run interactive retrosynthesis bot