Due to the API being way too limited, this is a selenium UI solution that replicates the the manual workflow of the site through chrome on linux
How to use this:
- on linux, install chrome webdriver (the dependency libraries called by the script if the package manager didn't get them)
- copy your input .fa file in this directory, open
swissmode_selenium_geturl.py
and give the input path as the value ofinputfile
variable - run
swissmodel_selenium_geturl.py
to initialize the modelling job for you
this appends the project url-s inproject_urls.txt
in<seq_name>\n<seq_url>\n
format - wait until the moddeling jobs finish, idk how long this should take, ex. it finished the 300 jobs i gave it in an hour or two
- run
swissmodel_selenium_download.py
to start downloading the models
this checks for the best sequence identity matching template and generates it wasn't initially generated, then downloads it's pdb file and moves it to apdb_downloads
folder in the project forder, files named from the names in the fasta file - if this script gets stuck, a thing you could try is going back to previous page
if that doesn't work, manually download the project it's currently stuck on, then go toproject_urls.txt
, delete already downloaded projects and restart