Skip to content

Commit

Permalink
analysis: minor changes in RvTests analysis #125
Browse files Browse the repository at this point in the history
  • Loading branch information
jtarraga committed Sep 19, 2017
1 parent 360b56d commit b9d862a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
/**
* Created by joaquin on 1/19/17.
*/
//public class RvTestsWrapper extends AnalysisExecutor implements Serializable {
public class RvTestsWrapper extends VariantAnalysisWrapper { // extends AnalysisExecutor implements Serializable {
public class RvTestsWrapper extends VariantAnalysisWrapper {
private String inFilename;
private String metaFilename;
private FilterParameters filterParams;
Expand All @@ -33,12 +32,12 @@ public RvTestsWrapper(String studyId, String inFilename, String metaFilename,
this.filterParams = filterParams;
this.rvtestsParams = rvtestsParams;

this.logger = LoggerFactory.getLogger(PlinkWrapper.class);
this.logger = LoggerFactory.getLogger(RvTestsWrapper.class);
}

@Override
public void execute() throws AnalysisExecutorException {
// Sanity chek
// Sanity check
if (binPath == null || !binPath.toFile().exists()) {
String msg = "RvTests binary path is missing or does not exist: '" + binPath + "'.";
logger.error(msg);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public void skat() {
commandLine.append(" variant rvtests");
commandLine.append(" --log-level ERROR");
commandLine.append(" --dataset ").append(datasetName);
commandLine.append(" --rvtest-path ../../../soft/rvtests/executable/rvtest");
commandLine.append(" -i ").append(avroPath);
commandLine.append(" --rvtests-path ../../../soft/rvtests/executable/rvtest");
commandLine.append(" -Dsingle=wald");
commandLine.append(" -Dout=/tmp/out.wald");
VariantQueryCLITest.execute(commandLine.toString());
Expand Down

0 comments on commit b9d862a

Please sign in to comment.