Search in sources :

Example 1 with FlagstatOutput

use of com.hartwig.pipeline.flagstat.FlagstatOutput in project pipeline5 by hartwigmedical.

the class SingleSamplePipeline method run.

public PipelineState run(final SingleSampleRunMetadata metadata) throws Exception {
    LOGGER.info("Pipeline5 single sample pipeline starting for sample name [{}] with id [{}] {}", metadata.sampleName(), metadata.barcode(), arguments.runId().map(runId -> String.format("using run tag [%s]", runId)).orElse(""));
    PipelineState state = new PipelineState();
    final ResourceFiles resourceFiles = buildResourceFiles(arguments);
    AlignmentOutput alignmentOutput = convertCramsIfNecessary(arguments, metadata, state);
    eventListener.alignmentComplete(alignmentOutput);
    if (state.shouldProceed()) {
        Future<BamMetricsOutput> bamMetricsFuture = executorService.submit(() -> stageRunner.run(metadata, new BamMetrics(resourceFiles, alignmentOutput, persistedDataset, arguments)));
        Future<SnpGenotypeOutput> unifiedGenotyperFuture = executorService.submit(() -> stageRunner.run(metadata, new SnpGenotype(resourceFiles, alignmentOutput)));
        Future<FlagstatOutput> flagstatOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new Flagstat(alignmentOutput, persistedDataset)));
        Future<CramOutput> cramOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new CramConversion(alignmentOutput, metadata.type(), resourceFiles)));
        if (metadata.type().equals(SingleSampleRunMetadata.SampleType.REFERENCE)) {
            Future<GermlineCallerOutput> germlineCallerFuture = executorService.submit(() -> stageRunner.run(metadata, new GermlineCaller(alignmentOutput, resourceFiles, persistedDataset)));
            GermlineCallerOutput germlineCallerOutput = futurePayload(germlineCallerFuture);
            germlineCallerOutputQueue.put(germlineCallerOutput);
            report.add(state.add(germlineCallerOutput));
        }
        BamMetricsOutput bamMetricsOutput = futurePayload(bamMetricsFuture);
        metricsOutputQueue.put(bamMetricsOutput);
        FlagstatOutput flagstatOutput = futurePayload(flagstatOutputFuture);
        flagstatOutputQueue.put(flagstatOutput);
        report.add(state.add(bamMetricsOutput));
        report.add(state.add(futurePayload(unifiedGenotyperFuture)));
        report.add(state.add(flagstatOutput));
        report.add(state.add(futurePayload(cramOutputFuture)));
        report.compose(metadata, "SingleSample");
        eventListener.complete(state);
    }
    return state;
}
Also used : GermlineCallerOutput(com.hartwig.pipeline.calling.germline.GermlineCallerOutput) GermlineCaller(com.hartwig.pipeline.calling.germline.GermlineCaller) SnpGenotypeOutput(com.hartwig.pipeline.snpgenotype.SnpGenotypeOutput) ResourceFilesFactory.buildResourceFiles(com.hartwig.pipeline.resource.ResourceFilesFactory.buildResourceFiles) ResourceFiles(com.hartwig.pipeline.resource.ResourceFiles) AlignmentOutput(com.hartwig.pipeline.alignment.AlignmentOutput) Flagstat(com.hartwig.pipeline.flagstat.Flagstat) BamMetrics(com.hartwig.pipeline.metrics.BamMetrics) SnpGenotype(com.hartwig.pipeline.snpgenotype.SnpGenotype) FlagstatOutput(com.hartwig.pipeline.flagstat.FlagstatOutput) BamMetricsOutput(com.hartwig.pipeline.metrics.BamMetricsOutput) CramOutput(com.hartwig.pipeline.cram.CramOutput) CramConversion(com.hartwig.pipeline.cram.CramConversion)

Example 2 with FlagstatOutput

use of com.hartwig.pipeline.flagstat.FlagstatOutput in project pipeline5 by hartwigmedical.

the class PipelineMain method start.

