# BigBedTextSearchAdapter

Auto-generated from the config schema in the source. See the [config guide](https://jbrowse.org/jb2/docs/config_guide) for concepts. Provided by the `bed` plugin. [View source](https://github.com/GMOD/jbrowse-components/blob/main/plugins/bed/src/BigBedTextSearchAdapter/configSchema.ts).

Finds features by the names a BigBed was built to look up, its
`bedToBigBed -extraIndex` columns, which a UCSC hub declares with
`searchIndex`. The hub's `searchTrix` index, when given, adds prefix and
case-insensitive matching. A UCSC track hub connection configures one for
its first gene track declaring a `searchIndex`, GenArk's `ncbiRefSeq`.

## Example usage

```js
{
  type: 'BigBedTextSearchAdapter',
  bigBedLocation: { uri: 'bbi/ncbiRefSeq.bb' },
  ixFilePath: { uri: 'ixIxx/ncbiRefSeq.ix' },
  ixxFilePath: { uri: 'ixIxx/ncbiRefSeq.ixx' },
}
```

## Config slots

`BigBedTextSearchAdapter` has no `uri` [shorthand](https://jbrowse.org/jb2/docs/config_guides/file_types#the-uri-shorthand) — give it the location slots below. Slot types (`fileLocation`, `frozen`, ...) are explained in the [config slot types reference](https://jbrowse.org/jb2/docs/config_guides/slot_types). Slots a base configuration contributes are listed here too, so this table is the whole surface.

| Slot | Description |
| --- | --- |
| **bigBedLocation**<br>[`fileLocation`](https://jbrowse.org/jb2/docs/config_guides/slot_types#filelocation) = <code>{ uri: '/path/to/my.bb', locationType: 'UriLocation' }</code> | the BigBed whose extra indexes resolve a name to its features |
| **ixFilePath**<br>[`maybeFileLocation`](https://jbrowse.org/jb2/docs/config_guides/slot_types#the-maybe-types) | a UCSC `searchTrix` `.ix`, whose records are the names the extra indexes hold. Unset, a search matches a name exactly as typed |
| **ixxFilePath**<br>[`maybeFileLocation`](https://jbrowse.org/jb2/docs/config_guides/slot_types#the-maybe-types) | the `.ixx` beside `ixFilePath` |
| **assemblyNames**<br>[`stringArray`](https://jbrowse.org/jb2/docs/config_guides/slot_types#stringarray) = <code>[]</code> | List of assemblies covered by text search adapter |

