Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #1846 (closed)

Opened 14 years ago

Closed 14 years ago

Upload an EMAN2 bdb layer to OMERO

Reported by: wmoore Owned by: wmoore
Priority: n.a. Milestone: OMERO-Beta4.2
Component: n.a. Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-02-19 (3)

Description (last modified by wmoore)

This would have to be a local running script (not scripting service) that parsed a directory of a bdb and uploaded all the images to a new OMERO dataset, putting all the attributes of each image in an original metadata file.

This code may be based on the e2proc2d.py script described here http://blake.bcm.edu/emanwiki/Eman2DataStorage

Command usage:

wjm:EMAN-export will$ e2proc3d.py bdb:/Users/will/Documents/EM-data/EMAN2-tutorial/eman_demo/raw_data/particles#1160_ptcls particles.mrc
the images are 2D - I will now make a 3D image out of the 2D images
331 images, processing 0-330......
wjm:EMAN-export will$ e2proc2d.py bdb:/Users/will/Documents/EM-data/EMAN2-tutorial/eman_demo/raw_data/particles#1160_ptcls particles2d.spi
331 images, processing 0-330
331 images
wjm:EMAN-export will$ 

Both these command above output all the image planes in the 1160_ptcls bdb into a single image.

NB. If you use e2proc2d.py command and specify output as particles.mrc, then you only get a single plane, since mrc is considered a 3d format (need e2proc3d.py). But spi is considered a stack of 2d planes, so it is OK to use the e2proc2d.py to put multiple planes in this format!

Change History (6)

comment:1 Changed 14 years ago by wmoore

  • Status changed from new to assigned

comment:2 Changed 14 years ago by wmoore

  • Description modified (diff)

comment:3 Changed 14 years ago by wmoore

r6162 Script mostly working but rendering not working. E.g. min: -3.42475 max: 3.57214
Image looks black in Insight, but rendering doesn't work.

comment:4 Changed 14 years ago by wmoore

  • Remaining Time changed from 2 to 0.5

comment:5 Changed 14 years ago by wmoore

r6163 Import metadata.
r6168 Cleaning up a bit.

comment:6 Changed 14 years ago by wmoore

  • Remaining Time changed from 0.5 to 0
  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.68043 sec.)

We're Hiring!