@groovy.util.logging.Log class Delfin extends ToolBase
A simple exon-by-exon deletion finder
Type | Name and description |
---|---|
static int |
MINIMUM_TARGET_REGIONS |
graxxia.Matrix |
covs |
gngs.Region |
debugRegion |
double |
deletionCallThreshold Likelihood ratio at which to output deletions |
double |
deletionRate An indicator of the number deletion calls expected per target region |
double |
duplicationCallThreshold Likelihood ratio at which to output duplications |
int |
maxPCAComponents The maximum number of PCA components that will be removed |
int |
minExpectedDeletionCallsPerChromosome The expected number of deletion calls is calculated from the per-target region rate but this can lead to an unreasonably low bar for small chromosomes |
java.io.Writer |
optimisationWriter |
java.util.Map<java.lang.String, Regions> |
results |
double[] |
targetRegionGCRfractions |
Regions |
targets |
Constructor and description |
---|
Delfin
() |
Type Params | Return Type | Name and description |
---|---|---|
|
final Regions |
analyseChromosome(java.lang.String chr) |
|
void |
calculateIntervalGCs() |
|
java.util.List<java.util.List<java.lang.Double>> |
callAndOptimise(java.lang.String chr, java.lang.String sample, graxxia.Matrix scaled, graxxia.Matrix std, graxxia.Matrix reduced) Tries calling deletions while removing increasing numbers of prinicipal components. |
|
void |
initGCNormalisation() |
|
graxxia.Matrix |
loadCoverage(java.io.File path) Loads per-target-region coverage depth from the given provided files, which are in the form of an initial column containing the sample and then a column for each target region containing the read depth over that exon. |
|
static void |
main(java.lang.Object args) |
|
java.util.List<Matrix> |
normaliseAndComputeLikelihoods(java.lang.String sample, java.lang.String chr, graxxia.Matrix scaled, graxxia.Matrix std, graxxia.Matrix reduced, int nComponentsToRemove) Transform the matrix of row-normalised coverage values into a matrix of log-scaled likelihood ratios comparing the z-score of a diploid model to a single-ploidy model. |
|
void |
run() |
Likelihood ratio at which to output deletions
An indicator of the number deletion calls expected per target region (or, approximately, the probability any given target is deleted state, though that interpretation does not account for multi-target calls)
Likelihood ratio at which to output duplications
The maximum number of PCA components that will be removed
The expected number of deletion calls is calculated from the per-target region rate but this can lead to an unreasonably low bar for small chromosomes
Tries calling deletions while removing increasing numbers of prinicipal components. When an acceptably small number is returned, stops and returns both duplications and deletions.
Loads per-target-region coverage depth from the given provided files, which are in the form of an initial column containing the sample and then a column for each target region containing the read depth over that exon.
path
- path to the bed fileTransform the matrix of row-normalised coverage values into a matrix of log-scaled likelihood ratios comparing the z-score of a diploid model to a single-ploidy model.
row-normalised
- coverage values, row per sample, column per target regionGroovy Documentation