DNA Cell Cycle plugin from MBF Collection

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

DNA Cell Cycle plugin from MBF Collection

chin
This post was updated on .
Greetings!

There is a plugin named DNA_Cell_Cycle(both java and class files) which I obtained from MBF Collection
by Tony Collins. It seems a useful tool for cell cycle analysis. But while I tried to run this plugin on a
DAPI-stained image, an exception popped up:

ImageJ 1.48s; Java 1.6.0_20 [64-bit]......
 java.lang.NullPointerException
        at DNA_Cell_Cycle.run(DNA_Cell_Cycle.java:85)
        at ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:262)
        at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:111)
        at ij.IJ.runUserPlugIn(IJ.java:201)
        at ij.IJ.runUserPlugIn(IJ.java:210)
        at ij.IJ.runPlugIn(IJ.java:163)
        at ij.Executer.runCommand(Executer.java:131)
        at ij.Executer.run(Executer.java:64)
        at java.lang.Thread.run(Thread.java:619)

The exception also showed when ran it on Fiji:

(Fiji Is Just) ImageJ 1.48o; Java 1.6.0_24 [64-bit......
java.lang.NullPointerException
        at DNA_Cell_Cycle.run(DNA_Cell_Cycle.java:85)
        at ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:262)
        at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:111)
        at ij.IJ.runUserPlugIn(IJ.java:198)
        at ij.IJ.runPlugIn(IJ.java:160)
        at ij.Executer.runCommand(Executer.java:131)
        at ij.Executer.run(Executer.java:64)
        at java.lang.Thread.run(Thread.java:662)

I have no idea how to use this plugin or the plugin needs to be done some modification. It is likely the
only plugin related to cell cycle analysis of Imagej. Is there any experts colud have a look at this plugin?

Thanks in advance.

chin

The download link:
https://www.mediafire.com/?az7kd59falw8m6z



Reply | Threaded
Open this post in threaded view
|

Re: DNA Cell Cycle plugin from MBF Collection

dscho
Hi chin,

On Sun, 16 Mar 2014, chin wrote:

> There is a plugin named DNA_Cell_Cycle(both java and class files) which
> I obtained from MBF Collection by Tony Collins. It seems a useful tool
> for cell cycle analysis. But while I tried to run this plugin on a
> DAPI-stained image, an exception popped up:
>
> ImageJ 1.48s; Java 1.6.0_20 [64-bit]......
>  java.lang.NullPointerException
> at DNA_Cell_Cycle.run(DNA_Cell_Cycle.java:85)

The respective line reads like this:

        Rectangle r = imp.getRoi().getBoundingRect();

Since there is a call to imp.getMask() above, "imp" cannot be null, but it
means that getRoi() returns null.

Now, Wayne Rasband tries very hard to keep ImageJ 1.x releases
backwards-compatible, but in particular the MBF plugins have been the
subject of quite a few breakages due to changes in ImageJ 1.x. In Fiji, we
include a few of the MBF plugins and aim to ensure that they work with
newer ImageJ 1.x versions, too, sometimes regression fixes are required.
The DNA Cell Cycle plugin is not among these plugins, I am sorry to inform
you.

The safest thing would therefore be to test whether the plugin works when
you run it in the ImageJ version that was current when it was released.
From the time stamp in http://imagej.net/plugins/mbf/mbf-plugins.zip --
2009-09-04 10:28 -- it looks as if 1.43f (from 24 August 2009) is that
version.

Unfortunately, this version predates the work done by Curtis Rueden and
myself to put ImageJ 1.x into the standardized Maven format. So I rebuilt
this version and attached the .jar file here:

        https://github.com/imagej/ImageJA/releases/tag/v1.43f

(There is ij-1.43f.jar, the source .zip and the source .tar.gz file; you
will want the ij-1.43f.jar file)

Can you test whether that works for you?

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: DNA Cell Cycle plugin from MBF Collection

chin
This post was updated on .
Hi Johannes,

Thank you for pointing the keyword "imp.getMask()..." about the syntax of this plugin. I am ignorant of
java programming, though, I tried to change the steps according to the hint you wrote. After thresholding
and analyzing particles to ROI manager, the DNA Cell Cycle plugin works.

It works on both the latest version of Imagj and Fiji. The exception resulted from my impetuous action.
Anyway, thank you again for your reply.

best,
chin
 
ps. Please someone tell the usage tips on this plugin if you have experienced this plugin. Thanks!