PairwiseIndexedPAFAdapter
Auto-generated from the config schema in the source — see the config guide for concepts. Provided by the comparative-adapters plugin. View source.
Example usage
{
type: 'SyntenyTrack',
trackId: 'my_track',
name: 'My track',
assemblyNames: ['hg19', 'hg38'],
adapter: {
type: 'PairwiseIndexedPAFAdapter',
uri: 'https://example.com/aln.pif.gz',
queryAssembly: 'hg19',
targetAssembly: 'hg38',
},
}Reads a tabix-indexed PAF (PIF) file, fetching only the alignments in view,
for large synteny datasets. The uri shorthand auto-resolves the .tbi
index (pass csi: true for a .csi index).
Related links
- Track: SyntenyTrack
- Display: ChordSyntenyDisplay
- Display: DotplotDisplay
- Display: LGVSyntenyDisplay
- Display: LinearMarkDisplay
- Display: LinearSyntenyDisplay
- Display: MultiWaySyntenyDisplay
- Config guide: Supported file types
- Config guide: Synteny track
- Developer guide: PIF (Pairwise Indexed Format)
Config slots
These slots go inside the track's adapter: "adapter": { "type": "PairwiseIndexedPAFAdapter", ... }. It also accepts the shorthand keys uri, baseUri, csi in place of writing a location slot out. 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 |
|---|---|
pifGzLocationfileLocation = | location of pairwise tabix indexed PAF (pif) |
coarseBpPerPxThresholdnumber = 10000 | bpPerPx threshold at which a view on "Level of detail: automatic" switches from the per-row CIGAR tier (lowercase t/q prefix) to the coarse tier (uppercase T/Q prefix), whose CIGAR is folded to its large indels. The file has the last word: one with no coarse tier (make-pif --no-coarse) serves the fine tier at every zoom, and a threshold below the --coarse bound its #pif header states is raised to that bound, since below it the coarse tier is served at zooms where the indels it folded away are wide enough to see.advanced |
| index TabixIndex | The tabix index location and its kind. The uri shorthand derives both, so a config using it states neither. |
assemblyNamesstringArray = [] | Array of assembly names to use for this file. The query assembly name is the first value in the array, target assembly name is the second |
targetAssemblystring = '' | Alternative to assemblyNames: the target assembly name |
queryAssemblystring = '' | Alternative to assemblyNames: the query assembly name |
attributeColumnsstringArray = [] | PAF tags to offer as color-by fields, by name: ["syri", "color"] offers syri:Z:INV as a field whose labels paint in the color:Z: beside them |