Class PrintReadsSpark
java.lang.Object
org.broadinstitute.hellbender.cmdline.CommandLineProgram
org.broadinstitute.hellbender.engine.spark.SparkCommandLineProgram
org.broadinstitute.hellbender.engine.spark.GATKSparkTool
org.broadinstitute.hellbender.tools.spark.pipelines.PrintReadsSpark
- All Implemented Interfaces:
Serializable
,org.broadinstitute.barclay.argparser.CommandLinePluginProvider
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.broadinstitute.hellbender.engine.spark.GATKSparkTool
GATKSparkTool.ReadInputMergingPolicy
Nested classes/interfaces inherited from class org.broadinstitute.hellbender.cmdline.CommandLineProgram
CommandLineProgram.AutoCloseableNoCheckedExceptions
-
Field Summary
FieldsFields inherited from class org.broadinstitute.hellbender.engine.spark.GATKSparkTool
addOutputVCFCommandLine, BAM_PARTITION_SIZE_LONG_NAME, bamPartitionSplitSize, CREATE_OUTPUT_BAM_SPLITTING_INDEX_LONG_NAME, createOutputBamIndex, createOutputBamSplittingIndex, createOutputVariantIndex, features, intervalArgumentCollection, NUM_REDUCERS_LONG_NAME, numReducers, OUTPUT_SHARD_DIR_LONG_NAME, readArguments, referenceArguments, sequenceDictionaryValidationArguments, SHARDED_OUTPUT_LONG_NAME, shardedOutput, shardedPartsDir, SPLITTING_INDEX_GRANULARITY, splittingIndexGranularity, USE_NIO, useNio
Fields inherited from class org.broadinstitute.hellbender.engine.spark.SparkCommandLineProgram
programName, SPARK_PROGRAM_NAME_LONG_NAME, sparkArgs
Fields inherited from class org.broadinstitute.hellbender.cmdline.CommandLineProgram
GATK_CONFIG_FILE, logger, NIO_MAX_REOPENS, NIO_PROJECT_FOR_REQUESTER_PAYS, QUIET, specialArgumentsCollection, tmpDir, useJdkDeflater, useJdkInflater, VERBOSITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Does this tool require reads? Tools that do should override to return true.protected void
runTool
(org.apache.spark.api.java.JavaSparkContext ctx) Runs the tool itself after initializing and validating inputs.Methods inherited from class org.broadinstitute.hellbender.engine.spark.GATKSparkTool
addReferenceFilesForSpark, addVCFsForSpark, editIntervals, getBestAvailableSequenceDictionary, getDefaultReadFilters, getDefaultToolVCFHeaderLines, getDefaultVariantAnnotationGroups, getDefaultVariantAnnotations, getGatkReadJavaRDD, getHeaderForReads, getHeaderForReadsInput, getIntervals, getPluginDescriptors, getReadInputMergingPolicy, getReads, getReadSourceName, getRecommendedNumReducers, getReference, getReferenceSequenceDictionary, getReferenceWindowFunction, getSequenceDictionaryValidationArgumentCollection, getTargetPartitionSize, getUnfilteredReads, hasReads, hasReference, hasUserSuppliedIntervals, makeReadFilter, makeReadFilter, makeVariantAnnotations, requiresIntervals, requiresReference, runPipeline, useVariantAnnotations, validateSequenceDictionaries, writeReads, writeReads
Methods inherited from class org.broadinstitute.hellbender.engine.spark.SparkCommandLineProgram
afterPipeline, doWork, getProgramName
Methods inherited from class org.broadinstitute.hellbender.cmdline.CommandLineProgram
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getSupportInformation, getToolkitName, getToolkitShortName, getToolStatusWarning, getUsage, getVersion, instanceMain, instanceMainPostParseArgs, isBetaFeature, isExperimentalFeature, onShutdown, onStartup, parseArgs, printLibraryVersions, printSettings, printStartupMessage, runTool, setDefaultHeaders, warnOnToolStatus
-
Field Details
-
output
@Argument(doc="uri for the output file: a local file path", shortName="O", fullName="output", optional=false) public String output
-
-
Constructor Details
-
PrintReadsSpark
public PrintReadsSpark()
-
-
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 classGATKSparkTool
- Returns:
- true if this tool requires reads, otherwise false
-
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 classGATKSparkTool
- Parameters:
ctx
- our Spark context
-