avro.variantLegacy.avdl Maven / Gradle / Ivy
The newest version!
@namespace("org.opencb.biodata.models.variant.avro.legacy")
protocol VariantsLegacy {
record VcfHeader {
string fileFormat;
//map }>> meta; ??
map }>> meta;
}
record VariantGlobalStats {
int numRecords;
int samplesCount;
int passCount;
int transitionsCount;
int transversionsCount;
double meanQuality;
map variantTypeCounts;
map chromosomeCounts;
map consequenceTypesCount;
}
record VariantSource {
string fileId;
string studyId;
union { null, string } fileName = null;
union { null, string } studyName = null;
array samples = [];
string aggregation;
union {null, VariantGlobalStats} stats;
map metadata;
union {null, VcfHeader} header;
null pedigree;
}
}