Skip to content

Instantly share code, notes, and snippets.

@holtgrewe
Created May 10, 2023 10:07
Show Gist options
  • Save holtgrewe/e9252b30f9669238a7ce098d19c13655 to your computer and use it in GitHub Desktop.
Save holtgrewe/e9252b30f9669238a7ce098d19c13655 to your computer and use it in GitHub Desktop.
// ##INFO=<ID=AC,Number=A,Type=Integer,Description="Alternate allele count for samples">
/// Alternate allele count for samples.
pub ac: Option<i32>,
// ##INFO=<ID=AN,Number=1,Type=Integer,Description="Total number of alleles in samples">
/// Total number of alleles in samples.
pub an: Option<i32>,
// ##INFO=<ID=AF,Number=A,Type=Float,Description="Alternate allele frequency in samples">
/// Alternate allele frequency in samples.
pub af: Option<f32>,
// ##INFO=<ID=rf_tp_probability,Number=1,Type=Float,Description="Random forest prediction probability for a site being a true variant">
/// Random forest prediction probability for a site being a true variant.
pub rf_tp_probability: Option<f32>,
// ##INFO=<ID=FS,Number=1,Type=Float,Description="Phred-scaled p-value of Fisher's exact test for strand bias">
/// Phred-scaled p-value of Fisher's exact test for strand bias.
pub fs: Option<f32>,
// ##INFO=<ID=InbreedingCoeff,Number=1,Type=Float,Description="Inbreeding coefficient as estimated from the genotype likelihoods per-sample when compared against the Hardy-Weinberg expectation">
/// Inbreeding coefficient as estimated from the genotype likelihoods per-sample when compared against the Hardy-Weinberg expectation.
pub inbreeding_coefficient: Option<f32>,
// ##INFO=<ID=MQ,Number=1,Type=Float,Description="Root mean square of the mapping quality of reads across all samples">
/// Root mean square of the mapping quality of reads across all samples.
pub mq: Option<f32>,
// ##INFO=<ID=MQRankSum,Number=1,Type=Float,Description="Z-score from Wilcoxon rank sum test of alternate vs. reference read mapping qualities">
/// Z-score from Wilcoxon rank sum test of alternate vs. reference read mapping qualities.
pub mq_rank_sum: Option<f32>,
// ##INFO=<ID=QD,Number=1,Type=Float,Description="Variant call confidence normalized by depth of sample reads supporting a variant">
/// Variant call confidence normalized by depth of sample reads supporting a variant.
pub qd: Option<f32>,
// ##INFO=<ID=ReadPosRankSum,Number=1,Type=Float,Description="Z-score from Wilcoxon rank sum test of alternate vs. reference read position bias">
/// Z-score from Wilcoxon rank sum test of alternate vs. reference read position bias.
pub read_pos_rank_sum: Option<f32>,
// ##INFO=<ID=SOR,Number=1,Type=Float,Description="Strand bias estimated by the symmetric odds ratio test">
/// Strand bias estimated by the symmetric odds ratio test.
pub sor: Option<f32>,
// ##INFO=<ID=VQSR_POSITIVE_TRAIN_SITE,Number=0,Type=Flag,Description="Variant was used to build the positive training set of high-quality variants for VQSR">
/// Variant was used to build the positive training set of high-quality variants for VQSR.
pub vqsr_positive_train_site: Option<bool>,
// ##INFO=<ID=VQSR_NEGATIVE_TRAIN_SITE,Number=0,Type=Flag,Description="Variant was used to build the negative training set of low-quality variants for VQSR">
/// Variant was used to build the negative training set of low-quality variants for VQSR.
// ##INFO=<ID=BaseQRankSum,Number=1,Type=Float,Description="Z-score from Wilcoxon rank sum test of alternate vs. reference base qualities">
/// Z-score from Wilcoxon rank sum test of alternate vs. reference base qualities.
pub base_q_rank_sum: Option<f32>,
// ##INFO=<ID=ClippingRankSum,Number=1,Type=Float,Description="Z-score from Wilcoxon rank sum test of alternate vs. reference number of hard clipped bases">
/// Z-score from Wilcoxon rank sum test of alternate vs. reference number of hard clipped bases.
pub clipping_rank_sum: Option<f32>,
// ##INFO=<ID=DP,Number=1,Type=Integer,Description="Depth of informative coverage for each sample; reads with MQ=255 or with bad mates are filtered">
/// Depth of informative coverage for each sample; reads with MQ=255 or with bad mates are filtered.
pub dp: Option<i32>,
// ##INFO=<ID=VQSLOD,Number=1,Type=Float,Description="Log-odds ratio of being a true variant versus being a false positive under the trained VQSR Gaussian mixture model">
/// Log-odds ratio of being a true variant versus being a false positive under the trained VQSR Gaussian mixture model.
pub vqslod: Option<f32>,
// ##INFO=<ID=VQSR_culprit,Number=1,Type=String,Description="Worst-performing annotation in the VQSR Gaussian mixture model">
/// Worst-performing annotation in the VQSR Gaussian mixture model.
pub vqsr_culprit: Option<String>,
// ##INFO=<ID=segdup,Number=0,Type=Flag,Description="Variant falls within a segmental duplication region">
/// Variant falls within a segmental duplication region.
pub segdup: Option<bool>,
// ##INFO=<ID=lcr,Number=0,Type=Flag,Description="Variant falls within a low complexity region">
/// Variant falls within a low complexity region.
pub lcr: Option<bool>,
// ##INFO=<ID=decoy,Number=0,Type=Flag,Description="Variant falls within a reference decoy region">
/// Variant falls within a reference decoy region.
pub decoy: Option<bool>,
// ##INFO=<ID=nonpar,Number=0,Type=Flag,Description="Variant (on sex chromosome) falls outside a pseudoautosomal region">
/// Variant (on sex chromosome) falls outside a pseudoautosomal region
pub nonpar: Option<bool>,
// ##INFO=<ID=rf_positive_label,Number=0,Type=Flag,Description="Variant was labelled as a positive example for training of random forest model">
/// Variant was labelled as a positive example for training of random forest model.
pub rf_positive_label: Option<bool>,
// ##INFO=<ID=rf_negative_label,Number=0,Type=Flag,Description="Variant was labelled as a negative example for training of random forest model">
/// Variant was labelled as a negative example for training of random forest model.
pub rf_negative_label: Option<bool>,
// ##INFO=<ID=rf_label,Number=1,Type=String,Description="Random forest training label">
/// Random forest training label.
pub rf_label: Option<String>,
// ##INFO=<ID=rf_train,Number=0,Type=Flag,Description="Variant was used in training random forest model">
/// Variant was used in training random forest model.
pub rf_train: Option<bool>,
// ##INFO=<ID=transmitted_singleton,Number=0,Type=Flag,Description="Variant was a callset-wide doubleton that was transmitted within a family (i.e., a singleton amongst unrelated sampes in cohort)">
/// Variant was a callset-wide doubleton that was transmitted within a family (i.e., a singleton amongst unrelated sampes in cohort).
pub transmitted_singleton: Option<bool>,
// ##INFO=<ID=variant_type,Number=1,Type=String,Description="Variant type (snv, indel, multi-snv, multi-indel, or mixed)">
/// Variant type (snv, indel, multi-snv, multi-indel, or mixed).
pub variant_type: Option<String>,
// ##INFO=<ID=allele_type,Number=A,Type=String,Description="Allele type (snv, ins, del, or mixed)">
/// Allele type (snv, ins, del, or mixed).
pub allele_type: Option<String>,
// ##INFO=<ID=n_alt_alleles,Number=A,Type=Integer,Description="Total number of alternate alleles observed at variant locus">
/// Total number of alternate alleles observed at variant locus.
pub n_alt_alleles: Option<i32>,
// ##INFO=<ID=was_mixed,Number=0,Type=Flag,Description="Variant type was mixed">
/// Variant type was mixed.
pub was_mixed: Option<bool>,
// ##INFO=<ID=has_star,Number=0,Type=Flag,Description="Variant locus coincides with a spanning deletion (represented by a star) observed elsewhere in the callset">
/// Variant locus coincides with a spanning deletion (represented by a star) observed elsewhere in the callset.
pub has_star: Option<bool>,
// ##INFO=<ID=pab_max,Number=A,Type=Float,Description="Maximum p-value over callset for binomial test of observed allele balance for a heterozygous genotype, given expectation of AB=0.5">
/// Maximum p-value over callset for binomial test of observed allele balance for a heterozygous genotype, given expectation of AB=0.5.
pub pab_max: Option<f32>,
// ##INFO=<ID=gq_hist_alt_bin_freq,Number=A,Type=String,Description="Histogram for GQ in heterozygous individuals; bin edges are: 0|5|10|15|20|25|30|35|40|45|50|55|60|65|70|75|80|85|90|95|100">
/// Histogram for GQ in heterozygous individuals; bin edges are: 0|5|10|15|20|25|30|35|40|45|50|55|60|65|70|75|80|85|90|95|100.
pub gq_hist_alt_bin_freq: Option<Vec<i32>>,
// ##INFO=<ID=gq_hist_all_bin_freq,Number=A,Type=String,Description="Histogram for GQ; bin edges are: 0|5|10|15|20|25|30|35|40|45|50|55|60|65|70|75|80|85|90|95|100">
/// Histogram for GQ; bin edges are: 0|5|10|15|20|25|30|35|40|45|50|55|60|65|70|75|80|85|90|95|100.
pub gq_hist_all_bin_freq: Option<Vec<i32>>,
// ##INFO=<ID=dp_hist_alt_bin_freq,Number=A,Type=String,Description="Histogram for DP in heterozygous individuals; bin edges are: 0|5|10|15|20|25|30|35|40|45|50|55|60|65|70|75|80|85|90|95|100">
/// Histogram for DP in heterozygous individuals; bin edges are: 0|5|10|15|20|25|30|35|40|45|50|55|60|65|70|75|80|85|90|95|100.
pub dp_hist_alt_bin_freq: Option<Vec<i32>>,
// ##INFO=<ID=dp_hist_alt_n_larger,Number=A,Type=Integer,Description="Count of DP values falling above highest histogram bin edge">
/// Count of DP values falling above highest histogram bin edge.
pub dp_hist_alt_n_larger: Option<i32>,
// ##INFO=<ID=dp_hist_all_bin_freq,Number=A,Type=String,Description="Histogram for DP; bin edges are: 0|5|10|15|20|25|30|35|40|45|50|55|60|65|70|75|80|85|90|95|100">
/// Histogram for DP; bin edges are: 0|5|10|15|20|25|30|35|40|45|50|55|60|65|70|75|80|85|90|95|100.
pub dp_hist_all_bin_freq: Option<Vec<i32>>,
// ##INFO=<ID=dp_hist_all_n_larger,Number=A,Type=Integer,Description="Count of DP values falling above highest histogram bin edge">
/// Count of DP values falling above highest histogram bin edge.
pub dp_hist_all_n_larger: Option<i32>,
// ##INFO=<ID=ab_hist_alt_bin_freq,Number=A,Type=String,Description="Histogram for AB in heterozygous individuals; bin edges are: 0.00|0.05|0.10|0.15|0.20|0.25|0.30|0.35|0.40|0.45|0.50|0.55|0.60|0.65|0.70|0.75|0.80|0.85|0.90|0.95|1.00">
/// Histogram for AB in heterozygous individuals; bin edges are: 0.00|0.05|0.10|0.15|0.20|0.25|0.30|0.35|0.40|0.45|0.50|0.55|0.60|0.65|0.70|0.75|0.80|0.85|0.90|0.95|1.00.
pub ab_hist_alt_bin_freq: Option<Vec<f32>>,
// ##INFO=<ID=AC_nfe_seu,Number=A,Type=Integer,Description="Alternate allele count for samples of Southern European ancestry">
/// Alternate allele count for samples of Southern European ancestry.
pub ac_nfe_seu: Option<i32>,
// ##INFO=<ID=AN_nfe_seu,Number=1,Type=Integer,Description="Total number of alleles in samples of Southern European ancestry">
/// Total number of alleles in samples of Southern European ancestry.
pub an_nfe_seu: Option<i32>,
// ##INFO=<ID=AF_nfe_seu,Number=A,Type=Float,Description="Alternate allele frequency in samples of Southern European ancestry">
/// Alternate allele frequency in samples of Southern European ancestry.
pub af_nfe_seu: Option<f32>,
// ##INFO=<ID=nhomalt_nfe_seu,Number=A,Type=Integer,Description="Count of homozygous individuals in samples of Southern European ancestry">
/// Count of homozygous individuals in samples of Southern European ancestry.
pub nhomalt_nfe_seu: Option<i32>,
// ##INFO=<ID=controls_AC_afr_male,Number=A,Type=Integer,Description="Alternate allele count for male samples of African-American/African ancestry in the controls subset">
/// Alternate allele count for male samples of African-American/African ancestry in the controls subset
pub controls_ac_afr: Option<i32>,
// ##INFO=<ID=controls_AN_afr_male,Number=1,Type=Integer,Description="Total number of alleles in male samples of African-American/African ancestry in the controls subset">
/// Total number of alleles in male samples of African-American/African ancestry in the controls subset
pub controls_an_afr_male: Option<i32>,
// ##INFO=<ID=controls_AF_afr_male,Number=A,Type=Float,Description="Alternate allele frequency in male samples of African-American/African ancestry in the controls subset">
/// Alternate allele frequency in male samples of African-American/African ancestry in the controls subset
pub controls_af_afr_male: Option<f32>,
// ##INFO=<ID=controls_nhomalt_afr_male,Number=A,Type=Integer,Description="Count of homozygous individuals in male samples of African-American/African ancestry in the controls subset">
/// Count of homozygous individuals in male samples of African-American/African ancestry in the controls subset
pub controls_nhomalt_afr_male: Option<i32>,
// ##INFO=<ID=non_neuro_AC_eas_kor,Number=A,Type=Integer,Description="Alternate allele count for samples of Korean ancestry in the non_neuro subset">
/// Alternate allele count for samples of Korean ancestry in the non_neuro subset
pub non_neuro_ac_eas_kor: Option<i32>,
// ##INFO=<ID=non_neuro_AN_eas_kor,Number=1,Type=Integer,Description="Total number of alleles in samples of Korean ancestry in the non_neuro subset">
/// Total number of alleles in samples of Korean ancestry in the non_neuro subset
pub non_neuro_an_eas_kor: Option<i32>,
// ##INFO=<ID=non_neuro_AF_eas_kor,Number=A,Type=Float,Description="Alternate allele frequency in samples of Korean ancestry in the non_neuro subset">
/// Alternate allele frequency in samples of Korean ancestry in the non_neuro subset
pub non_neuro_af_eas_kor: Option<f32>,
// ##INFO=<ID=non_neuro_nhomalt_eas_kor,Number=A,Type=Integer,Description="Count of homozygous individuals in samples of Korean ancestry in the non_neuro subset">
/// Count of homozygous individuals in samples of Korean ancestry in the non_neuro subset
pub non_neuro_nhomalt_eas_kor: Option<i32>,
// ##INFO=<ID=non_topmed_AC_amr,Number=A,Type=Integer,Description="Alternate allele count for samples of Latino ancestry in the non_topmed subset">
/// Alternate allele count for samples of Latino ancestry in the non_topmed subset
pub non_topmed_ac_amr: Option<i32>,
// ##INFO=<ID=non_topmed_AN_amr,Number=1,Type=Integer,Description="Total number of alleles in samples of Latino ancestry in the non_topmed subset">
/// Total number of alleles in samples of Latino ancestry in the non_topmed subset
pub non_topmed_an_amr: Option<i32>,
// ##INFO=<ID=non_topmed_AF_amr,Number=A,Type=Float,Description="Alternate allele frequency in samples of Latino ancestry in the non_topmed subset">
/// Alternate allele frequency in samples of Latino ancestry in the non_topmed subset
pub non_topmed_af_amr: Option<f32>,
// ##INFO=<ID=non_topmed_nhomalt_amr,Number=A,Type=Integer,Description="Count of homozygous individuals in samples of Latino ancestry in the non_topmed subset">
/// Count of homozygous individuals in samples of Latino ancestry in the non_topmed subset
pub non_topmed_nhomalt_amr: Option<i32>,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment