Autarchy of the Private Cave

Tiny bits of bioinformatics, [web-]programming etc

    Using Python in a Java project

    17th May 2011

    If you are a Python zealot, and Java doesn’t feel right, but the project you are working on is a Java project – try

    • Jython – Python for the Java platform, compile your python scripts into Java bytecode
    • Groovy – not Python, but still a scripting language which compiles to jars
    Share

    Posted in Links, Movies, Programming, Python | No Comments »

    CLANS: CLuster ANalysis of Sequences

    25th October 2008

    CLANS (CLuster ANalysis of Sequences).
    Read the rest of this entry »

    Share

    Posted in Bioinformatics, Links, Science | No Comments »

    Installing libsbml on Debian (to make iBioSim start)

    30th August 2008

    There’s a troubleshooter for Ubuntu, which (expectedly) works quite the same for Debian (lenny in my case).

    I’m installing libsbml to make the iBioSim tool work under Debian GNU/Linux. First thing I had to do was to make Sun’s java interpreter do all the java interpretation work instead of gcj: sudo update-java-alternatives -s java-6-sun (this assumes you do have java-6-sun installed).

    Installing libsbml moved me one step further, now I’m getting another error from iBioSim:

    Exception in thread "main" java.lang.NoClassDefFoundError: biomodelsim/BioSim
    Caused by: java.lang.ClassNotFoundException: biomodelsim.BioSim
            at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    

    This yet has to be fixed somehow.

    If Zhou Xin’s blog becomes for any reason inaccessible (or moves to his own domain), below is the extract of the instructions from his post on how to install libsbml on Debian/Ubuntu Linux:
    Read the rest of this entry »

    Share

    Posted in *nix, Links, Science, Software, Systems Biology | 3 Comments »