MCPcopy Create free account
hub / github.com/RealTimeGenomics/rtg-tools / isNonMissingGt

Method isNonMissingGt

src/main/java/com/rtg/vcf/VcfUtils.java:413–420  ·  view source on GitHub ↗

If any of the GT is non missing return true. @param gt GT to check @return true if gt is not entirely should be skipped, false otherwise

(int[] gt)

Source from the content-addressed store, hash-verified

411 * @return true if gt is not entirely should be skipped, false otherwise
412 */
413 public static boolean isNonMissingGt(int[] gt) {
414 for (final int g : gt) {
415 if (g > MISSING_GT) {
416 return true;
417 }
418 }
419 return false;
420 }
421
422 /**
423 * If any of the GT is non missing return true.

Callers 4

checkIsNonMissingGtMethod · 0.95
mainExecMethod · 0.95
isMissingGtMethod · 0.95
hasBadCallPloidyMethod · 0.95

Calls 1

lengthMethod · 0.65

Tested by 1

checkIsNonMissingGtMethod · 0.76