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

Method hasFormat

src/main/java/com/rtg/vcf/VcfRecord.java:444–446  ·  view source on GitHub ↗

Returns true if the record contains the specified format field @param key format value @return true if the format field is contained in this record

(String key)

Source from the content-addressed store, hash-verified

442 * @return true if the format field is contained in this record
443 */
444 public boolean hasFormat(String key) {
445 return mFormatAndSample.containsKey(key);
446 }
447
448 /**
449 * Remove the specified format field from this record

Callers 9

testKeepMethod · 0.95
testRemoveMethod · 0.95
parseFieldsMethod · 0.95
mainExecMethod · 0.95
mergeSamplesMethod · 0.80
hasDefinedVariantGtMethod · 0.80
adjustFormatFieldMethod · 0.80
annotateMethod · 0.80

Calls

no outgoing calls

Tested by 3

testKeepMethod · 0.76
testRemoveMethod · 0.76