Skip to content

Commit 1b0ec72

Browse files
authored
Merge pull request #28 from sbslee/0.7.0-dev
0.7.0 dev
2 parents 79c8d9d + 68e59af commit 1b0ec72

47 files changed

Lines changed: 1743 additions & 695 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.rst

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
Changelog
22
*********
33

4+
0.7.0 (2021-10-23)
5+
------------------
6+
7+
* Fix minor bug in :meth:`api.core.predict_phenotype` when specified diplotype is not present in diplotype table.
8+
* Dissolve **Database of Pharmacogenomic Structural Variants (DPSV)** page and move its SV data to **Genes** page.
9+
* Add new method :meth:`api.core.get_variant_impact`.
10+
* Update :meth:`api.utils.sort_alleles` method to give priority to alleles that impact protein coding when breaking ties (i.e. alleles have the same functional status and same number of variants).
11+
* Update CNV caller for SLC22A2 and UGT2B15 genes.
12+
* Rename ``--chr-prefix`` argument in :command:`create-regions-bed` to ``--add-chr-prefix``.
13+
* Add ``--samples`` argument to :command:`run-ngs-pipeline` command.
14+
* Add new command :command:`compare-genotypes`.
15+
* Update :meth:`api.genotype.call_genotypes` method to assume the samples have no SV when CNV calls are not provided even if the target gene is known to have SV.
16+
* Add new command :command:`run-chip-pipeline`.
17+
* Fix minor bug in :command:`estimate-phase-beagle` command on not properly exiting the program even though there was an error raised by Beagle.
18+
* Update :meth:`api.utils.create_consolidated_vcf` method to check synonymous variants as well when performing phase-extension algorithm.
19+
* Update :command:`run-ngs-pipeline` command to output a warning when user provides CovFrame[DepthOfCoverage] even though target gene does not have any star alleles defined by SVs.
20+
* Add new argument ``--fontsize`` argument to :command:`plot-bam-copy-number` command.
21+
* Remove ``--ymin`` and ``--ymax`` arguments from :command:`plot-vcf-allele-fraction` command.
22+
* Update ``--ymin`` and ``--ymax`` arguments of :command:`plot-bam-copy-number` command to have a default value.
23+
* Add new command :command:`plot-cn-af`.
24+
* Update :command:`run-ngs-pipeline` command to output a warning when user provides a VCF file even though target gene does not have any star alleles defined by SNVs/indels.
25+
* Update aesthetics of copy number profile and allele fraction profile.
26+
* Add new method :meth:`api.utils.count_alleles`.
27+
* Update variant information for following alleles: CYP2A6\*35, UGT1A1\*28, UGT1A1\*37.
28+
429
0.6.0 (2021-10-09)
530
------------------
631

@@ -45,10 +70,10 @@ Changelog
4570
* Update :command:`create-consolidated-vcf` command to implement phase-extension algorithm.
4671
* Remove ``SO`` and ``Type`` columns from the variant table.
4772
* Update :class:`api.genotype.GSTM1Genotyper` class.
48-
* Update variant information for following alleles: CYP1A2\*1C, CYP1A2\*1F, CYP1A2\*1K, CYP1A2\*1L, CYP2B6\*17, CYP2D6\*15, CYP2D6\*21, SLCO1B1\*S1, SLCO1B1\*S2.
4973
* Add ``NotTargetGeneError`` error.
5074
* Add new method ``api.utils.is_target_gene``.
5175
* Update :command:`run-ngs-pipeline` command to check whether input gene is one of the target genes before attempting to run the pipeline.
76+
* Update variant information for following alleles: CYP1A2\*1C, CYP1A2\*1F, CYP1A2\*1K, CYP1A2\*1L, CYP2B6\*17, CYP2D6\*15, CYP2D6\*21, SLCO1B1\*S1, SLCO1B1\*S2.
5277

5378
0.4.1 (2021-09-21)
5479
------------------

