Skip to content

Commit

Permalink
Fixed two problems in CompareGtcFiles (#1486)
Browse files Browse the repository at this point in the history
* Fixed two problems in CompareGtcFiles
1) Minor typo in list of excluded methods
2) Added back a bunch of getters in InfiniumGTCFile to allow for CompareGtcFiles to compare their values.
  • Loading branch information
gbggrant authored Mar 17, 2020
1 parent b3b8fcc commit 547bc77
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/picard/arrays/illumina/CompareGtcFiles.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class CompareGtcFiles extends CommandLineProgram {
// Ignored methods
private static final List<String> IGNORED_METHODS = Arrays.asList(
"getClass",
"getAutocallDate",
"getAutoCallDate",
"getImagingDate",
// This is the number of TOC entries. It will be different with different versions.
"getNumberOfEntries",
Expand Down
40 changes: 40 additions & 0 deletions src/main/java/picard/arrays/illumina/InfiniumGTCFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,46 @@ public int getAbCalls() {
return abCalls;
}

public int[] getRawXIntensities() {
return rawXIntensities;
}

public int[] getRawYIntensities() {
return rawYIntensities;
}

public float[] getNormalizedXIntensities() {
return normalizedXIntensities;
}

public float[] getNormalizedYIntensities() {
return normalizedYIntensities;
}

public float[] getbAlleleFreqs() {
return bAlleleFreqs;
}

public float[] getLogRRatios() {
return logRRatios;
}

public float[] getRIlmn() {
return RIlmn;
}

public float[] getThetaIlmn() {
return thetaIlmn;
}

public byte[] getGenotypeBytes() {
return genotypeBytes;
}

public float[] getGenotypeScores() {
return genotypeScores;
}

/**
* A class to store Illumina Intensity Percentiles
*/
Expand Down

0 comments on commit 547bc77

Please sign in to comment.