retrieve data from file annotation
Posted: Thu Jul 03, 2014 6:04 am
Hi,
I was wondering what would be the best way of reading numeric data from a file annotation (csv, columns of numbers) on an Omero server via a script. So, the file is uploaded to the server and the script accesses the data in that file. I would like to work purely in Python (omero-csv-tools seems to do something similar but in Java) and I assumed I could use the BlitzGateway connection. I very naively thought I could get the path on the server to the original file and then give that to something like numpy.genfromtxt ...
We are in the process of getting our Omero server up and running within a cloud service which is going to be backed up with some hefty resources so I am looking at running some analysis inside the server (both image and purely numeric data which is annotated to images). Ideally I would like to turn files of columnar numeric data into Omero.tables on import but it seems like this needs to be done in two steps - annotate an image first and then convert some/all the data in the file to HDF5?
Many thanks in advance for any pointers!
Cheers,
Dan.
I was wondering what would be the best way of reading numeric data from a file annotation (csv, columns of numbers) on an Omero server via a script. So, the file is uploaded to the server and the script accesses the data in that file. I would like to work purely in Python (omero-csv-tools seems to do something similar but in Java) and I assumed I could use the BlitzGateway connection. I very naively thought I could get the path on the server to the original file and then give that to something like numpy.genfromtxt ...
We are in the process of getting our Omero server up and running within a cloud service which is going to be backed up with some hefty resources so I am looking at running some analysis inside the server (both image and purely numeric data which is annotated to images). Ideally I would like to turn files of columnar numeric data into Omero.tables on import but it seems like this needs to be done in two steps - annotate an image first and then convert some/all the data in the file to HDF5?
Many thanks in advance for any pointers!
Cheers,
Dan.