Class BwaAndMarkDuplicatesPipelineSpark

All Implemented Interfaces:
Serializable, org.broadinstitute.barclay.argparser.CommandLinePluginProvider

@DocumentedFeature @BetaFeature public final class BwaAndMarkDuplicatesPipelineSpark extends GATKSparkTool
Runs BWA and MarkDuplicates on Spark. It's an example of how to compose those two tools.
See Also:
  • Field Details

  • Constructor Details

    • BwaAndMarkDuplicatesPipelineSpark

      public BwaAndMarkDuplicatesPipelineSpark()
  • Method Details

    • requiresReads

      public boolean requiresReads()
      Description copied from class: GATKSparkTool
      Does this tool require reads? Tools that do should override to return true.
      Overrides:
      requiresReads in class GATKSparkTool
      Returns:
      true if this tool requires reads, otherwise false
    • requiresReference

      public boolean requiresReference()
      Description copied from class: GATKSparkTool
      Does this tool require reference data? Tools that do should override to return true.
      Overrides:
      requiresReference in class GATKSparkTool
      Returns:
      true if this tool requires a reference, otherwise false
    • getSequenceDictionaryValidationArgumentCollection

      protected SequenceDictionaryValidationArgumentCollection getSequenceDictionaryValidationArgumentCollection()
      Description copied from class: GATKSparkTool
      subclasses can override this to provide different default behavior for sequence dictionary validation
      Overrides:
      getSequenceDictionaryValidationArgumentCollection in class GATKSparkTool
      Returns:
      a SequenceDictionaryValidationArgumentCollection
    • runTool

      protected void runTool(org.apache.spark.api.java.JavaSparkContext ctx)
      Description copied from class: GATKSparkTool
      Runs the tool itself after initializing and validating inputs. Must be implemented by subclasses.
      Specified by:
      runTool in class GATKSparkTool
      Parameters:
      ctx - our Spark context