TrixTextSearchAdapter
Auto-generated config schema for the current JBrowse release — see the config guide for concepts. Provided by the trix plugin. View source.
Example usage
jbrowse text-index writes this entry into aggregateTextSearchAdapters for
you. The uri shorthand points at the .ix and the sibling .ixx is derived
from it, so the pair only needs spelling out when they are named against
convention. Written by hand, the string 'trix/hg38.ix' is the whole entry,
the same as { uri: 'trix/hg38.ix' }: a .ix implies this type, and
assemblyNames defaults to the track's own for a per-track index or to the
config's one assembly.
{
type: 'TrixTextSearchAdapter',
uri: 'trix/hg38.ix',
assemblyNames: ['hg38'],
}See the Config slots section below for all available configuration fields.
Config slots
These slots go inside the track's adapter: "adapter": { "type": "TrixTextSearchAdapter", ... }. This adapter has no uri shorthand — give it the location slots below. Slot types (fileLocation, frozen, ...) are explained in the config slot types reference. Slots a base configuration contributes are listed here too, so this table is the whole surface.
| Slot | Description |
|---|---|
ixFilePathfileLocation = { uri: 'out.ix', locationType: 'UriLocation' } | location of the Trix .ix index written by jbrowse text-index: the sorted term-to-feature table the search box reads. |
ixxFilePathfileLocation = { uri: 'out.ixx', locationType: 'UriLocation' } | location of the .ixx prefix index, which records where in the .ix each prefix begins, so a lookup takes a couple of range requests instead of a download of the whole index. |
assemblyNamesstringArray = [] | List of assemblies covered by text search adapter |
Related links
- Guide: Supported file types
- Guide: Text search adapters
- Guide: Text searching