Class CallCopyRatioSegments

java.lang.Object
org.broadinstitute.hellbender.cmdline.CommandLineProgram
org.broadinstitute.hellbender.tools.copynumber.CallCopyRatioSegments
All Implemented Interfaces:
org.broadinstitute.barclay.argparser.CommandLinePluginProvider

@DocumentedFeature public final class CallCopyRatioSegments extends CommandLineProgram
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 in CopyRatioSegmentCollection.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
 
  • Field Details

    • NEUTRAL_SEGMENT_COPY_RATIO_LOWER_BOUND_LONG_NAME

      public static final String NEUTRAL_SEGMENT_COPY_RATIO_LOWER_BOUND_LONG_NAME
      See Also:
    • NEUTRAL_SEGMENT_COPY_RATIO_UPPER_BOUND_LONG_NAME

      public static final String NEUTRAL_SEGMENT_COPY_RATIO_UPPER_BOUND_LONG_NAME
      See Also:
    • OUTLIER_NEUTRAL_SEGMENT_COPY_RATIO_Z_SCORE_THRESHOLD_LONG_NAME

      public static final String OUTLIER_NEUTRAL_SEGMENT_COPY_RATIO_Z_SCORE_THRESHOLD_LONG_NAME
      See Also:
    • CALLING_COPY_RATIO_Z_SCORE_THRESHOLD_LONG_NAME

      public static final String CALLING_COPY_RATIO_Z_SCORE_THRESHOLD_LONG_NAME
      See Also:
    • LEGACY_SEGMENTS_FILE_SUFFIX

      public static final String LEGACY_SEGMENTS_FILE_SUFFIX
      See Also:
  • Constructor Details

    • CallCopyRatioSegments

      public CallCopyRatioSegments()
  • Method Details

    • doWork

      protected Object 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 class CommandLineProgram
      Returns:
      the return value or null is there is none.