[Chimera-users] Segger : command line

Tom Goddard goddard at sonic.net
Thu Jan 23 18:51:10 PST 2014


There is no Chimera command to run Segger so you would need to use Python code to automate it on a set of volumes.  The Segger Python code is very messy so this will be difficult.  If you are an experienced Python programmer then your aim would be to write a Python script that runs within Chimera opens the first map, creates a Segmentation instance from the class defined in

	chimera/share/Segger/regions.py

calls the smooth_and_group(steps, sdev) method, and writes out the resulting segmentation with the write_segmentation() routine in

	chimera/share/Segger/segfile.py

or the writing could be done with the Chimera "segment" command to export a mask file

	http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/segment.html

The Segger code is complicated with lots of code that was testing experimental features, so if you are not an experienced Python programmer I'm afraid it will not be possible to automate processing using it.

It would be nice if the Chimera segment command let you run the Segger algorithm -- then your processing of many maps would be much easier.  We will keep that in mind for the next generation of Chimera which we are currently working on.

	Tom


On Jan 23, 2014, at 5:04 AM, wrote:

> Hi,
>  
> I would like to automate watershed segmentation (Segger) on a set of volumes. Given that I have the details on the volume threshold, number of smoothing steps and minimum voxels in each region, is there a way to automate segmentation with different parameter inputs?
>  
> Many Thanks.
> 
> -- 
> Scanned by iCritical.
> 
> 
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20140123/ffbb30fb/attachment.html>


More information about the Chimera-users mailing list