Skip to content

Commit

Permalink
Merge pull request PGScatalog#346 from fyvon/documentation/scoringfil…
Browse files Browse the repository at this point in the history
…e_schema_apr2024

Updating scoring file schema with effect/other allele description note (apr2024)
  • Loading branch information
fyvon authored Apr 16, 2024
2 parents aba1d9a + 549c945 commit f0519d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions catalog/templates/catalog/downloads/formatted_files.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ <h5 id="scoring_columns" class="mt-5"><i class="fas fa-th pgs_color_1 mr-2"></i>
<tbody>
<tr class="table-tr-hl"><td colspan="4"><i class="fas fa-chevron-right pgs_color"></i> Variant Description:</td></tr>
<tr><td>rsID</td><td>dbSNP Accession ID (rsID)</td><td><span style="cursor:pointer" data-toggle="tooltip" data-placement="right" data-html="true" title="Unless both the <b>chr_name</b> and <b>chr_position</b> columns are absent"><span class="badge pgs_bg_color_amber">Optional</span> <span class="fas fa-info-circle pgs_color_1"></span></span></td><td>The SNP’s rs ID.<br/>This column also contains HLA alleles in the standard notation (e.g. HLA-DQA1*0102) that aren’t always provided with chromosomal positions.</td></tr>
<tr><td>chr_name</td><td>Location - Chromosome </td><td><span style="cursor:pointer" data-toggle="tooltip" data-placement="right" data-html="true" title="May be optional if an <b>rsID</b> for the variant is provided"><span class="badge pgs_bg_color_red">Required</span> <span class="fas fa-info-circle pgs_color_1"></span></span></td><td>Chromosome name/number associated with the variant</td></tr>
<tr><td>chr_position</td><td>Location within the Chromosome</td><td><span style="cursor:pointer" data-toggle="tooltip" data-placement="right" data-html="true" title="May be optional if an <b>rsID</b> for the variant is provided"><span class="badge pgs_bg_color_red">Required</span> <span class="fas fa-info-circle pgs_color_1"></span></span></td><td>Chromosomal position associated with the variant</td></tr>
<tr><td>effect_allele</td><td>Effect Allele</td><td><span class="badge pgs_bg_color_red">Required</span></td><td>The allele that's dosage is counted (e.g. {0, 1, 2}) and multiplied by the variant's weight (<b>effect_weight</b>) when calculating score. The effect allele is also known as the 'risk allele'.</td></tr>
<tr><td>other_allele</td><td>Other allele(s)</td><td><span style="cursor:pointer" data-toggle="tooltip" data-placement="right" data-html="true" title="Optional, however this column is strongly recommended"><span class="badge pgs_bg_color_amber">Recommended</span> <span class="fas fa-info-circle pgs_color_1"></span></span></td><td>The other allele(s) at the loci</td></tr>
<tr><td>chr_name</td><td>Location - Chromosome </td><td><span style="cursor:pointer" data-toggle="tooltip" data-placement="right" data-html="true" title="May be optional if an <b>rsID</b> for the variant is provided"><span class="badge pgs_bg_color_red">Required</span> <span class="fas fa-info-circle pgs_color_1"></span></span></td><td>Chromosome name/number associated with the variant.</td></tr>
<tr><td>chr_position</td><td>Location within the Chromosome</td><td><span style="cursor:pointer" data-toggle="tooltip" data-placement="right" data-html="true" title="May be optional if an <b>rsID</b> for the variant is provided"><span class="badge pgs_bg_color_red">Required</span> <span class="fas fa-info-circle pgs_color_1"></span></span></td><td>Chromosomal position associated with the variant.</td></tr>
<tr><td>effect_allele</td><td>Effect Allele</td><td><span class="badge pgs_bg_color_red">Required</span></td><td>The allele that's dosage is counted (e.g. {0, 1, 2}) and multiplied by the variant's weight (<b>effect_weight</b>) when calculating score. The effect allele is also known as the 'risk allele'. Note: this does not necessarily need to correspond to the minor allele/alternative allele.</td></tr>
<tr><td>other_allele</td><td>Other allele(s)</td><td><span style="cursor:pointer" data-toggle="tooltip" data-placement="right" data-html="true" title="Optional, however this column is strongly recommended"><span class="badge pgs_bg_color_amber">Recommended</span> <span class="fas fa-info-circle pgs_color_1"></span></span></td><td>The other allele(s) at the loci. Note: this does not necessarily need to correspond to the reference allele.</td></tr>
<tr><td>locus_name</td><td>Locus Name</td><td><span class="badge pgs_bg_color_green">Optional</span></td><td>This is kept in for loci where the variant may be referenced by the gene (APOE e4). It is also common (usually in smaller PGS) to see the variants named according to the genes they impact.</td></tr>
<tr><td>is_haplotype<br>is_diplotype</td><td>FLAG: Haplotype or Diplotype</td><td><span class="badge pgs_bg_color_green">Optional</span></td><td>This is a TRUE/FALSE variable that flags whether the effect allele is a haplotype/diplotype rather than a single SNP. Constituent SNPs in the haplotype are semi-colon separated. </td></tr>
<tr><td>imputation_method</td><td>Imputation Method</td><td><span class="badge pgs_bg_color_green">Optional</span></td><td>This described whether the variant was specifically called with a specific imputation or variant calling method. This is mostly kept to describe HLA-genotyping methods (e.g. flag SNP2HLA, HLA*IMP) that gives alleles that are not referenced by genomic position.</td></tr>
Expand Down

0 comments on commit f0519d6

Please sign in to comment.