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

htsjdk.variant.vcf.VCFAltHeaderLine Maven / Gradle / Ivy

There is a newer version: 4.1.3
Show newest version
package htsjdk.variant.vcf;

import java.util.*;

/**
 * A class representing ALT fields in the VCF header
 */
public class VCFAltHeaderLine extends VCFSimpleHeaderLine {
    private static final long serialVersionUID = 1L;

    private static List expectedTags = Collections.unmodifiableList(
            new ArrayList(2) {{
                add(ID_ATTRIBUTE);
                add(DESCRIPTION_ATTRIBUTE);
            }}
    );

    public VCFAltHeaderLine(final String line, final VCFHeaderVersion version) {
        super(VCFConstants.ALT_HEADER_KEY, new VCF4Parser().parseLine(line, expectedTags));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy