All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.snpeff.vcf.VcfHeaderFormat Maven / Gradle / Ivy

The newest version!
package org.snpeff.vcf;

public class VcfHeaderFormat extends VcfHeaderInfo {

	/**
	 * Constructor using a "##FORMAT" line from a VCF file
	 */
	public VcfHeaderFormat(String line) {
		super(line);
	}

	public VcfHeaderFormat(String id, VcfInfoType vcfInfoType, String number, String description) {
		super(id, vcfInfoType, number, description);
	}

	@Override
	public boolean isFormat() {
		return true;
	}

	@Override
	public String toString() {
		if (line != null) return line;

		return VcfHeader.FORMAT_PREFIX //
				+ "" //
				;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy