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

Method getHeader

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

Returns the VCF header for given file. @param input file to read VCF header from @return The VcfHeader @throws IOException if an I/O error occurs

(final File input)

Source from the content-addressed store, hash-verified

465 * @throws IOException if an I/O error occurs
466 */
467 public static VcfHeader getHeader(final File input) throws IOException {
468 return new VcfParser().parseHeader(input);
469 }
470
471 /**
472 * Normalize by converting any DNA characters within a VCF allele into uppercase. Annoyingly,

Callers 10

testMissingSampleMethod · 0.95
testSomeMethodMethod · 0.95
VcfPositionZipperMethod · 0.95
TabixVcfRecordSetMethod · 0.95
evaluateCallsMethod · 0.95
replaySampleMethod · 0.95
mainExecMethod · 0.95
mutateIndividualMethod · 0.95
mutateIndividualMethod · 0.95
mutateIndividualMethod · 0.95

Calls 1

parseHeaderMethod · 0.45

Tested by 2

testMissingSampleMethod · 0.76
testSomeMethodMethod · 0.76