Class CallCopyRatioSegments
java.lang.Object
org.broadinstitute.hellbender.cmdline.CommandLineProgram
org.broadinstitute.hellbender.tools.copynumber.CallCopyRatioSegments
- All Implemented Interfaces:
org.broadinstitute.barclay.argparser.CommandLinePluginProvider
Calls copy-ratio segments as amplified, deleted, or copy-number neutral.
This is a relatively naive caller that takes the modeled-segments output of ModelSegments
and
performs a simple statistical test on the segmented log2 copy ratios to call amplifications and deletions,
given a specified range for determining copy-number neutral segments. This caller is
based on the calling functionality of ReCapSeg.
If provided ModelSegments
results that incorporate allele-fraction data, i.e. data with presumably improved segmentation,
the statistical test performed by CallCopyRatioSegments ignores the modeled minor-allele fractions when making calls.
Input
-
Copy-ratio-segments .cr.seg file from
ModelSegments
. This is a tab-separated values (TSV) file with a SAM-style header containing a read group sample name, a sequence dictionary, a row specifying the column headers contained inCopyRatioSegmentCollection.CopyRatioSegmentTableColumn
, and the corresponding entry rows.
Outputs
-
Called copy-ratio-segments file.
This is a tab-separated values (TSV) file with a SAM-style header containing a read group sample name, a sequence dictionary,
a row specifying the column headers contained in
CalledCopyRatioSegmentCollection.CalledCopyRatioSegmentTableColumn
, and the corresponding entry rows. - CBS-formatted .igv.seg file (compatible with IGV). This is a tab-separated values (TSV) file with CBS-format column headers (see http://software.broadinstitute.org/cancer/software/genepattern/file-formats-guide#CBS) and the corresponding entry rows that can be plotted using IGV (see https://software.broadinstitute.org/software/igv/SEG). The mean log2 copy ratio is given in the SEGMENT_MEAN column.
Usage examples
gatk CallCopyRatioSegments \ -I tumor.cr.seg \ -O tumor.called.seg
-
Nested Class Summary
Nested classes/interfaces inherited from class org.broadinstitute.hellbender.cmdline.CommandLineProgram
CommandLineProgram.AutoCloseableNoCheckedExceptions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
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
Methods inherited from class org.broadinstitute.hellbender.cmdline.CommandLineProgram
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getPluginDescriptors, getSupportInformation, getToolkitName, getToolkitShortName, getToolStatusWarning, getUsage, getVersion, instanceMain, instanceMainPostParseArgs, isBetaFeature, isExperimentalFeature, onShutdown, onStartup, parseArgs, printLibraryVersions, printSettings, printStartupMessage, runTool, setDefaultHeaders, warnOnToolStatus
-
Field Details
-
NEUTRAL_SEGMENT_COPY_RATIO_LOWER_BOUND_LONG_NAME
- See Also:
-
NEUTRAL_SEGMENT_COPY_RATIO_UPPER_BOUND_LONG_NAME
- See Also:
-
OUTLIER_NEUTRAL_SEGMENT_COPY_RATIO_Z_SCORE_THRESHOLD_LONG_NAME
- See Also:
-
CALLING_COPY_RATIO_Z_SCORE_THRESHOLD_LONG_NAME
- See Also:
-
LEGACY_SEGMENTS_FILE_SUFFIX
- See Also:
-
-
Constructor Details
-
CallCopyRatioSegments
public CallCopyRatioSegments()
-
-
Method Details
-
doWork
Description copied from class:CommandLineProgram
Do the work after command line has been parsed. RuntimeException may be thrown by this method, and are reported appropriately.- Specified by:
doWork
in classCommandLineProgram
- Returns:
- the return value or null is there is none.
-