Bio-Formats
OME at LOCI – Software – Bio-Formats — Command line tools

We have created several scripts for using Bio-Formats on the command line.


Installation

Download bftools.zip, unzip it into a new folder, then download loci_tools.jar and place it in the same folder.

The zip file contains both Unix scripts and Windows batch files. Currently available tools include:

All scripts require loci_tools.jar in the same directory as the command line tools.


Using the tools directly from source

If you have checked out the source from our Subversion repository you already have the command line tools in the tools directory. You can configure the scripts to use your source tree instead of loci_tools.jar in the same directory by following these steps:

  1. Point your CLASSPATH to the checked-out directory and the JAR files in the jar folder.
    • E.g., on Windows with Java 1.6 or later, if you have checked out the source at C:\code\loci, set your CLASSPATH environment variable to the value C:\code\loci\jar\*;C:\code\loci. You can access the environment variable configuration area by right-clicking on My Computer, choosing Properties, Advanced tab, Environment Variables button.
  2. Compile the source with ant dev-compile.
  3. Set the LOCI_DEVEL environment variable to any value. (The variable just needs to be defined.)



Last update: Wednesday, May 21, 2008