You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The post describes how to add a new target gene to PyPGx using the ACYP2 gene as an example.
Step 1. Define the target region
We can use UCSC Table Browser to find the target region for ACYP2:
Below is the output for
assembly: Dec. 2013 (GRCh38/hg38)
:We will use the NM_138448.4 transcript, but for the final region, we need to add +/- 3 kb (i.e., chr2:54112614-54308300).
Step 2. Download 1KGP reference panels
PyPGx uses 1KGP Phase 3 data for GRCh37 (The 1000 Genomes Project Consortium, 2015, Nature) and 1KGP NYGC 30x WGS data for GRCh38 (Byrska-Bishop et al., 2021, Cell).
Since ACYP2 is located on chromosome 2, we need to download a chr2 panel for each genome assembly:
(GRCh37)
chr2.1kg.phase3.v5a.vcf.gz
(GRCh37)
chr2.1kg.phase3.v5a.vcf.gz.tbi
(GRCh38)
1kGP_high_coverage_Illumina.chr2.filtered.SNV_INDEL_SV_phased_panel.vcf.gz
(GRCh38)
1kGP_high_coverage_Illumina.chr2.filtered.SNV_INDEL_SV_phased_panel.vcf.gz.tbi
Step 3. Update
pypgx-bundle
Next, we should slice each VCF file to create a mini-VCF file and upload it to
pypgx-bundle
:Step 4. Update CSV files
First, we need to update the
gene-table.csv
file:Then, we update the
variant-table.csv
file:Finally, we need to update the
allele-table.csv
file:Step 5. Update the docs
The following files need to be updated:
Beta Was this translation helpful? Give feedback.
All reactions