-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Extraction: implement data fetching from KG #334
Comments
Working on adapting the WebUI to be able to read the format of KG |
The BluePyEfe software, used for the feature extraction, reads the following format: .abf, .smr, .igor, .txt (with metadata). By M12 we will implement a first version (dev) of the needed interface to fetch a subset of .abf files available on the KG, provided that these files have the needed requirements (step currents stimuli, .abf v2 files). |
This ticket will be probably postponed to M18 |
Postponed to M18 |
@lbologna Please do not forget to update this task with some more details |
That's done (in the main issue description). |
Are you aware that we are developing in SP5 a Python library for querying and fetching data from the KG? I suggest we have a video meeting to discuss the requirements. |
@apdavison no, I was not aware you were on it. Yes, for sure a call would be very useful. What about Thursday (23 May) or Friday (24 May) any time before 13? Thanks |
How about Friday 24th at 12 noon? |
Fine with us! Thanks. |
Update: the NAR ("Neural Activity Resource") library has now been released under the name "fairgraph" - https://github.com/HumanBrainProject/fairgraph (also available with |
@apdavison I have run the example (command line and notebook), but in the section An activity dataset with minimal metadata it does not find any dataset. Can you look into that and either fix it, or update README.md and the notebook? |
@apdavison For the 26 cells retrieved based on the brain region ("hippocampus CA1") I see no other metadata apart for the CellType and BrainRegion PatchedCell('hbp00011_Sub2_Samp4__ExpE8', CellType('hippocampus CA1 pyramidal cell', 'http://uri.neuinfo.org/nif/nifstd/sao830368389'), BrainRegion('hippocampus CA1', 'http://purl.obolibrary.org/obo/UBERON_0003881'), KGQuery(<class 'fairgraph.electrophysiology.PatchedCellCollection'>, {'path': 'prov:hadMember', 'op': 'in', 'value': ['https://nexus.humanbrainproject.org/v0/data/neuralactivity/experiment/patchedcell/v0.1.0/75c761ba-ce25-4659-aa2d-c4b6e2a417fc']}), https://nexus.humanbrainproject.org/v0/data/neuralactivity/experiment/patchedcell/v0.1.0/75c761ba-ce25-4659-aa2d-c4b6e2a417fc) Thanks. |
@alex4200 in the section An activity dataset with minimal metadata I get 29 datasets. |
If you know the cell id (either UUID or full URI) or the cell name, you can retrieve it with Using Can you tell me exactly what properties you need to filter on?
There are many other metadata attributes, see https://github.com/HumanBrainProject/fairgraph/blob/master/fairgraph/electrophysiology.py#L136 If information you need is missing, please let me know so we can add it! |
@alex4200 do you still get an empty list? If so, it may be a permissions problem. I presume you have an SGA2 accreditation? (https://collab.humanbrainproject.eu/#/me/accreditations) |
More than one filter would be needed. Thanks.
Can I retrieve cells based on the contributor name or the lab for example? |
Hi, |
@apdavison I have the SGA1 and SGA2 accreditation. I just tried the query again in a notebook and from the command line, but still get an empty list only. |
@apdavison thank you. It works for me but only up till the "Search based on cell type" cell.
IndexError Traceback (most recent call last) ----> 1 dataset = activity_datasets[-1] IndexError: list index out of range
AttributeError Traceback (most recent call last) AttributeError: 'NoneType' object has no attribute 'id' |
@apdavison Have you looked into this issue yet? |
I'm looking into it; waiting for some feedback from the KG team. |
Use Case Update
List of additional/changed features
Data filtering and selection for feature extraction will be performed on data stored in the HBP datasets through the KG.
Tasks
Acceptance Criteria
Extra Requirements
System
BluePyEfe modification will be needed for data currently not read by the tool
Performance
Additional performance requirements (if any) will be clarified after the first load tests
The text was updated successfully, but these errors were encountered: