TMHMM note to self

This one is for those of you who have a local copy of TMHMM 2.0.

Two ways to get rid of those annoying empty “TMHMM_12345” directories created when tmhmm runs:

  1. Hack the tmhmm perl script so as the last line reads:
    system("rm -rf $opt_workdir/$wd") if(-e "$opt_workdir/$wd");
  2. Congratulate yourself for understanding that “TMHMM_$$” in the code uses the Perl special variable $PROCESS_ID.

  3. Read the code properly and realise that you can avoid all of the above using the “–noplot” option…