// This is need by blast tests. public Formatdb runInTempDir() throws ExecuteException { Formatdb formatdb = new Formatdb(); formatdb.setTitle("My_Awesome_Database"); URL url = Thread.currentThread().getContextClassLoader().getResource("formatdbTest/someSequences.fa"); formatdb.setInputFile(url.getPath()); formatdb.setBaseName("MADDB"); formatdb.setWorkingDirectory(System.getProperty("java.io.tmpdir")); formatdb.run(); return formatdb; }