Skip to content
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

[2Grp] add json example for fetching sample annotation in 2Gr #18

Open
cpanse opened this issue Oct 18, 2019 · 1 comment
Open

[2Grp] add json example for fetching sample annotation in 2Gr #18

cpanse opened this issue Oct 18, 2019 · 1 comment
Assignees

Comments

@cpanse
Copy link
Collaborator

cpanse commented Oct 18, 2019

No description provided.

@cpanse cpanse self-assigned this Oct 18, 2019
@cpanse
Copy link
Collaborator Author

cpanse commented Oct 18, 2019

cp@fgcz-148:~ > bfabric_read.py sample projectid 3003 && bfabric_read.py sample id 205417 && bfabric_read.py annotation id 549
--- webbase https://fgcz-bfabric.uzh.ch/bfabric; login; cpanse ---
bfabricPy version 0.10.7 (2019-09-03) -- "suds-py3"    
Copyright (C) 2019 Functional Genomics Center Zurich

--- query = {'projectid': '3003'} ---
--- possible attributes are: _id, created, createdby, modified, modifiedby, name, groupingvar, project, resource, samplingdate, species, type. ---
205417  jonas   2019-10-17 09:44:18.275000+02:00        ComboCourse_Glucose
205418  jonas   2019-10-17 09:44:43.010000+02:00        ComboCourse_EtOH
--- number of query result items = 2 ---
--- query time = 0.24 seconds ---
--- webbase https://fgcz-bfabric.uzh.ch/bfabric; login; cpanse ---
bfabricPy version 0.10.7 (2019-09-03) -- "suds-py3"    
Copyright (C) 2019 Functional Genomics Center Zurich

--- query = {'id': '205417'} ---
(xmlSample){
   _id = 205417
   created = 2019-10-17 09:44:18.275000+02:00
   createdby = "jonas"
   modified = 2019-10-17 09:44:18.275000+02:00
   modifiedby = "jonas"
   name = "ComboCourse_Glucose"
   groupingvar = 
      (xmlAnnotation){
         _id = 2499
      }
   project = 
      (xmlProject){
         _id = 3003
      }
   resource[] = 
      (xmlResource){
         _id = 1360703
      },
      (xmlResource){
         _id = 1360702
      },
      (xmlResource){
         _id = 1360701
      },
      (xmlResource){
         _id = 1360699
      },
   samplingdate = 2019-10-17 00:00:00+02:00
   species = 
      (xmlAnnotation){
         _id = 549
      }
   type = "Biological Sample - Proteomics"
 }
--- possible attributes are: _id, created, createdby, modified, modifiedby, name, groupingvar, project, resource, samplingdate, species, type. ---
205417  jonas   2019-10-17 09:44:18.275000+02:00        ComboCourse_Glucose
--- number of query result items = 1 ---
--- query time = 0.15 seconds ---
--- webbase https://fgcz-bfabric.uzh.ch/bfabric; login; cpanse ---
bfabricPy version 0.10.7 (2019-09-03) -- "suds-py3"    
Copyright (C) 2019 Functional Genomics Center Zurich

--- query = {'id': '549'} ---
(xmlAnnotation){
   _id = 549
   created = 2007-02-03 16:12:18.878000+01:00
   createdby = "system"
   modified = 2017-07-11 14:56:57.520000+02:00
   modifiedby = "admin"
   comment[] = 
      (xmlComment){
         _id = 5220
      },
   name = "Saccharomyces cerevisiae (bakers yeast)"
   common = True
   na = False
   released = True
   top = True
   type = "Species"
 }
--- possible attributes are: _id, created, createdby, modified, modifiedby, comment, name, common, na, released, top, type. ---
549     system  2017-07-11 14:56:57.520000+02:00        Saccharomyces cerevisiae (bakers yeast)
--- number of query result items = 1 ---
--- query time = 0.11 seconds ---

@wolski wolski changed the title add json example for fetching sample annotation in 2Gr [2Grp] add json example for fetching sample annotation in 2Gr Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant