# LGVSyntenySort

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 `linear-comparative-view` plugin. [View source](https://github.com/GMOD/jbrowse-components/blob/main/plugins/linear-comparative-view/src/LGVSyntenyDisplay/lgvSyntenySortConfigSchema.ts).

## Example usage

```js
{ type: 'LGVSyntenyDisplay', sort: 'position' }
```

The LGVSyntenyDisplay's `sort` setting: the
[AlignmentsSort](../alignmentssort) object with `type` defaulting to
`length`, so big syntenic blocks cluster at the top instead of interleaving
with small ones.

## Related links

- **Base config:** [AlignmentsSort](../alignmentssort)

## Config slots

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 |
| --- | --- |
| **type**<br>[`stringEnum`](https://jbrowse.org/jb2/docs/config_guides/slot_types#stringenum) = <code>'length'</code> | position, length, spliced, split or svSignal order the whole window; strand, basePair, mapq, pairOrientation, tag, insertion, softclip or hardclip rank the reads over the column at pos |
| <span class="slot-group">Inherited from [AlignmentsSort](../alignmentssort) | <span class="slot-group-count">4 slots |
| **pos**<br>[`maybeNumber`](https://jbrowse.org/jb2/docs/config_guides/slot_types#the-maybe-types) | a column sort's 0-based position |
| **refName**<br>[`maybeString`](https://jbrowse.org/jb2/docs/config_guides/slot_types#the-maybe-types) | a column sort's reference sequence |
| **tag**<br>[`maybeString`](https://jbrowse.org/jb2/docs/config_guides/slot_types#the-maybe-types) | the SAM tag a tag sort ranks by |
| **within**<br>[`maybeNumber`](https://jbrowse.org/jb2/docs/config_guides/slot_types#the-maybe-types) | how many bases either side of pos an insertion, softclip or hardclip sort still ranks a mark |

