REST API

Base URL: https://conodictor.bioinfstat.org/api/v1. No key is needed; the same limits as the web form apply.

Submit a job
curl -F file=@transcripts.fa.gz -F all=1 https://conodictor.bioinfstat.org/api/v1/jobs
curl -H 'Content-Type: application/json' \
     -d '{"sequences": ">s1\nMKLTCVLIVAVLFL...", "filter": true}' https://conodictor.bioinfstat.org/api/v1/jobs

Options (form fields or JSON keys): all, filter, exact, mlen, ndup, min_orf, alphabet, name, email. The answer (HTTP 202) contains the job id and its status_url.

Follow a job and get results
curl https://conodictor.bioinfstat.org/api/v1/jobs/<id>               # status: queued | running | finished | failed
curl https://conodictor.bioinfstat.org/api/v1/jobs/<id>/predictions   # JSON, with every class probability
curl https://conodictor.bioinfstat.org/api/v1/jobs/<id>/files/predictions.tsv
curl https://conodictor.bioinfstat.org/api/v1/database                 # database release and superfamilies

Files: predictions.tsv, probabilities.tsv, summary.tsv, precursors.faa, mature.faa, run.json.