tests/nextflow-tests/java/FakeClusteringPipeline.java
import java.io.FileWriter;
import java.io.IOException;

public class FakeClusteringPipeline {
    
    public static void main(String[] args) {
        String outString = "java -jar clustering.jar";
        for (String arg: args) {
            outString += " " + arg;
        }
        System.out.println(outString);

        // real pipeline gets this from properties
	    String outFile1 =  System.getProperty("user.dir") + "/GCA_0000001_to_GCA_0000002_rs_report.txt";
        System.out.println(outFile1);

        try {
            FileWriter writer = new FileWriter(outFile1);
            writer.write("clustered variants\n");
            writer.close();
        } catch (IOException e) {
            e.printStackTrace();
	    }
    }

}
