rotifer.db.neighbors#

Fetch gene neighborhoods from the laboratory’s PostgreSQL server.

This is the original implementation behind the rneighbors program. It builds temporary tables of query accessions, joins them against the ftable feature table and prints neighborhoods in either the gi2operons or the tabular format.

Deprecated since version This: module is superseded by rotifer.db.methods.GeneNeighborhoodCursor and its backends (rotifer.db.ncbi, rotifer.db.sql.sqlite3), which fetch the same data without a dedicated database server. Nothing in rotifer.db imports it.

Warnings#

This module does not currently import: it has a syntax error at line 131, and several methods contain further errors. It is excluded from the API reference. See docs/OPEN_QUESTIONS.md.

Classes

rneighbors([above, below, outformat, ...])

Query gene neighborhoods on a PostgreSQL feature database.