Ejemplo n.º 1
0
  /** Test creating an analysis track, saving the session, and loading it */
  @Ignore("Not ready yet")
  @Test
  public void testSaveLoadPluginSession() throws Exception {
    String toolPath = "/usr/local/bin/bedtools";
    boolean haveTool = PluginSpecReader.isToolPathValid(toolPath);
    Assume.assumeTrue(haveTool);

    String sessionPath = TestUtils.DATA_DIR + "sessions/GSM_beds.xml";
    rewriteRestoreSession(sessionPath);

    String trackAname = "GSM1004654_100k.bed";
    String trackBname = "GSM1004654_10k.bed";

    // Generate bedtools subtraction track
    PluginSpecReader reader = PluginSpecReader.create(toolPath);
    PluginSpecReader.Tool tool = reader.getTools().get(0);
    PluginSpecReader.Command command =
        AbstractPluginTest.findCommandElementByName(tool, "Subtract");
  }