[Biojava-l] Static Methods Classes

Thomas Down td2@sanger.ac.uk
Tue, 27 Mar 2001 10:38:36 +0100


On Tue, Mar 27, 2001 at 08:41:43AM +1200, Schreiber, Mark wrote:
> Hi,
> 
> I have noticed that biojava does not have many methods type classes for
> common actions such as calculating GC or KL distance (relative entropy).
> 
> Is this a design decision? If not could I propose that some classes be made
> with static methods that can be added to by anyone for doing such standard
> calculations. For example I have been doing some calculations of KL Distance
> which could be a static method for a methods class in the Distribution
> package. DistributionMethods seems an intuitive name. Other classes could be
> added to other packages as needed. I also have some methods I designed for
> codon usage analysis in the dark ages before biojava which I may be able to
> biojavarize.

No, there's certainly no design decision against this kind of
code -- anything that looks useful goes.  If you want this kind
of routine, feel free to submit some code.

DistributionMethods is fine.  We also have some FooTools classes
in various places, so maybe DistributionTools is a possible alternative.

Happy hacking,

   Thomas.