public class VcfRecordUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getAlt(VcfRecord vcfRecord) |
static String |
getAlt(VcfRecord vcfRecord,
int i) |
static int |
getAltAlleleIndex(VcfRecord vcfRecord,
String alt) |
static Double[] |
getAltAlleleOrderedDoubleField(VcfRecord vcfRecord,
String fieldName) |
static int |
getAltIndex(VcfRecord vcfRecord,
String alt) |
static String[] |
getAlts(VcfRecord vcfRecord) |
static String[] |
getAltsAsStringArray(VcfRecord vcfRecord) |
static String |
getAltString(VcfRecord vcfRecord) |
static String |
getChrPosRefAlt(VcfRecord vcfRecord) |
static String |
getId(VcfRecord vcfRecord) |
static Optional<VcfInfo> |
getInformation(String key,
VcfRecord vcfRecord) |
static String |
getRef(VcfRecord vcfRecord) |
static String |
getSampleFieldValue(VcfRecord vcfEntity,
VcfSample sample,
String field) |
public static String getAlt(VcfRecord vcfRecord) throws RuntimeException
RuntimeExceptionpublic static int getAltIndex(VcfRecord vcfRecord, String alt) throws Exception
Exception@Nullable public static String getSampleFieldValue(VcfRecord vcfEntity, VcfSample sample, String field)
Copyright © 2019. All rights reserved.