Search in sources :

Example 1 with RepeatMasker

use of com.hartwig.pipeline.calling.structural.gridss.stage.RepeatMasker in project pipeline5 by hartwigmedical.

the class Gridss method gridssCommands.

private List<BashCommand> gridssCommands(final Driver driver, final String sampleName) {
    SubStageInputOutput unfilteredVcfOutput = driver.andThen(new RepeatMasker()).andThen(new GridssAnnotation(resourceFiles, false)).apply(SubStageInputOutput.empty(sampleName));
    unfilteredVcf = unfilteredVcfOutput.outputFile().path();
    List<BashCommand> commands = new ArrayList<>();
    commands.add(new ExportPathCommand(new BwaCommand()));
    commands.add(new ExportPathCommand(new SamtoolsCommand()));
    commands.addAll(unfilteredVcfOutput.bash());
    return commands;
}
Also used : BwaCommand(com.hartwig.pipeline.calling.command.BwaCommand) ExportPathCommand(com.hartwig.pipeline.execution.vm.unix.ExportPathCommand) SamtoolsCommand(com.hartwig.pipeline.calling.command.SamtoolsCommand) BashCommand(com.hartwig.pipeline.execution.vm.BashCommand) ArrayList(java.util.ArrayList) SubStageInputOutput(com.hartwig.pipeline.stages.SubStageInputOutput) RepeatMasker(com.hartwig.pipeline.calling.structural.gridss.stage.RepeatMasker) GridssAnnotation(com.hartwig.pipeline.calling.structural.gridss.stage.GridssAnnotation)

Aggregations

BwaCommand (com.hartwig.pipeline.calling.command.BwaCommand)1 SamtoolsCommand (com.hartwig.pipeline.calling.command.SamtoolsCommand)1 GridssAnnotation (com.hartwig.pipeline.calling.structural.gridss.stage.GridssAnnotation)1 RepeatMasker (com.hartwig.pipeline.calling.structural.gridss.stage.RepeatMasker)1 BashCommand (com.hartwig.pipeline.execution.vm.BashCommand)1 ExportPathCommand (com.hartwig.pipeline.execution.vm.unix.ExportPathCommand)1 SubStageInputOutput (com.hartwig.pipeline.stages.SubStageInputOutput)1 ArrayList (java.util.ArrayList)1