Query DIOPT database (https://www.flyrnai.org/cgi-bin/DRSC_orthologs.pl) for orthologues. DIOPT database uses multiple tools to find gene orthologues. Sadly they don't have an API so this function queries by visiting the site and filling up the form. By default each query will take a minimum of 10 seconds due to delay parameter. This is taken from their robots.txt at the time this function is written. Note that DIOPT is not necesariy in sync with homologene database as provided in this package.

diopt(genes, inTax, outTax, delay = 10)

Arguments

genes

A vector of gene identifiers. Anything that DIOPT accepts

inTax

taxid of the species that the input genes are coming from

outTax

taxid of the species that you are seeking homology

delay

How many seconds of delay should be between queries. Default is 10 based on the robots.txt at the time this function is written.

Value

A data frame