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

Method addFormat

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

Adds a format key without setting any sample values. @param key format value to be set @return this, for call chaining

(String key)

Source from the content-addressed store, hash-verified

468 * @return this, for call chaining
469 */
470 public VcfRecord addFormat(String key) {
471 addOrGetFormat(key);
472 return this;
473 }
474
475 // Ensures that GT is first
476 private List<String> addOrGetFormat(String key) {

Callers 6

parseFieldsMethod · 0.95
flushFirstMethod · 0.95
mutateSequenceMethod · 0.95
mergeSamplesMethod · 0.80
padSamplesMethod · 0.80
mergeSamplesMethod · 0.80

Calls 1

addOrGetFormatMethod · 0.95

Tested by

no test coverage detected