vfbquery 0.2.7__tar.gz → 0.2.9__tar.gz
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.
- {vfbquery-0.2.7 → vfbquery-0.2.9}/PKG-INFO +176 -169
- {vfbquery-0.2.7 → vfbquery-0.2.9}/README.md +171 -169
- {vfbquery-0.2.7 → vfbquery-0.2.9}/setup.py +1 -1
- {vfbquery-0.2.7 → vfbquery-0.2.9}/src/vfbquery/vfb_queries.py +195 -4
- {vfbquery-0.2.7 → vfbquery-0.2.9}/src/vfbquery.egg-info/PKG-INFO +176 -169
- {vfbquery-0.2.7 → vfbquery-0.2.9}/LICENSE +0 -0
- {vfbquery-0.2.7 → vfbquery-0.2.9}/pyproject.toml +0 -0
- {vfbquery-0.2.7 → vfbquery-0.2.9}/setup.cfg +0 -0
- {vfbquery-0.2.7 → vfbquery-0.2.9}/src/test/__init__.py +0 -0
- {vfbquery-0.2.7 → vfbquery-0.2.9}/src/test/term_info_queries_test.py +0 -0
- {vfbquery-0.2.7 → vfbquery-0.2.9}/src/vfbquery/__init__.py +0 -0
- {vfbquery-0.2.7 → vfbquery-0.2.9}/src/vfbquery/term_info_queries.py +0 -0
- {vfbquery-0.2.7 → vfbquery-0.2.9}/src/vfbquery.egg-info/SOURCES.txt +0 -0
- {vfbquery-0.2.7 → vfbquery-0.2.9}/src/vfbquery.egg-info/dependency_links.txt +0 -0
- {vfbquery-0.2.7 → vfbquery-0.2.9}/src/vfbquery.egg-info/requires.txt +0 -0
- {vfbquery-0.2.7 → vfbquery-0.2.9}/src/vfbquery.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: vfbquery
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.9
|
|
4
4
|
Summary: Wrapper for querying VirtualFlyBrain knowledge graph.
|
|
5
5
|
Home-page: https://github.com/VirtualFlyBrain/VFBquery
|
|
6
6
|
Author: VirtualFlyBrain
|
|
@@ -12,6 +12,11 @@ Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
+
Requires-Dist: vfb_connect
|
|
16
|
+
Requires-Dist: dataclasses-json
|
|
17
|
+
Requires-Dist: dacite
|
|
18
|
+
Requires-Dist: requests
|
|
19
|
+
Requires-Dist: pysolr
|
|
15
20
|
|
|
16
21
|
# VFBquery
|
|
17
22
|
|
|
@@ -33,137 +38,138 @@ vfb.get_term_info('FBbt_00003748')
|
|
|
33
38
|
```
|
|
34
39
|
```json
|
|
35
40
|
{
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
41
|
+
'Name':'medulla',
|
|
42
|
+
'Id':'FBbt_00003748',
|
|
43
|
+
'SuperTypes':[
|
|
44
|
+
'Entity',
|
|
45
|
+
'Adult',
|
|
46
|
+
'Anatomy',
|
|
47
|
+
'Class',
|
|
48
|
+
'Nervous_system',
|
|
49
|
+
'Synaptic_neuropil',
|
|
50
|
+
'Synaptic_neuropil_domain',
|
|
51
|
+
'Visual_system'
|
|
52
|
+
],
|
|
53
|
+
'Meta':{
|
|
54
|
+
'Name':'[medulla](FBbt_00003748)',
|
|
55
|
+
'Description':'The second optic neuropil, sandwiched between the lamina and the lobula complex. It is divided into 10 layers: 1-6 make up the outer (distal) medulla, the seventh (or serpentine) layer exhibits a distinct architecture and layers 8-10 make up the inner (proximal) medulla (Ito et al., 2014).',
|
|
56
|
+
'Comment':'',
|
|
57
|
+
'Types':'[synaptic neuropil domain](FBbt_00040007)',
|
|
58
|
+
'Relationships':'[develops from](RO_0002202): [medulla anlage](FBbt_00001935); [is part of](BFO_0000050): [adult optic lobe](FBbt_00003701)',
|
|
59
|
+
'Cross References':' [Insect Brain DB](https://insectbraindb.org/): [38](https://insectbraindb.org/app/structures/38)'
|
|
60
|
+
},
|
|
61
|
+
'Tags':[
|
|
62
|
+
'Adult',
|
|
63
|
+
'Nervous_system',
|
|
64
|
+
'Synaptic_neuropil_domain',
|
|
65
|
+
'Visual_system'
|
|
66
|
+
],
|
|
67
|
+
'Queries':[
|
|
68
|
+
{
|
|
69
|
+
'query':'ListAllAvailableImages',
|
|
70
|
+
'label':'List all available images of medulla',
|
|
71
|
+
'function':'get_instances',
|
|
72
|
+
'takes':{
|
|
73
|
+
'short_form':{
|
|
74
|
+
'$and':[
|
|
75
|
+
'Class',
|
|
76
|
+
'Anatomy'
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
'default':{
|
|
80
|
+
'short_form':'FBbt_00003748'
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
'preview':0,
|
|
84
|
+
'preview_columns':[
|
|
85
|
+
'id',
|
|
86
|
+
'label',
|
|
87
|
+
'tags',
|
|
88
|
+
'thumbnail'
|
|
89
|
+
],
|
|
90
|
+
'preview_results':{
|
|
91
|
+
'headers':{
|
|
92
|
+
'id':{
|
|
93
|
+
'title':'Add',
|
|
94
|
+
'type':'selection_id',
|
|
95
|
+
'order':-1
|
|
96
|
+
},
|
|
97
|
+
'label':{
|
|
98
|
+
'title':'Name',
|
|
99
|
+
'type':'markdown',
|
|
100
|
+
'order':0,
|
|
101
|
+
'sort':{
|
|
102
|
+
0:'Asc'
|
|
67
103
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
'
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
'rows':[
|
|
103
|
-
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
|
-
'count':4
|
|
104
|
+
},
|
|
105
|
+
'tags':{
|
|
106
|
+
'title':'Gross Types',
|
|
107
|
+
'type':'tags',
|
|
108
|
+
'order':3
|
|
109
|
+
},
|
|
110
|
+
'thumbnail':{
|
|
111
|
+
'title':'Thumbnail',
|
|
112
|
+
'type':'markdown',
|
|
113
|
+
'order':9
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
'rows':[
|
|
117
|
+
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
'output_format':'table',
|
|
121
|
+
'count':4
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
'IsIndividual':False,
|
|
125
|
+
'IsClass':True,
|
|
126
|
+
'Examples':{
|
|
127
|
+
'VFB_00030786':[
|
|
128
|
+
{
|
|
129
|
+
'id':'VFB_00030810',
|
|
130
|
+
'label':'medulla on adult brain template Ito2014',
|
|
131
|
+
'thumbnail':'https://www.virtualflybrain.org/data/VFB/i/0003/0810/thumbnail.png',
|
|
132
|
+
'thumbnail_transparent':'https://www.virtualflybrain.org/data/VFB/i/0003/0810/thumbnailT.png',
|
|
133
|
+
'nrrd':'https://www.virtualflybrain.org/data/VFB/i/0003/0810/volume.nrrd',
|
|
134
|
+
'wlz':'https://www.virtualflybrain.org/data/VFB/i/0003/0810/volume.wlz',
|
|
135
|
+
'obj':'https://www.virtualflybrain.org/data/VFB/i/0003/0810/volume_man.obj'
|
|
107
136
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
'VFB_00017894':[
|
|
145
|
-
{
|
|
146
|
-
'thumbnail_transparent':'https://www.virtualflybrain.org/data/VFB/i/0003/0624/thumbnailT.png',
|
|
147
|
-
'obj':'https://www.virtualflybrain.org/data/VFB/i/0003/0624/volume_man.obj',
|
|
148
|
-
'wlz':'https://www.virtualflybrain.org/data/VFB/i/0003/0624/volume.wlz',
|
|
149
|
-
'label':'medulla on adult brain template JFRC2',
|
|
150
|
-
'id':'VFB_00030624',
|
|
151
|
-
'nrrd':'https://www.virtualflybrain.org/data/VFB/i/0003/0624/volume.nrrd',
|
|
152
|
-
'thumbnail':'https://www.virtualflybrain.org/data/VFB/i/0003/0624/thumbnail.png'
|
|
153
|
-
}
|
|
154
|
-
],
|
|
155
|
-
'VFB_00101384':[
|
|
156
|
-
{
|
|
157
|
-
'thumbnail_transparent':'https://www.virtualflybrain.org/data/VFB/i/0010/1385/VFB_00101384/thumbnailT.png',
|
|
158
|
-
'obj':'https://www.virtualflybrain.org/data/VFB/i/0010/1385/VFB_00101384/volume_man.obj',
|
|
159
|
-
'wlz':'https://www.virtualflybrain.org/data/VFB/i/0010/1385/VFB_00101384/volume.wlz',
|
|
160
|
-
'label':'ME(R) on JRC_FlyEM_Hemibrain',
|
|
161
|
-
'id':'VFB_00101385',
|
|
162
|
-
'nrrd':'https://www.virtualflybrain.org/data/VFB/i/0010/1385/VFB_00101384/volume.nrrd',
|
|
163
|
-
'thumbnail':'https://www.virtualflybrain.org/data/VFB/i/0010/1385/VFB_00101384/thumbnail.png'
|
|
164
|
-
}
|
|
165
|
-
]
|
|
166
|
-
}
|
|
137
|
+
],
|
|
138
|
+
'VFB_00101567':[
|
|
139
|
+
{
|
|
140
|
+
'id':'VFB_00102107',
|
|
141
|
+
'label':'ME on JRC2018Unisex adult brain',
|
|
142
|
+
'thumbnail':'https://www.virtualflybrain.org/data/VFB/i/0010/2107/VFB_00101567/thumbnail.png',
|
|
143
|
+
'thumbnail_transparent':'https://www.virtualflybrain.org/data/VFB/i/0010/2107/VFB_00101567/thumbnailT.png',
|
|
144
|
+
'nrrd':'https://www.virtualflybrain.org/data/VFB/i/0010/2107/VFB_00101567/volume.nrrd',
|
|
145
|
+
'wlz':'https://www.virtualflybrain.org/data/VFB/i/0010/2107/VFB_00101567/volume.wlz',
|
|
146
|
+
'obj':'https://www.virtualflybrain.org/data/VFB/i/0010/2107/VFB_00101567/volume_man.obj'
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
'VFB_00017894':[
|
|
150
|
+
{
|
|
151
|
+
'id':'VFB_00030624',
|
|
152
|
+
'label':'medulla on adult brain template JFRC2',
|
|
153
|
+
'thumbnail':'https://www.virtualflybrain.org/data/VFB/i/0003/0624/thumbnail.png',
|
|
154
|
+
'thumbnail_transparent':'https://www.virtualflybrain.org/data/VFB/i/0003/0624/thumbnailT.png',
|
|
155
|
+
'nrrd':'https://www.virtualflybrain.org/data/VFB/i/0003/0624/volume.nrrd',
|
|
156
|
+
'wlz':'https://www.virtualflybrain.org/data/VFB/i/0003/0624/volume.wlz',
|
|
157
|
+
'obj':'https://www.virtualflybrain.org/data/VFB/i/0003/0624/volume_man.obj'
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
'VFB_00101384':[
|
|
161
|
+
{
|
|
162
|
+
'id':'VFB_00101385',
|
|
163
|
+
'label':'ME(R) on JRC_FlyEM_Hemibrain',
|
|
164
|
+
'thumbnail':'https://www.virtualflybrain.org/data/VFB/i/0010/1385/VFB_00101384/thumbnail.png',
|
|
165
|
+
'thumbnail_transparent':'https://www.virtualflybrain.org/data/VFB/i/0010/1385/VFB_00101384/thumbnailT.png',
|
|
166
|
+
'nrrd':'https://www.virtualflybrain.org/data/VFB/i/0010/1385/VFB_00101384/volume.nrrd',
|
|
167
|
+
'wlz':'https://www.virtualflybrain.org/data/VFB/i/0010/1385/VFB_00101384/volume.wlz',
|
|
168
|
+
'obj':'https://www.virtualflybrain.org/data/VFB/i/0010/1385/VFB_00101384/volume_man.obj'
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
'IsTemplate':False
|
|
167
173
|
}
|
|
168
174
|
```
|
|
169
175
|
Individual example:
|
|
@@ -300,6 +306,7 @@ vfb.get_term_info('VFB_00000001')
|
|
|
300
306
|
}
|
|
301
307
|
]
|
|
302
308
|
},
|
|
309
|
+
'output_format':'table',
|
|
303
310
|
'count':60
|
|
304
311
|
}
|
|
305
312
|
],
|
|
@@ -1056,6 +1063,15 @@ vfb.get_templates(return_dataframe=False)
|
|
|
1056
1063
|
}
|
|
1057
1064
|
},
|
|
1058
1065
|
'rows':[
|
|
1066
|
+
{
|
|
1067
|
+
'id':'VFB_00101567',
|
|
1068
|
+
'order':1,
|
|
1069
|
+
'name':'[JRC2018Unisex](VFB_00101567)',
|
|
1070
|
+
'tags':'Nervous_system|Adult',
|
|
1071
|
+
'thumbnail':"[](VFB_00101567)",
|
|
1072
|
+
'dataset':'[JRC 2018 templates & ROIs](JRC2018)',
|
|
1073
|
+
'license':'[CC-BY-NC-SA_4.0](VFBlicense_CC_BY_NC_SA_4_0)'
|
|
1074
|
+
},
|
|
1059
1075
|
{
|
|
1060
1076
|
'id':'VFB_00200000',
|
|
1061
1077
|
'order':2,
|
|
@@ -1066,30 +1082,12 @@ vfb.get_templates(return_dataframe=False)
|
|
|
1066
1082
|
'license':'[CC-BY-NC-SA_4.0](VFBlicense_CC_BY_NC_SA_4_0)'
|
|
1067
1083
|
},
|
|
1068
1084
|
{
|
|
1069
|
-
'id':'
|
|
1070
|
-
'order':
|
|
1071
|
-
'name':'[
|
|
1072
|
-
'tags':'Adult|Anatomy',
|
|
1073
|
-
'thumbnail':"[')](VFB_00120000)",
|
|
1074
|
-
'dataset':'[Millimeter-scale imaging of a Drosophila leg at single-neuron resolution](Kuan2020)',
|
|
1075
|
-
'license':'[CC-BY_4.0](VFBlicense_CC_BY_4_0)'
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
'id':'VFB_00110000',
|
|
1079
|
-
'order':9,
|
|
1080
|
-
'name':'[Adult Head (McKellar2020)](VFB_00110000)',
|
|
1081
|
-
'tags':'Adult|Anatomy',
|
|
1082
|
-
'thumbnail':"[')](VFB_00110000)",
|
|
1083
|
-
'dataset':'[Split-GAL4 lines from McKellar et al., 2020](McKellar2020)',
|
|
1084
|
-
'license':'[CC-BY-SA_4.0](VFBlicense_CC_BY_SA_4_0)'
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
'id':'VFB_00101567',
|
|
1088
|
-
'order':1,
|
|
1089
|
-
'name':'[JRC2018Unisex](VFB_00101567)',
|
|
1085
|
+
'id':'VFB_00017894',
|
|
1086
|
+
'order':3,
|
|
1087
|
+
'name':'[adult brain template JFRC2](VFB_00017894)',
|
|
1090
1088
|
'tags':'Nervous_system|Adult',
|
|
1091
|
-
'thumbnail':"[](VFB_00017894)",
|
|
1090
|
+
'dataset':'[FlyLight - GMR GAL4 collection (Jenett2012)](Jenett2012)',
|
|
1093
1091
|
'license':'[CC-BY-NC-SA_4.0](VFBlicense_CC_BY_NC_SA_4_0)'
|
|
1094
1092
|
},
|
|
1095
1093
|
{
|
|
@@ -1101,15 +1099,6 @@ vfb.get_templates(return_dataframe=False)
|
|
|
1101
1099
|
'dataset':'[JRC_FlyEM_Hemibrain painted domains](Xu2020roi)',
|
|
1102
1100
|
'license':'[CC-BY_4.0](VFBlicense_CC_BY_4_0)'
|
|
1103
1101
|
},
|
|
1104
|
-
{
|
|
1105
|
-
'id':'VFB_00100000',
|
|
1106
|
-
'order':7,
|
|
1107
|
-
'name':'[adult VNS template - Court2018](VFB_00100000)',
|
|
1108
|
-
'tags':'Nervous_system|Adult|Ganglion',
|
|
1109
|
-
'thumbnail':"[](VFB_00100000)",
|
|
1110
|
-
'dataset':'[Adult VNS neuropils (Court2017)](Court2017)',
|
|
1111
|
-
'license':'[CC-BY-SA_4.0](VFBlicense_CC_BY_SA_4_0)'
|
|
1112
|
-
},
|
|
1113
1102
|
{
|
|
1114
1103
|
'id':'VFB_00050000',
|
|
1115
1104
|
'order':5,
|
|
@@ -1137,6 +1126,15 @@ vfb.get_templates(return_dataframe=False)
|
|
|
1137
1126
|
'dataset':'[L3 Larval CNS Template (Truman2016)](Truman2016)',
|
|
1138
1127
|
'license':'[CC-BY-SA_4.0](VFBlicense_CC_BY_SA_4_0)'
|
|
1139
1128
|
},
|
|
1129
|
+
{
|
|
1130
|
+
'id':'VFB_00100000',
|
|
1131
|
+
'order':7,
|
|
1132
|
+
'name':'[adult VNS template - Court2018](VFB_00100000)',
|
|
1133
|
+
'tags':'Nervous_system|Adult|Ganglion',
|
|
1134
|
+
'thumbnail':"[](VFB_00100000)",
|
|
1135
|
+
'dataset':'[Adult VNS neuropils (Court2017)](Court2017)',
|
|
1136
|
+
'license':'[CC-BY-SA_4.0](VFBlicense_CC_BY_SA_4_0)'
|
|
1137
|
+
},
|
|
1140
1138
|
{
|
|
1141
1139
|
'id':'VFB_00030786',
|
|
1142
1140
|
'order':8,
|
|
@@ -1147,13 +1145,22 @@ vfb.get_templates(return_dataframe=False)
|
|
|
1147
1145
|
'license':'[CC-BY-SA_4.0](VFBlicense_CC_BY_SA_4_0)'
|
|
1148
1146
|
},
|
|
1149
1147
|
{
|
|
1150
|
-
'id':'
|
|
1151
|
-
'order':
|
|
1152
|
-
'name':'[
|
|
1153
|
-
'tags':'
|
|
1154
|
-
'thumbnail':"[',
|
|
1151
|
+
'tags':'Adult|Anatomy',
|
|
1152
|
+
'thumbnail':"[')](VFB_00110000)",
|
|
1153
|
+
'dataset':'[Split-GAL4 lines from McKellar et al., 2020](McKellar2020)',
|
|
1154
|
+
'license':'[CC-BY-SA_4.0](VFBlicense_CC_BY_SA_4_0)'
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
'id':'VFB_00120000',
|
|
1158
|
+
'order':10,
|
|
1159
|
+
'name':'[Adult T1 Leg (Kuan2020)](VFB_00120000)',
|
|
1160
|
+
'tags':'Adult|Anatomy',
|
|
1161
|
+
'thumbnail':"[')](VFB_00120000)",
|
|
1162
|
+
'dataset':'[Millimeter-scale imaging of a Drosophila leg at single-neuron resolution](Kuan2020)',
|
|
1163
|
+
'license':'[CC-BY_4.0](VFBlicense_CC_BY_4_0)'
|
|
1157
1164
|
}
|
|
1158
1165
|
],
|
|
1159
1166
|
'count':10
|