|
79 | 79 | approach. Finally, note that PyPGx is compatible with both of the Genome |
80 | 80 | Reference Consortium Human (GRCh) builds, GRCh37 (hg19) and GRCh38 (hg38). |
81 | 81 |
|
82 | | -There are currently 87 pharmacogenes in PyPGx: |
| 82 | +There are currently 88 pharmacogenes in PyPGx: |
83 | 83 |
|
84 | 84 | .. list-table:: |
85 | 85 |
|
|
141 | 141 | * - IFNL3 |
142 | 142 | - ITGB3 |
143 | 143 | - ITPA |
| 144 | + - MT-RNR1 |
144 | 145 | - MTHFR |
145 | | - - NAT1 |
146 | | - * - NAT2 |
| 146 | + * - NAT1 |
| 147 | + - NAT2 |
147 | 148 | - NUDT15 |
148 | 149 | - OPRK1 |
149 | 150 | - OPRM1 |
150 | | - - POR |
151 | | - * - PTGIS |
| 151 | + * - POR |
| 152 | + - PTGIS |
152 | 153 | - RARG |
153 | 154 | - RYR1 |
154 | 155 | - SLC6A4 |
155 | | - - SLC15A2 |
156 | | - * - SLC22A2 |
| 156 | + * - SLC15A2 |
| 157 | + - SLC22A2 |
157 | 158 | - SLC28A3 |
158 | 159 | - SLC47A2 |
159 | 160 | - SLCO1B1 |
160 | | - - SLCO1B3 |
161 | | - * - SLCO2B1 |
| 161 | + * - SLCO1B3 |
| 162 | + - SLCO2B1 |
162 | 163 | - SULT1A1 |
163 | 164 | - TBXAS1 |
164 | 165 | - TPMT |
165 | | - - UGT1A1 |
166 | | - * - UGT1A4 |
| 166 | + * - UGT1A1 |
| 167 | + - UGT1A4 |
167 | 168 | - UGT1A6 |
168 | 169 | - UGT2B7 |
169 | 170 | - UGT2B15 |
170 | | - - UGT2B17 |
171 | | - * - VKORC1 |
| 171 | + * - UGT2B17 |
| 172 | + - VKORC1 |
172 | 173 | - XPC |
173 | 174 | - |
174 | 175 | - |
175 | | - - |
176 | 176 |
|
177 | 177 | Your contributions (e.g. feature ideas, pull requests) are most welcome. |
178 | 178 |
|
|
577 | 577 |
|
578 | 578 | - Method 1. Simple diplotype-phenotype mapping: This method directly uses the |
579 | 579 | diplotype-phenotype mapping as defined by CPIC or PharmGKB. Using the |
580 | | - CYP2B6 gene as an example, the diplotypes \*6/\*6, \*1/\*29, \*1/\*2, |
581 | | - \*1/\*4, and \*4/\*4 correspond to Poor Metabolizer, Intermediate |
| 580 | + CYP2B6 gene as an example, the diplotypes \\*6/\\*6, \\*1/\\*29, \\*1/\\*2, |
| 581 | + \\*1/\\*4, and \\*4/\\*4 correspond to Poor Metabolizer, Intermediate |
582 | 582 | Metabolizer, Normal Metabolizer, Rapid Metabolizer, and Ultrarapid |
583 | 583 | Metabolizer. |
584 | 584 | - Method 2. Summation of haplotype activity scores: This method uses a |
585 | 585 | standard unit of enzyme activity known as an activity score. Using the |
586 | | - CYP2D6 gene as an example, the fully functional reference \*1 allele is |
587 | | - assigned a value of 1, decreased-function alleles such as \*9 and \*17 |
588 | | - receive a value of 0.5, and nonfunctional alleles including \*4 and \*5 |
| 586 | + CYP2D6 gene as an example, the fully functional reference \\*1 allele is |
| 587 | + assigned a value of 1, decreased-function alleles such as \\*9 and \\*17 |
| 588 | + receive a value of 0.5, and nonfunctional alleles including \\*4 and \\*5 |
589 | 589 | have a value of 0. The sum of values assigned to both alleles constitutes |
590 | | - the activity score of a diplotype. Consequently, subjects with \*1/\*1, |
591 | | - \*1/\*4, and \*4/\*5 diplotypes have an activity score of 2 (Normal |
| 590 | + the activity score of a diplotype. Consequently, subjects with \\*1/\\*1, |
| 591 | + \\*1/\\*4, and \\*4/\\*5 diplotypes have an activity score of 2 (Normal |
592 | 592 | Metabolizer), 1 (Intermediate Metabolizer), and 0 (Poor Metabolizer), |
593 | 593 | respectively. |
594 | 594 |
|
|
718 | 718 | - VariantData |
719 | 719 | - CNV |
720 | 720 | * - NA11839 |
721 | | - - \*1/\*2 |
| 721 | + - \\*1/\\*2 |
722 | 722 | - Normal Metabolizer |
723 | | - - \*1; |
724 | | - - \*2; |
| 723 | + - \\*1; |
| 724 | + - \\*2; |
725 | 725 | - ; |
726 | | - - \*1:22-42522613-G-C,22-42523943-A-G:0.5,0.488;\*2:default |
| 726 | + - \\*1:22-42522613-G-C,22-42523943-A-G:0.5,0.488;\\*2:default |
727 | 727 | - Normal |
728 | 728 | * - NA12006 |
729 | | - - \*4/\*41 |
| 729 | + - \\*4/\\*41 |
730 | 730 | - Intermediate Metabolizer |
731 | | - - \*41;\*2; |
732 | | - - \*4;\*10;\*2; |
733 | | - - \*69; |
734 | | - - \*69:22-42526694-G-A,22-42523805-C-T:0.5,0.551;\*4:22-42524947-C-T:0.444;\*10:22-42523943-A-G,22-42526694-G-A:0.55,0.5;\*41:22-42523805-C-T:0.551;\*2:default; |
| 731 | + - \\*41;\\*2; |
| 732 | + - \\*4;\\*10;\\*2; |
| 733 | + - \\*69; |
| 734 | + - \\*69:22-42526694-G-A,22-42523805-C-T:0.5,0.551;\\*4:22-42524947-C-T:0.444;\\*10:22-42523943-A-G,22-42526694-G-A:0.55,0.5;\\*41:22-42523805-C-T:0.551;\\*2:default; |
735 | 735 | - Normal |
736 | 736 | * - HG00276 |
737 | | - - \*4/\*5 |
| 737 | + - \\*4/\\*5 |
738 | 738 | - Poor Metabolizer |
739 | | - - \*4;\*10;\*74;\*2; |
740 | | - - \*10;\*74;\*2; |
| 739 | + - \\*4;\\*10;\\*74;\\*2; |
| 740 | + - \\*10;\\*74;\\*2; |
741 | 741 | - ; |
742 | | - - \*4:22-42524947-C-T:0.913;\*10:22-42523943-A-G,22-42526694-G-A:1.0,1.0;\*74:22-42525821-G-T:1.0;\*2:default; |
| 742 | + - \\*4:22-42524947-C-T:0.913;\\*10:22-42523943-A-G,22-42526694-G-A:1.0,1.0;\\*74:22-42525821-G-T:1.0;\\*2:default; |
743 | 743 | - WholeDel1 |
744 | 744 | * - NA19207 |
745 | | - - \*2x2/\*10 |
| 745 | + - \\*2x2/\\*10 |
746 | 746 | - Normal Metabolizer |
747 | | - - \*10;\*2; |
748 | | - - \*2; |
| 747 | + - \\*10;\\*2; |
| 748 | + - \\*2; |
749 | 749 | - ; |
750 | | - - \*10:22-42523943-A-G,22-42526694-G-A:0.361,0.25;\*2:default; |
| 750 | + - \\*10:22-42523943-A-G,22-42526694-G-A:0.361,0.25;\\*2:default; |
751 | 751 | - WholeDup1 |
752 | 752 |
|
753 | 753 | This list explains each of the columns in the example results. |
754 | 754 |
|
755 | 755 | - **Genotype**: Diplotype call. When there is no SV this simply combines the two top-ranked star alleles from **Haplotype1** and **Haplotype2** with the delimiter '/'. In the presence of SV the final diplotype is determined using one of the genotypers in the ``pypgx.api.genotype`` module (e.g. `CYP2D6Genotyper <https://pypgx.readthedocs.io/en/latest/api.html#pypgx.api.genotype.CYP2D6Genotyper>`__). |
756 | 756 | - **Phenotype**: Phenotype call. |
757 | | -- **Haplotype1**, **Haplotype2**: List of candidate star alleles for each haplotype. For example, if a given haplotype contains three variants ``22-42523943-A-G``, ``22-42524947-C-T``, and ``22-42526694-G-A``, then it will get assigned ``*4;*10;`` because the haplotype pattern can fit both \*4 (``22-42524947-C-T``) and \*10 (``22-42523943-A-G`` and ``22-42526694-G-A``). Note that \*4 comes first before \*10 because it has higher priority for reporting purposes (see the ``pypgx.sort_alleles`` `method <https://pypgx.readthedocs.io/en/latest/api.html#pypgx.api.core.sort_alleles>`__ for detailed implementation). |
758 | | -- **AlternativePhase**: List of star alleles that could be missed due to potentially incorrect statistical phasing. For example, let's assume that statistical phasing has put ``22-42526694-G-A`` for **Haplotype1** and ``22-42523805-C-T`` for **Haplotype2**. Even though the two variants are in trans orientation, PyPGx will also consider alternative phase in case the two variants are actually in cis orientation, resulting in ``*69;`` as **AlternativePhase** because \*69 is defined by ``22-42526694-G-A`` and ``22-42523805-C-T``. |
759 | | -- **VariantData**: Information for SNVs/indels used to define observed star alleles, including allele fraction which is important for allelic decomposition after identifying CNV (e.g. the sample NA19207). In some situations, there will not be any variants for a given star allele because the allele itself is "default" allele for the selected reference assembly (e.g. GRCh37 has \*2 as default while GRCh38 has \*1). |
| 757 | +- **Haplotype1**, **Haplotype2**: List of candidate star alleles for each haplotype. For example, if a given haplotype contains three variants ``22-42523943-A-G``, ``22-42524947-C-T``, and ``22-42526694-G-A``, then it will get assigned ``*4;*10;`` because the haplotype pattern can fit both \\*4 (``22-42524947-C-T``) and \\*10 (``22-42523943-A-G`` and ``22-42526694-G-A``). Note that \\*4 comes first before \\*10 because it has higher priority for reporting purposes (see the ``pypgx.sort_alleles`` `method <https://pypgx.readthedocs.io/en/latest/api.html#pypgx.api.core.sort_alleles>`__ for detailed implementation). |
| 758 | +- **AlternativePhase**: List of star alleles that could be missed due to potentially incorrect statistical phasing. For example, let's assume that statistical phasing has put ``22-42526694-G-A`` for **Haplotype1** and ``22-42523805-C-T`` for **Haplotype2**. Even though the two variants are in trans orientation, PyPGx will also consider alternative phase in case the two variants are actually in cis orientation, resulting in ``*69;`` as **AlternativePhase** because \\*69 is defined by ``22-42526694-G-A`` and ``22-42523805-C-T``. |
| 759 | +- **VariantData**: Information for SNVs/indels used to define observed star alleles, including allele fraction which is important for allelic decomposition after identifying CNV (e.g. the sample NA19207). In some situations, there will not be any variants for a given star allele because the allele itself is "default" allele for the selected reference assembly (e.g. GRCh37 has \\*2 as default while GRCh38 has \\*1). |
760 | 760 | - **CNV**: Structural variation call. See the `Structural variation detection <https://pypgx.readthedocs.io/en/latest/readme.html#structural-variation-detection>`__ section for more details. |
761 | 761 |
|
762 | 762 | Getting help |
|
0 commit comments