public PipelineState start(final Arguments arguments) {
    LOGGER.info("Arguments are [{}]", arguments);
    Versions.printAll();
    try {
        GoogleCredentials credentials = CredentialProvider.from(arguments).get();
        Storage storage = StorageProvider.from(arguments, credentials).get();
        Publisher turquoisePublisher = PublisherProvider.from(arguments, credentials).get("turquoise.events");
        Publisher pipelinePublisher = PublisherProvider.from(arguments, credentials).get(PipelineComplete.TOPIC);
        SomaticMetadataApi somaticMetadataApi = SomaticMetadataApiProvider.from(arguments, storage, pipelinePublisher).get();
        SingleSampleEventListener referenceEventListener = new SingleSampleEventListener();
        SingleSampleEventListener tumorEventListener = new SingleSampleEventListener();
        SomaticRunMetadata somaticRunMetadata = somaticMetadataApi.get();
        InputMode mode = new ModeResolver().apply(somaticRunMetadata);
        LOGGER.info("Starting pipeline in [{}] mode", mode);
        String ini = somaticRunMetadata.isSingleSample() ? "single_sample" : arguments.shallow() ? "shallow" : "somatic";
        PipelineProperties eventSubjects = PipelineProperties.builder().sample(somaticRunMetadata.maybeTumor().map(SingleSampleRunMetadata::sampleName).orElseGet(() -> somaticRunMetadata.reference().sampleName())).runId(arguments.sbpApiRunId()).set(somaticRunMetadata.set()).referenceBarcode(somaticRunMetadata.maybeReference().map(SingleSampleRunMetadata::barcode)).tumorBarcode(somaticRunMetadata.maybeTumor().map(SingleSampleRunMetadata::barcode)).type(ini).build();
        somaticMetadataApi.start();
        startedEvent(eventSubjects, turquoisePublisher, arguments.publishToTurquoise());
        BlockingQueue<BamMetricsOutput> referenceBamMetricsOutputQueue = new ArrayBlockingQueue<>(1);
        BlockingQueue<BamMetricsOutput> tumorBamMetricsOutputQueue = new ArrayBlockingQueue<>(1);
        BlockingQueue<FlagstatOutput> referenceFlagstatOutputQueue = new ArrayBlockingQueue<>(1);
        BlockingQueue<FlagstatOutput> tumorFlagstatOutputQueue = new ArrayBlockingQueue<>(1);
        BlockingQueue<GermlineCallerOutput> germlineCallerOutputQueue = new ArrayBlockingQueue<>(1);
        StartingPoint startingPoint = new StartingPoint(arguments);
        PersistedDataset persistedDataset = arguments.biopsy().<PersistedDataset>map(b -> new ApiPersistedDataset(SbpRestApi.newInstance(arguments.sbpApiUrl()), ObjectMappers.get(), b, arguments.project())).orElse(new NoopPersistedDataset());
        PipelineState state = new FullPipeline(singleSamplePipeline(arguments, credentials, storage, referenceEventListener, somaticRunMetadata, referenceBamMetricsOutputQueue, germlineCallerOutputQueue, referenceFlagstatOutputQueue, startingPoint, persistedDataset, mode), singleSamplePipeline(arguments, credentials, storage, tumorEventListener, somaticRunMetadata, tumorBamMetricsOutputQueue, germlineCallerOutputQueue, tumorFlagstatOutputQueue, startingPoint, persistedDataset, mode), somaticPipeline(arguments, credentials, storage, somaticRunMetadata, referenceBamMetricsOutputQueue, tumorBamMetricsOutputQueue, referenceFlagstatOutputQueue, tumorFlagstatOutputQueue, startingPoint, persistedDataset, mode), Executors.newCachedThreadPool(), referenceEventListener, tumorEventListener, somaticMetadataApi, CleanupProvider.from(arguments, storage).get()).run();
        completedEvent(eventSubjects, turquoisePublisher, state.status().toString(), arguments.publishToTurquoise());
        VmExecutionLogSummary.ofFailedStages(storage, state);
        return state;
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
}
Also used : InputMode(com.hartwig.pipeline.metadata.InputMode) PublisherProvider(com.hartwig.pipeline.pubsub.PublisherProvider) PipelineProperties(com.hartwig.pipeline.turquoise.PipelineProperties) StorageProvider(com.hartwig.pipeline.storage.StorageProvider) SbpRestApi(com.hartwig.pipeline.sbpapi.SbpRestApi) LoggerFactory(org.slf4j.LoggerFactory) SomaticMetadataApiProvider(com.hartwig.pipeline.metadata.SomaticMetadataApiProvider) PipelineResultsProvider(com.hartwig.pipeline.report.PipelineResultsProvider) Versions(com.hartwig.pipeline.tools.Versions) PipelineCompleted(com.hartwig.pipeline.turquoise.PipelineCompleted) ApiPersistedDataset(com.hartwig.pipeline.reruns.ApiPersistedDataset) Publisher(com.google.cloud.pubsub.v1.Publisher) InputMode(com.hartwig.pipeline.metadata.InputMode) PipelineStatus(com.hartwig.pipeline.execution.PipelineStatus) CleanupProvider(com.hartwig.pipeline.cleanup.CleanupProvider) ModeResolver(com.hartwig.pipeline.metadata.ModeResolver) PersistedDataset(com.hartwig.pipeline.reruns.PersistedDataset) TurquoiseEvent(com.hartwig.pipeline.turquoise.TurquoiseEvent) SomaticMetadataApi(com.hartwig.pipeline.metadata.SomaticMetadataApi) Logger(org.slf4j.Logger) GoogleCredentials(com.google.auth.oauth2.GoogleCredentials) StageRunner(com.hartwig.pipeline.stages.StageRunner) StartingPoint(com.hartwig.pipeline.reruns.StartingPoint) FlagstatOutput(com.hartwig.pipeline.flagstat.FlagstatOutput) PipelineComplete(com.hartwig.events.PipelineComplete) GoogleComputeEngine(com.hartwig.pipeline.execution.vm.GoogleComputeEngine) BlockingQueue(java.util.concurrent.BlockingQueue) NoopPersistedDataset(com.hartwig.pipeline.reruns.NoopPersistedDataset) AlignerProvider(com.hartwig.pipeline.alignment.AlignerProvider) SingleSampleEventListener(com.hartwig.pipeline.metadata.SingleSampleEventListener) Executors(java.util.concurrent.Executors) PipelineStarted(com.hartwig.pipeline.turquoise.PipelineStarted) ArrayBlockingQueue(java.util.concurrent.ArrayBlockingQueue) GermlineCallerOutput(com.hartwig.pipeline.calling.germline.GermlineCallerOutput) BamMetricsOutput(com.hartwig.pipeline.metrics.BamMetricsOutput) SomaticRunMetadata(com.hartwig.pipeline.metadata.SomaticRunMetadata) VmExecutionLogSummary(com.hartwig.pipeline.report.VmExecutionLogSummary) ObjectMappers(com.hartwig.pipeline.jackson.ObjectMappers) ParseException(org.apache.commons.cli.ParseException) SingleSampleRunMetadata(com.hartwig.pipeline.metadata.SingleSampleRunMetadata) Storage(com.google.cloud.storage.Storage) CredentialProvider(com.hartwig.pipeline.credentials.CredentialProvider) Labels(com.hartwig.pipeline.labels.Labels) ApiPersistedDataset(com.hartwig.pipeline.reruns.ApiPersistedDataset) GermlineCallerOutput(com.hartwig.pipeline.calling.germline.GermlineCallerOutput) SingleSampleEventListener(com.hartwig.pipeline.metadata.SingleSampleEventListener) ArrayBlockingQueue(java.util.concurrent.ArrayBlockingQueue) SingleSampleRunMetadata(com.hartwig.pipeline.metadata.SingleSampleRunMetadata) GoogleCredentials(com.google.auth.oauth2.GoogleCredentials) FlagstatOutput(com.hartwig.pipeline.flagstat.FlagstatOutput) BamMetricsOutput(com.hartwig.pipeline.metrics.BamMetricsOutput) SomaticRunMetadata(com.hartwig.pipeline.metadata.SomaticRunMetadata) ModeResolver(com.hartwig.pipeline.metadata.ModeResolver) Publisher(com.google.cloud.pubsub.v1.Publisher) ParseException(org.apache.commons.cli.ParseException) StartingPoint(com.hartwig.pipeline.reruns.StartingPoint) Storage(com.google.cloud.storage.Storage) SomaticMetadataApi(com.hartwig.pipeline.metadata.SomaticMetadataApi) PipelineProperties(com.hartwig.pipeline.turquoise.PipelineProperties) ApiPersistedDataset(com.hartwig.pipeline.reruns.ApiPersistedDataset) PersistedDataset(com.hartwig.pipeline.reruns.PersistedDataset) NoopPersistedDataset(com.hartwig.pipeline.reruns.NoopPersistedDataset) NoopPersistedDataset(com.hartwig.pipeline.reruns.NoopPersistedDataset)

Example 3 with FlagstatOutput

use of com.hartwig.pipeline.flagstat.FlagstatOutput in project pipeline5 by hartwigmedical.

the class SomaticPipeline method run.

public PipelineState run(final AlignmentPair pair) {
    PipelineState state = new PipelineState();
    LOGGER.info("Pipeline5 somatic pipeline starting for set [{}]", metadata.set());
    final ResourceFiles resourceFiles = buildResourceFiles(arguments);
    try {
        Future<AmberOutput> amberOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new Amber(pair, resourceFiles, persistedDataset, arguments)));
        Future<CobaltOutput> cobaltOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new Cobalt(pair, resourceFiles, persistedDataset, arguments)));
        Future<SageOutput> sageSomaticOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new SageSomaticCaller(pair, persistedDataset, resourceFiles, arguments)));
        Future<SageOutput> sageGermlineOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new SageGermlineCaller(pair, persistedDataset, resourceFiles)));
        Future<GridssOutput> structuralCallerOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new Gridss(pair, resourceFiles, persistedDataset)));
        SageOutput sageSomaticOutput = pipelineResults.add(state.add(sageSomaticOutputFuture.get()));
        SageOutput sageGermlineOutput = pipelineResults.add(state.add(sageGermlineOutputFuture.get()));
        AmberOutput amberOutput = pipelineResults.add(state.add(amberOutputFuture.get()));
        CobaltOutput cobaltOutput = pipelineResults.add(state.add(cobaltOutputFuture.get()));
        GridssOutput structuralCallerOutput = pipelineResults.add(state.add(structuralCallerOutputFuture.get()));
        if (state.shouldProceed()) {
            Future<PaveOutput> paveSomaticOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new PaveSomatic(resourceFiles, sageSomaticOutput, persistedDataset)));
            Future<PaveOutput> paveGermlineOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new PaveGermline(resourceFiles, sageGermlineOutput, persistedDataset)));
            PaveOutput paveSomaticOutput = pipelineResults.add(state.add(paveSomaticOutputFuture.get()));
            PaveOutput paveGermlineOutput = pipelineResults.add(state.add(paveGermlineOutputFuture.get()));
            Future<GripssOutput> gripssSomaticOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new GripssSomatic(structuralCallerOutput, persistedDataset, resourceFiles)));
            Future<GripssOutput> gripssGermlineOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new GripssGermline(structuralCallerOutput, persistedDataset, resourceFiles)));
            GripssOutput gripssSomaticProcessOutput = pipelineResults.add(state.add(gripssSomaticOutputFuture.get()));
            GripssOutput gripssGermlineProcessOutput = pipelineResults.add(state.add(gripssGermlineOutputFuture.get()));
            if (state.shouldProceed()) {
                Future<PurpleOutput> purpleOutputFuture = executorService.submit(() -> pipelineResults.add(state.add(stageRunner.run(metadata, new Purple(resourceFiles, paveSomaticOutput, paveGermlineOutput, metadata.maybeTumor().map(t -> gripssSomaticProcessOutput).orElse(gripssGermlineProcessOutput), amberOutput, cobaltOutput, persistedDataset, arguments)))));
                PurpleOutput purpleOutput = purpleOutputFuture.get();
                if (state.shouldProceed()) {
                    BamMetricsOutput tumorMetrics = metadata.maybeTumor().map(t -> pollOrThrow(tumorBamMetricsOutputQueue, "tumor metrics")).orElse(skippedMetrics(metadata.sampleName()));
                    BamMetricsOutput referenceMetrics = metadata.maybeReference().map(t -> pollOrThrow(referenceBamMetricsOutputQueue, "reference metrics")).orElse(skippedMetrics(metadata.sampleName()));
                    FlagstatOutput tumorFlagstat = metadata.maybeTumor().map(t -> pollOrThrow(tumorFlagstatOutputQueue, "tumor flagstat")).orElse(skippedFlagstat(metadata.sampleName()));
                    FlagstatOutput referenceFlagstat = metadata.maybeReference().map(t -> pollOrThrow(referenceFlagstatOutputQueue, "reference flagstat")).orElse(skippedFlagstat(metadata.sampleName()));
                    Future<VirusOutput> virusOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new VirusAnalysis(pair, resourceFiles, persistedDataset, purpleOutput, tumorMetrics)));
                    Future<HealthCheckOutput> healthCheckOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new HealthChecker(referenceMetrics, tumorMetrics, referenceFlagstat, tumorFlagstat, purpleOutput)));
                    Future<LinxSomaticOutput> linxSomaticOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new LinxSomatic(purpleOutput, resourceFiles, persistedDataset)));
                    Future<LinxGermlineOutput> linxGermlineOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new LinxGermline(gripssGermlineProcessOutput, resourceFiles, persistedDataset)));
                    Future<LilacOutput> lilacOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new Lilac(pair, resourceFiles, purpleOutput)));
                    Future<SigsOutput> signatureOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new Sigs(purpleOutput, resourceFiles)));
                    Future<ChordOutput> chordOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new Chord(arguments.refGenomeVersion(), purpleOutput, persistedDataset)));
                    pipelineResults.add(state.add(healthCheckOutputFuture.get()));
                    LinxSomaticOutput linxSomaticOutput = pipelineResults.add(state.add(linxSomaticOutputFuture.get()));
                    pipelineResults.add(state.add(linxGermlineOutputFuture.get()));
                    pipelineResults.add(state.add(lilacOutputFuture.get()));
                    Future<CuppaOutput> cuppaOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new Cuppa(purpleOutput, linxSomaticOutput, resourceFiles, persistedDataset)));
                    Future<PeachOutput> peachOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new Peach(purpleOutput, resourceFiles, persistedDataset)));
                    VirusOutput virusOutput = pipelineResults.add(state.add(virusOutputFuture.get()));
                    ChordOutput chordOutput = pipelineResults.add(state.add(chordOutputFuture.get()));
                    CuppaOutput cuppaOutput = pipelineResults.add(state.add(cuppaOutputFuture.get()));
                    PeachOutput peachOutput = pipelineResults.add(state.add(peachOutputFuture.get()));
                    ProtectOutput protectOutput = pipelineResults.add(state.add(executorService.submit(() -> stageRunner.run(metadata, new Protect(purpleOutput, linxSomaticOutput, virusOutput, chordOutput, resourceFiles, persistedDataset))).get()));
                    Future<OrangeOutput> orangeOutputFuture = executorService.submit(() -> stageRunner.run(metadata, new Orange(tumorMetrics, referenceMetrics, tumorFlagstat, referenceFlagstat, sageSomaticOutput, sageGermlineOutput, purpleOutput, chordOutput, linxSomaticOutput, cuppaOutput, virusOutput, protectOutput, peachOutput, resourceFiles)));
                    pipelineResults.add(state.add(signatureOutputFuture.get()));
                    pipelineResults.add(state.add(orangeOutputFuture.get()));
                    pipelineResults.compose(metadata, "Somatic");
                }
            }
        }
    } catch (InterruptedException | ExecutionException e) {
        throw new RuntimeException(e);
    }
    return state;
}
Also used : Cuppa(com.hartwig.pipeline.tertiary.cuppa.Cuppa) Orange(com.hartwig.pipeline.tertiary.orange.Orange) SigsOutput(com.hartwig.pipeline.tertiary.sigs.SigsOutput) LoggerFactory(org.slf4j.LoggerFactory) Cobalt(com.hartwig.pipeline.tertiary.cobalt.Cobalt) CuppaOutput(com.hartwig.pipeline.tertiary.cuppa.CuppaOutput) SageSomaticCaller(com.hartwig.pipeline.calling.sage.SageSomaticCaller) LinxSomaticOutput(com.hartwig.pipeline.tertiary.linx.LinxSomaticOutput) Peach(com.hartwig.pipeline.tertiary.peach.Peach) Future(java.util.concurrent.Future) PurpleOutput(com.hartwig.pipeline.tertiary.purple.PurpleOutput) AlignmentPair(com.hartwig.pipeline.alignment.AlignmentPair) InputMode(com.hartwig.pipeline.metadata.InputMode) ChordOutput(com.hartwig.pipeline.tertiary.chord.ChordOutput) OrangeOutput(com.hartwig.pipeline.tertiary.orange.OrangeOutput) PipelineStatus(com.hartwig.pipeline.execution.PipelineStatus) Lilac(com.hartwig.pipeline.tertiary.lilac.Lilac) PersistedDataset(com.hartwig.pipeline.reruns.PersistedDataset) Sigs(com.hartwig.pipeline.tertiary.sigs.Sigs) PaveGermline(com.hartwig.pipeline.tertiary.pave.PaveGermline) SageGermlineCaller(com.hartwig.pipeline.calling.sage.SageGermlineCaller) GridssOutput(com.hartwig.pipeline.calling.structural.gridss.GridssOutput) VirusAnalysis(com.hartwig.pipeline.tertiary.virus.VirusAnalysis) StageRunner(com.hartwig.pipeline.stages.StageRunner) VirusOutput(com.hartwig.pipeline.tertiary.virus.VirusOutput) ProtectOutput(com.hartwig.pipeline.tertiary.protect.ProtectOutput) FlagstatOutput(com.hartwig.pipeline.flagstat.FlagstatOutput) BlockingQueue(java.util.concurrent.BlockingQueue) GripssOutput(com.hartwig.pipeline.calling.structural.gripss.GripssOutput) SageOutput(com.hartwig.pipeline.calling.sage.SageOutput) Protect(com.hartwig.pipeline.tertiary.protect.Protect) ResourceFilesFactory.buildResourceFiles(com.hartwig.pipeline.resource.ResourceFilesFactory.buildResourceFiles) LinxSomatic(com.hartwig.pipeline.tertiary.linx.LinxSomatic) GripssGermline(com.hartwig.pipeline.calling.structural.gripss.GripssGermline) CobaltOutput(com.hartwig.pipeline.tertiary.cobalt.CobaltOutput) PaveOutput(com.hartwig.pipeline.tertiary.pave.PaveOutput) BamMetricsOutput(com.hartwig.pipeline.metrics.BamMetricsOutput) Chord(com.hartwig.pipeline.tertiary.chord.Chord) AmberOutput(com.hartwig.pipeline.tertiary.amber.AmberOutput) Amber(com.hartwig.pipeline.tertiary.amber.Amber) LinxGermline(com.hartwig.pipeline.tertiary.linx.LinxGermline) Gridss(com.hartwig.pipeline.calling.structural.gridss.Gridss) ExecutorService(java.util.concurrent.ExecutorService) PeachOutput(com.hartwig.pipeline.tertiary.peach.PeachOutput) Logger(org.slf4j.Logger) PaveSomatic(com.hartwig.pipeline.tertiary.pave.PaveSomatic) GripssSomatic(com.hartwig.pipeline.calling.structural.gripss.GripssSomatic) Purple(com.hartwig.pipeline.tertiary.purple.Purple) HealthCheckOutput(com.hartwig.pipeline.tertiary.healthcheck.HealthCheckOutput) LilacOutput(com.hartwig.pipeline.tertiary.lilac.LilacOutput) ExecutionException(java.util.concurrent.ExecutionException) TimeUnit(java.util.concurrent.TimeUnit) PipelineResults(com.hartwig.pipeline.report.PipelineResults) LinxGermlineOutput(com.hartwig.pipeline.tertiary.linx.LinxGermlineOutput) HealthChecker(com.hartwig.pipeline.tertiary.healthcheck.HealthChecker) SomaticRunMetadata(com.hartwig.pipeline.metadata.SomaticRunMetadata) ResourceFiles(com.hartwig.pipeline.resource.ResourceFiles) Amber(com.hartwig.pipeline.tertiary.amber.Amber) PurpleOutput(com.hartwig.pipeline.tertiary.purple.PurpleOutput) LilacOutput(com.hartwig.pipeline.tertiary.lilac.LilacOutput) VirusOutput(com.hartwig.pipeline.tertiary.virus.VirusOutput) VirusAnalysis(com.hartwig.pipeline.tertiary.virus.VirusAnalysis) HealthCheckOutput(com.hartwig.pipeline.tertiary.healthcheck.HealthCheckOutput) Cobalt(com.hartwig.pipeline.tertiary.cobalt.Cobalt) Orange(com.hartwig.pipeline.tertiary.orange.Orange) CobaltOutput(com.hartwig.pipeline.tertiary.cobalt.CobaltOutput) PaveSomatic(com.hartwig.pipeline.tertiary.pave.PaveSomatic) HealthChecker(com.hartwig.pipeline.tertiary.healthcheck.HealthChecker) PaveGermline(com.hartwig.pipeline.tertiary.pave.PaveGermline) OrangeOutput(com.hartwig.pipeline.tertiary.orange.OrangeOutput) Lilac(com.hartwig.pipeline.tertiary.lilac.Lilac) LinxGermlineOutput(com.hartwig.pipeline.tertiary.linx.LinxGermlineOutput) LinxSomatic(com.hartwig.pipeline.tertiary.linx.LinxSomatic) PeachOutput(com.hartwig.pipeline.tertiary.peach.PeachOutput) GripssOutput(com.hartwig.pipeline.calling.structural.gripss.GripssOutput) Sigs(com.hartwig.pipeline.tertiary.sigs.Sigs) SageSomaticCaller(com.hartwig.pipeline.calling.sage.SageSomaticCaller) Peach(com.hartwig.pipeline.tertiary.peach.Peach) LinxSomaticOutput(com.hartwig.pipeline.tertiary.linx.LinxSomaticOutput) ProtectOutput(com.hartwig.pipeline.tertiary.protect.ProtectOutput) SageOutput(com.hartwig.pipeline.calling.sage.SageOutput) ChordOutput(com.hartwig.pipeline.tertiary.chord.ChordOutput) PaveOutput(com.hartwig.pipeline.tertiary.pave.PaveOutput) Gridss(com.hartwig.pipeline.calling.structural.gridss.Gridss) FlagstatOutput(com.hartwig.pipeline.flagstat.FlagstatOutput) BamMetricsOutput(com.hartwig.pipeline.metrics.BamMetricsOutput) ExecutionException(java.util.concurrent.ExecutionException) Chord(com.hartwig.pipeline.tertiary.chord.Chord) SigsOutput(com.hartwig.pipeline.tertiary.sigs.SigsOutput) CuppaOutput(com.hartwig.pipeline.tertiary.cuppa.CuppaOutput) Protect(com.hartwig.pipeline.tertiary.protect.Protect) LinxGermline(com.hartwig.pipeline.tertiary.linx.LinxGermline) GridssOutput(com.hartwig.pipeline.calling.structural.gridss.GridssOutput) Cuppa(com.hartwig.pipeline.tertiary.cuppa.Cuppa) GripssSomatic(com.hartwig.pipeline.calling.structural.gripss.GripssSomatic) ResourceFilesFactory.buildResourceFiles(com.hartwig.pipeline.resource.ResourceFilesFactory.buildResourceFiles) ResourceFiles(com.hartwig.pipeline.resource.ResourceFiles) Purple(com.hartwig.pipeline.tertiary.purple.Purple) AmberOutput(com.hartwig.pipeline.tertiary.amber.AmberOutput) SageGermlineCaller(com.hartwig.pipeline.calling.sage.SageGermlineCaller) GripssGermline(com.hartwig.pipeline.calling.structural.gripss.GripssGermline)