README.rst

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ In order to efficiently store and transfer data, PyPGx uses the ZIP archive file
101101
- Target gene.
102102
- ``CYP2D6``, ``GSTT1``
103103
* - ``Platform``
104-
- NGS platform.
105-
- ``WGS``, ``Targeted``
104+
- Genotyping platform.
105+
- ``WGS``, ``Targeted``, ``Chip``
106106
* - ``Program``
107107
- Name of the phasing program.
108108
- ``Beagle``
@@ -129,7 +129,7 @@ Notably, all archive files have defined semantic types, which allows us to ensur
129129
* Requires following metadata: ``Gene``, ``Assembly``, ``SemanticType``, ``Control``.
130130
- ``SampleTable[Alleles]``
131131
* TSV file for storing target gene's candidate star alleles for each sample.
132-
* Requires following metadata: ``Gene``, ``Assembly``, ``SemanticType``, ``Program``.
132+
* Requires following metadata: ``Platform``, ``Gene``, ``Assembly``, ``SemanticType``, ``Program``.
133133
- ``SampleTable[CNVCalls]``
134134
* TSV file for storing target gene's CNV call for each sample.
135135
* Requires following metadata: ``Gene``, ``Assembly``, ``SemanticType``, ``Control``.
@@ -147,13 +147,13 @@ Notably, all archive files have defined semantic types, which allows us to ensur
147147
* Requires following metadata: ``Control``, ``Assembly``, ``SemanticType``, ``Platform``.
148148
- ``VcfFrame[Consolidated]``
149149
* VcfFrame for storing target gene's consolidated variant data.
150-
* Requires following metadata: ``Gene``, ``Assembly``, ``SemanticType``, ``Program``.
150+
* Requires following metadata: ``Platform``, ``Gene``, ``Assembly``, ``SemanticType``, ``Program``.
151151
- ``VcfFrame[Imported]``
152152
* VcfFrame for storing target gene's raw variant data.
153-
* Requires following metadata: ``Gene``, ``Assembly``, ``SemanticType``.
153+
* Requires following metadata: ``Platform``, ``Gene``, ``Assembly``, ``SemanticType``.
154154
- ``VcfFrame[Phased]``
155155
* VcfFrame for storing target gene's phased variant data.
156-
* Requires following metadata: ``Gene``, ``Assembly``, ``SemanticType``, ``Program``.
156+
* Requires following metadata: ``Platform``, ``Gene``, ``Assembly``, ``SemanticType``, ``Program``.
157157

158158
Getting help
159159
============
@@ -169,37 +169,40 @@ For getting help on the CLI:
169169
170170
positional arguments:
171171
COMMAND
172-
call-genotypes Call genotypes for target gene.
172+
call-genotypes Call genotypes for the target gene.
173173
call-phenotypes Call phenotypes for the target gene.
174174
combine-results Combine various results for the target gene.
175+
compare-genotypes Calculate concordance rate between two genotype results.
175176
compute-control-statistics
176-
Compute various statistics for control gene with BAM data.
177+
Compute summary statistics for the control gene from BAM files.
177178
compute-copy-number
178-
Compute copy number from read depth for target gene.
179+
Compute copy number from read depth for the target gene.
179180
compute-target-depth
180-
Compute read depth for target gene with BAM data.
181+
Compute read depth for the target gene from BAM files.
181182
create-consolidated-vcf
182-
Create consolidated VCF.
183+
Create a consolidated VCF file.
183184
create-regions-bed Create a BED file which contains all regions used by PyPGx.
184185
estimate-phase-beagle
185186
Estimate haplotype phase of observed variants with the Beagle program.
186187
filter-samples Filter Archive file for specified samples.
187188
import-read-depth Import read depth data for target gene.
188189
import-variants Import variant data for the target gene.
189190
plot-bam-copy-number
190-
Plot copy number profile with BAM data.
191+
Plot copy number profile from CovFrame[CopyNumber].
191192
plot-bam-read-depth
192193
Plot read depth profile with BAM data.
194+
plot-cn-af Plot both copy number profile and allele fraction profile in one figure.
193195
plot-vcf-allele-fraction
194196
Plot allele fraction profile with VCF data.
195197
plot-vcf-read-depth
196198
Plot read depth profile with VCF data.
197199
predict-alleles Predict candidate star alleles based on observed variants.
198-
predict-cnv Predict CNV for target gene based on copy number data.
200+
predict-cnv Predict CNV for the target gene based on copy number data.
199201
prepare-depth-of-coverage
200202
Prepare a depth of coverage file for all target genes with SV.
201203
print-metadata Print the metadata of specified archive.
202-
run-ngs-pipeline Run NGS pipeline for the target gene.
204+
run-chip-pipeline Run PyPGx's genotyping pipeline for chip data.
205+
run-ngs-pipeline Run PyPGx's genotyping pipeline for NGS data.
203206
test-cnv-caller Test a CNV caller for the target gene.
204207
train-cnv-caller Train a CNV caller for the target gene.
205208

0 commit comments

Comments
 (0)