C# Class Illumina.SecondaryAnalysis.CanvasRunner

Run Canvas tools to generate CNV calls:
Afficher le fichier Open project: Illumina/canvas Class Usage Examples

Méthodes publiques

Méthode Description
CallSample ( Canvas.CanvasCallset callset ) : void
CanvasRunner ( ILogger logger, IWorkManager workManager, ICheckpointRunnerAsync checkpointRunner, bool isSomatic, CanvasCoverageMode coverageMode, int countsPerBin, string>.Dictionary customParameters = null ) : System

Méthodes protégées

Méthode Description
InvokeCanvasBin ( Canvas.CanvasCallset callset, string canvasReferencePath, string canvasBedPath, string ploidyBedPath ) : IFileLocation

Invoke CanvasBin. Return null if this fails and we need to abort CNV calling for this sample.

InvokeCanvasNormalize ( Canvas.CanvasCallset callset, string tumorBinnedPath, string>.Dictionary bamToBinned, string ploidyBedPath, string mode = "weightedaverage" ) : string

Invoke CanvasNormalize.

InvokeCanvasSnv ( Canvas.CanvasCallset callset ) : void

Invoke CanvasSNV. Return null if this fails and we need to abort CNV calling for this sample.

RunGermlineCalling ( IFileLocation partitionedPath, Canvas.CanvasCallset callset, string ploidyBedPath ) : void
RunSomaticCalling ( IFileLocation partitionedPath, Canvas.CanvasCallset callset, string canvasBedPath, string ploidyBedPath, IFileLocation ffpePath ) : void

Private Methods

Méthode Description
CallSampleInternal ( Canvas.CanvasCallset callset ) : Task

Germline workflow: - Run CanvasBin, CanvasClean, CanvasPartition, CanvasDiploidCaller Somatic workflow: - Run CanvasBin, CanvasClean, CanvasPartition, CanvasSNV, CanvasSomaticCaller

GetBinSize ( Canvas.CanvasCallset callset, string bamPath, List intermediateDataPaths, string canvasReferencePath, string canvasBedPath ) : int
IntersectBinsWithTargetedRegions ( Canvas.CanvasCallset callset, IFileLocation partitionedPath ) : IFileLocation

Intersect bins with the targeted regions defined in callset.Manifest. Assumes that the targeted regions don't intersect, the bins are sorted by genomic location and the bins don't intersect.

InvokeCanvasClean ( Canvas.CanvasCallset callset, IFileLocation binnedPath ) : CanvasCleanOutput
InvokeCanvasPartition ( Canvas.CanvasCallset callset, IFileLocation cleanedPath, string canvasBedPath ) : IFileLocation
SmallestFile ( List paths ) : string

Method Details

CallSample() public méthode

public CallSample ( Canvas.CanvasCallset callset ) : void
callset Canvas.CanvasCallset
Résultat void

CanvasRunner() public méthode

public CanvasRunner ( ILogger logger, IWorkManager workManager, ICheckpointRunnerAsync checkpointRunner, bool isSomatic, CanvasCoverageMode coverageMode, int countsPerBin, string>.Dictionary customParameters = null ) : System
logger ILogger
workManager IWorkManager
checkpointRunner ICheckpointRunnerAsync
isSomatic bool
coverageMode CanvasCoverageMode
countsPerBin int
customParameters string>.Dictionary
Résultat System

InvokeCanvasBin() protected méthode

Invoke CanvasBin. Return null if this fails and we need to abort CNV calling for this sample.
protected InvokeCanvasBin ( Canvas.CanvasCallset callset, string canvasReferencePath, string canvasBedPath, string ploidyBedPath ) : IFileLocation
callset Canvas.CanvasCallset
canvasReferencePath string
canvasBedPath string
ploidyBedPath string
Résultat IFileLocation

InvokeCanvasNormalize() protected méthode

Invoke CanvasNormalize.
protected InvokeCanvasNormalize ( Canvas.CanvasCallset callset, string tumorBinnedPath, string>.Dictionary bamToBinned, string ploidyBedPath, string mode = "weightedaverage" ) : string
callset Canvas.CanvasCallset
tumorBinnedPath string
bamToBinned string>.Dictionary
ploidyBedPath string
mode string
Résultat string

InvokeCanvasSnv() protected méthode

Invoke CanvasSNV. Return null if this fails and we need to abort CNV calling for this sample.
protected InvokeCanvasSnv ( Canvas.CanvasCallset callset ) : void
callset Canvas.CanvasCallset
Résultat void

RunGermlineCalling() protected méthode

protected RunGermlineCalling ( IFileLocation partitionedPath, Canvas.CanvasCallset callset, string ploidyBedPath ) : void
partitionedPath IFileLocation
callset Canvas.CanvasCallset
ploidyBedPath string
Résultat void

RunSomaticCalling() protected méthode

protected RunSomaticCalling ( IFileLocation partitionedPath, Canvas.CanvasCallset callset, string canvasBedPath, string ploidyBedPath, IFileLocation ffpePath ) : void
partitionedPath IFileLocation
callset Canvas.CanvasCallset
canvasBedPath string
ploidyBedPath string
ffpePath IFileLocation
Résultat void