Aggregations

FlagstatOutput (com.hartwig.pipeline.flagstat.FlagstatOutput)3 BamMetricsOutput (com.hartwig.pipeline.metrics.BamMetricsOutput)3 GermlineCallerOutput (com.hartwig.pipeline.calling.germline.GermlineCallerOutput)2 PipelineStatus (com.hartwig.pipeline.execution.PipelineStatus)2 InputMode (com.hartwig.pipeline.metadata.InputMode)2 SomaticRunMetadata (com.hartwig.pipeline.metadata.SomaticRunMetadata)2 PersistedDataset (com.hartwig.pipeline.reruns.PersistedDataset)2 StageRunner (com.hartwig.pipeline.stages.StageRunner)2 BlockingQueue (java.util.concurrent.BlockingQueue)2 Logger (org.slf4j.Logger)2 LoggerFactory (org.slf4j.LoggerFactory)2 GoogleCredentials (com.google.auth.oauth2.GoogleCredentials)1 Publisher (com.google.cloud.pubsub.v1.Publisher)1 Storage (com.google.cloud.storage.Storage)1 PipelineComplete (com.hartwig.events.PipelineComplete)1 AlignerProvider (com.hartwig.pipeline.alignment.AlignerProvider)1 AlignmentOutput (com.hartwig.pipeline.alignment.AlignmentOutput)1 AlignmentPair (com.hartwig.pipeline.alignment.AlignmentPair)1 GermlineCaller (com.hartwig.pipeline.calling.germline.GermlineCaller)1 SageGermlineCaller (com.hartwig.pipeline.calling.sage.SageGermlineCaller)1