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

Method setInfo

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

Adds or resets an info field @param key key for field @param values values for the field. Any individual value containing a comma will be split. @return this, for call chaining

(String key, String... values)

Source from the content-addressed store, hash-verified

406 * @return this, for call chaining
407 */
408 public VcfRecord setInfo(String key, String... values) {
409 mInfo.put(key, values == null ? "" : StringUtils.join(ALT_CALL_INFO_SEPARATOR, values));
410 return this;
411 }
412
413 /**
414 * Remove an existing info field.

Callers 15

testSetMethodsMethod · 0.95
testMalformedInfoMethod · 0.95
testInfoMethod · 0.95
testComplexExpressionMethod · 0.95
testUpdateInfoMethod · 0.95
testUpdateInfoSingleMethod · 0.95
testUpdateInfoFlagMethod · 0.95
testClearInfoMethod · 0.95

Calls 2

joinMethod · 0.95
putMethod · 0.45

Tested by 15

testSetMethodsMethod · 0.76
testMalformedInfoMethod · 0.76
testInfoMethod · 0.76
testComplexExpressionMethod · 0.76
testUpdateInfoMethod · 0.76
testUpdateInfoSingleMethod · 0.76
testUpdateInfoFlagMethod · 0.76
testClearInfoMethod · 0.76