AssembliesMixin
Auto-generated @jbrowse/mobx-state-tree API for the current JBrowse release — see pluggable elements for concepts. Built into JBrowse core. View source.
Adds sessionAssemblies (admin-aware, persisted-with-session assemblies) and
temporaryAssemblies (used for ad-hoc read-vs-ref style assemblies).
Properties
| Member | Description |
|---|---|
| sessionAssemblies | |
| temporaryAssemblies |
Getters
| Member | Description |
|---|---|
| assemblies | sessionAssemblies plus jbrowse config assemblies. Does not include temporaryAssemblies; this is the list shown in the AssemblySelector dropdown. |
assemblyNamesstring[] | names of the assemblies returned by the assemblies getter |
Methods
| Member | Description |
|---|---|
| findAssemblyConf | The assembly config already carrying name, from any of the three arrays the assemblyManager draws on, or undefined.One namespace, because name is the assembly config's MST identifier: a second config carrying a name one of the others already has doesn't fail at the add, it makes every assembly.configuration safeReference in the manager ambiguous, and MST then throws on every read of one — inside the manager's own autorun and inside assemblyNameMap, which takes the session down. So each add path checks all three, not just the array it pushes to. |
Actions
| Member | Description |
|---|---|
| addSessionAssembly | |
addAssembly(conf: AnyConfiguration) => void | |
removeAssembly(name: string) => void | |
removeSessionAssembly(assemblyName: string) => void | |
| addTemporaryAssembly | used for read vs ref type assemblies. |
removeTemporaryAssembly(name: string) => void |