@jbrowse/plugin-legacy-jbrowse 5.0.0-beta.13 → 5.0.0-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/JBrowse1Connection/configSchema.d.ts +2 -0
- package/esm/JBrowse1Connection/configSchema.js +2 -0
- package/esm/JBrowse1Connection/jb1ToJb2.js +1 -1
- package/esm/JBrowse1TextSearchAdapter/JBrowse1TextSearchAdapter.js +1 -2
- package/esm/JBrowse1TextSearchAdapter/configSchema.d.ts +3 -1
- package/esm/JBrowse1TextSearchAdapter/configSchema.js +3 -1
- package/esm/NCListAdapter/configSchema.d.ts +2 -0
- package/esm/NCListAdapter/configSchema.js +3 -0
- package/package.json +6 -6
|
@@ -2,6 +2,8 @@ import { ConfigurationSchema } from '@jbrowse/core/configuration';
|
|
|
2
2
|
import { baseConnectionConfig } from '@jbrowse/core/pluggableElementTypes/models';
|
|
3
3
|
/**
|
|
4
4
|
* #config JBrowse1Connection
|
|
5
|
+
* Adds the tracks of a JBrowse 1 data directory to the session, translated to
|
|
6
|
+
* their JBrowse 2 equivalents.
|
|
5
7
|
*
|
|
6
8
|
* #example
|
|
7
9
|
* An entry in the config's `connections`, pointing at a JBrowse 1 data
|
|
@@ -7,8 +7,7 @@ export default class JBrowse1TextSearchAdapter extends BaseAdapter {
|
|
|
7
7
|
httpMap;
|
|
8
8
|
constructor(config, getSubAdapter, pluginManager) {
|
|
9
9
|
super(config, getSubAdapter, pluginManager);
|
|
10
|
-
const
|
|
11
|
-
const { baseUri, uri } = namesIndex;
|
|
10
|
+
const { baseUri, uri } = readConfObject(config, 'namesIndexLocation');
|
|
12
11
|
this.httpMap = new HttpMap({
|
|
13
12
|
url: baseUri ? new URL(uri, baseUri).href : uri,
|
|
14
13
|
});
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* #config JBrowse1TextSearchAdapter
|
|
3
3
|
* #trackType TextSearchAdapter
|
|
4
4
|
* #fileFormat textsearch | JBrowse 1 names index | From JBrowse 1 `generate-names.pl`
|
|
5
|
-
*
|
|
5
|
+
* Searches a names index written by JBrowse 1's `generate-names.pl`. The
|
|
6
|
+
* `tracks` and `assemblyNames` slots list the tracks and assemblies the index
|
|
7
|
+
* covers.
|
|
6
8
|
*
|
|
7
9
|
* #example
|
|
8
10
|
* An entry in `aggregateTextSearchAdapters`, pointing at the `names/`
|
|
@@ -3,7 +3,9 @@ import { ConfigurationSchema } from '@jbrowse/core/configuration';
|
|
|
3
3
|
* #config JBrowse1TextSearchAdapter
|
|
4
4
|
* #trackType TextSearchAdapter
|
|
5
5
|
* #fileFormat textsearch | JBrowse 1 names index | From JBrowse 1 `generate-names.pl`
|
|
6
|
-
*
|
|
6
|
+
* Searches a names index written by JBrowse 1's `generate-names.pl`. The
|
|
7
|
+
* `tracks` and `assemblyNames` slots list the tracks and assemblies the index
|
|
8
|
+
* covers.
|
|
7
9
|
*
|
|
8
10
|
* #example
|
|
9
11
|
* An entry in `aggregateTextSearchAdapters`, pointing at the `names/`
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* #config NCListAdapter
|
|
3
3
|
* #trackType FeatureTrack
|
|
4
|
+
* Reads a JBrowse 1 NCList feature store, the per-reference `trackData.json`
|
|
5
|
+
* files that the JBrowse 1 formatting scripts write.
|
|
4
6
|
*
|
|
5
7
|
* #example
|
|
6
8
|
* Reads a JBrowse 1 NCList store in place, so an existing JBrowse 1 instance's
|
|
@@ -2,6 +2,8 @@ import { ConfigurationSchema } from '@jbrowse/core/configuration';
|
|
|
2
2
|
/**
|
|
3
3
|
* #config NCListAdapter
|
|
4
4
|
* #trackType FeatureTrack
|
|
5
|
+
* Reads a JBrowse 1 NCList feature store, the per-reference `trackData.json`
|
|
6
|
+
* files that the JBrowse 1 formatting scripts write.
|
|
5
7
|
*
|
|
6
8
|
* #example
|
|
7
9
|
* Reads a JBrowse 1 NCList store in place, so an existing JBrowse 1 instance's
|
|
@@ -40,5 +42,6 @@ const NCListAdapter = ConfigurationSchema('NCListAdapter', {
|
|
|
40
42
|
},
|
|
41
43
|
}, {
|
|
42
44
|
explicitlyTyped: true,
|
|
45
|
+
closed: true,
|
|
43
46
|
});
|
|
44
47
|
export default NCListAdapter;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-legacy-jbrowse",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "JBrowse 2 plugin for connecting to and reading JBrowse 1 data",
|
|
6
6
|
"keywords": [
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"esm"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@gmod/nclist": "^3.0.
|
|
25
|
-
"@jbrowse/mobx-state-tree": "^6.
|
|
26
|
-
"generic-filehandle2": "^2.5.
|
|
24
|
+
"@gmod/nclist": "^3.0.15",
|
|
25
|
+
"@jbrowse/mobx-state-tree": "^6.9.0",
|
|
26
|
+
"generic-filehandle2": "^2.5.1",
|
|
27
27
|
"mobx": "^7.0.6",
|
|
28
28
|
"rxjs": "^7.8.2",
|
|
29
|
-
"@jbrowse/add-track-core": "^5.0.0-beta.
|
|
30
|
-
"@jbrowse/core": "^5.0.0-beta.
|
|
29
|
+
"@jbrowse/add-track-core": "^5.0.0-beta.14",
|
|
30
|
+
"@jbrowse/core": "^5.0.0-beta.14"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"react": ">=19.0.0",
|