Property | Type | Description | |
---|---|---|---|
Counts | List |
||
Filter | string | ||
MajorChromosomeCount | int? | ||
ModelDistance | double | ||
QScore | double | ||
RunnerUpModelDistance | double | ||
VariantFrequencies | List |
||
VariantTotalCoverage | List |
||
cnSwaped | string |
Method | Description | |
---|---|---|
AssignQualityScores ( List |
Apply quality scores.
|
|
CanvasSegment ( string chr, int begin, int end, List |
||
ComputeQScore ( QScoreMethod qscoreMethod ) : int | ||
ExpectedCount ( List |
Compute the median count from a list of segments.
|
|
GetCnvType ( int referenceCopyNumber ) : CnvType | ||
GetQScorePredictor ( QScorePredictor predictorId ) : double | ||
GetSegmentsByChromosome ( List |
||
MergeIn ( |
Merge another neighboring segment into this one.
|
|
MergeSegments ( List |
Iterates through a list of segments and merges those which have the same copy number call. Also, for segments smaller than MinimumCallSize, assimilate them into the neighbor with the best quality score. Two consecutive segments are considered neighbors if they're on the same chromosome and the space between them is not too large.
|
|
MergeSegmentsUsingExcludedIntervals ( List |
Iterates through a list of segments and merges those which have the same copy number call. Also, for segments smaller than MinimumCallSize, assimilate them into the neighbor with the best quality score. Two consecutive segments are considered neighbors if they're on the same chromosome and the space between them doesn't overlap with any excluded intervals.
|
|
ReadSegments ( string infile ) : List |
Loads in data produced by CanvasPartition.exe.
|
|
WriteCoveragePlotData ( List |
Generate a tabular file with information about coverage and allele frequency for each chunk of the genome. This file can be used to generate a pretty plot of coverage versus MAF.
|
|
WriteSegments ( string outVcfPath, List |
Outputs the copy number calls to a text file.
|
Method | Description | |
---|---|---|
IsForbiddenInterval ( string chr, int start, int end, Dictionary |
Return true if we are not allowed to merge two segments separated by the interval (start, end).
|
|
SanityCheckChromosomeNames ( GenomeMetadata genome, List |
Integrity check, to ensure that our reference FASTA file is in sync with our inputs.
|
public static AssignQualityScores ( List |
||
segments | List |
|
qscoreMethod | QScoreMethod | |
return | void |
public CanvasSegment ( string chr, int begin, int end, List |
||
chr | string | |
begin | int | |
end | int | |
counts | List |
|
return | System |
public ComputeQScore ( QScoreMethod qscoreMethod ) : int | ||
qscoreMethod | QScoreMethod | |
return | int |
public static ExpectedCount ( List |
||
segments | List |
List of segments. |
return | double |
public GetCnvType ( int referenceCopyNumber ) : CnvType | ||
referenceCopyNumber | int | |
return | CnvType |
public GetQScorePredictor ( QScorePredictor predictorId ) : double | ||
predictorId | QScorePredictor | |
return | double |
public static GetSegmentsByChromosome ( List |
||
segments | List |
|
return | List |
public MergeIn ( |
||
s | Segment to merge in. | |
return | void |
public static MergeSegments ( List |
||
segments | List |
|
MinimumCallSize | int | |
maximumMergeSpan | int | |
return | void |
public static MergeSegmentsUsingExcludedIntervals ( List |
||
segments | List |
|
MinimumCallSize | int | |
excludedIntervals | Dictionary |
|
return | void |
public static ReadSegments ( string infile ) : List |
||
infile | string | Input file. |
return | List |
public static WriteCoveragePlotData ( List |
||
segments | List |
|
normalDiploidCoverage | double | |
referencePloidy | ||
filePath | string | |
referenceFolder | string | |
return | void |
public static WriteSegments ( string outVcfPath, List |
||
outVcfPath | string | |
segments | List |
|
wholeGenomeFastaDirectory | string | |
sampleName | string | |
extraHeaders | List |
|
ploidy | ||
qualityThreshold | int | |
return | void |