Skip to content

Commit

Permalink
Added description of the gtcCallRate field in the VCF Header. (#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbggrant authored Oct 12, 2021
1 parent 43a962e commit b5732e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/picard/arrays/GtcToVcf.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ protected int doWork() {
// The Call Rate in the Illumina GTC File does not take into account zeroed out SNPs.
// So we recalculate it (and ignore zeroed out assays - which also includes intensity only probes)
vcfHeader.addMetaDataLine(new VCFHeaderLine(InfiniumVcfFields.GTC_CALL_RATE, String.valueOf(callRate)));
vcfHeader.addMetaDataLine(new VCFHeaderLine(InfiniumVcfFields.GTC_CALL_RATE_DETAIL,
"The gtcCallRate is the Call Rate reported in the Illumina GTC file, corrected for the presence of Zeroed-Out SNPs"));

writeVcf(contexts, OUTPUT, refSeq.getSequenceDictionary(), vcfHeader);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public class InfiniumVcfFields {
public static final String EXPECTED_GENDER = "expectedGender";
public static final String FINGERPRINT_GENDER = "fingerprintGender";
public static final String GTC_CALL_RATE = "gtcCallRate";
public static final String GTC_CALL_RATE_DETAIL = "gtcCallRateDetail";
public static final String AUTOCALL_GENDER = "autocallGender";
public static final String AUTOCALL_DATE = "autocallDate";
public static final String IMAGING_DATE = "imagingDate";
Expand Down

0 comments on commit b5732e1

Please sign in to comment.