Skip to content

Releases: monarch-initiative/gpsea

v0.9.0

13 Dec 09:12
a78077a
Compare
Choose a tag to compare

A release with a HUGE breaking change.

Until now, we have been using the word "predicate" in two contexts:

  • VariantPredicate for testing if a variant meets one or more criteria (is missense, is a SNV, ...)
  • genotype/phenotype predicate for assigning an individual into a genotype/phenotype category

The first context stays as is. However, from now on, we will use "classifier" and "class" for the assignment of an individual into a genotype/phenotype category.

Sadly, this results in a huge breaking change and practically all analyses will have to be updated. We outline the migration strategy below.

Migration strategy

A list of the most important updates

Item Replacement Comment
gpsea.analysis.predicate.genotype.VariantPredicate gpsea.analysis.predicate.VariantPredicate Moved with no change
gpsea.analysis.predicate.genotype.VariantPredicates gpsea.analysis.predicate The builtin predicates are now available in the module
gpsea.analysis.predicate.genotype.GenotypePolyPredicate gpsea.analysis.clf.GenotypeClassifier Moved and renamed
gpsea.analysis.predicate.phenotype.PhenotypePolyPredicate gpsea.analysis.clf.PhenotypeClassifier Moved and renamed
gpsea.analysis.predicate.genotype.monoallelic_predicate gpsea.analysis.clf.monoallelic_classifier Moved and renamed
gpsea.analysis.predicate.genotype.biallelic_predicate gpsea.analysis.clf.biallelic_classifier Moved and renamed
gpsea.analysis.predicate.genotype.allele_count gpsea.analysis.clf.allele_count Moved and renamed
gpsea.analysis.predicate.genotype.sex_predicate gpsea.analysis.clf.sex_classifier Moved and renamed
gpsea.analysis.predicate.genotype.diagnosis_predicate gpsea.analysis.clf.diagnosis_classifier Moved and renamed
gpsea.analysis.predicate.phenotype.prepare_predicates_for_terms_of_interest gpsea.analysis.clf.prepare_classifiers_for_terms_of_interest Moved and renamed

Please contact ielis to help with analysis migration.

What's Changed

  • Use classifiers instead of genotype/phenotype predicates. by @ielis in #381

Full Changelog: v0.8.0...v0.9.0

v0.8.0

11 Dec 13:49
f9fe293
Compare
Choose a tag to compare

What's Changed

  • Revise reports by @ielis in #354
  • Include test statistics (not just the p values) by @pnrobinson in #357
  • Harmonize caching by @ielis in #361
  • Update documentation for CountingPhenotypeScorer by @pnrobinson in #360
  • Add TRANSMEMBRANE and TOPOLOGICAL DOMAIN to protein types by @pnrobinson in #359
  • Fetch a few more feature types from Uniprot by @ielis in #369
  • CohortViewer needs transcript ID to visualize a cohort by @ielis in #370
  • Report analysis errors by @ielis in #372
  • Use Ruff to lint and format by @ielis in #374
  • Remove case study notebooks by @ielis in #375
  • Remove dev files by @ielis in #376
  • Enhance the documentation, explain genotype predicates with figures by @ielis in #348
  • Improve the docs for specified terms MT filter by @ielis in #378
  • Ignore the inconsistent transcripts when getting transcripts for a gene from Variant Validator by @ielis in #379

Full Changelog: v0.7.1...v0.8.0

v0.7.1

15 Nov 11:03
0abc3aa
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.0...v0.7.1

v0.7.0

29 Oct 15:58
d5c3769
Compare
Choose a tag to compare

What's Changed

  • Use ancestors to implement HPO phenotype predicate by @ielis in #325
  • Simplify the mode of inheritance predicates by @ielis in #307
  • Simplify the variant predicates that target protein features by @ielis in #329
  • Improve docs for the VariantPredicates.region predicate by @ielis in #330
  • Generalize analysis results by @ielis in #331
  • Show how to plot Kaplan-Meier curves by @ielis in #332
  • Standardize metadata of the analysis components by @ielis in #334
  • Counting male and female individuals for CohortViewer by @pnrobinson in #328
  • Expose more analysis components by @ielis in #336
  • Fix Q/C reporting by @ielis in #337

Full Changelog: v0.6.0...v0.7.0

v0.6.0

21 Oct 08:57
46bc519
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.0...v0.6.0

v0.5.0

07 Oct 13:14
1a03d36
Compare
Choose a tag to compare

What's Changed

  • Simplify the autosomal recessive and biallelic predicates by @ielis in #293
  • Allow using measurements as phenotype scores by @ielis in #289
  • Improve protein variant table by @pnrobinson in #292
  • Fix bug if there are no protein features by @lnrekerle in #297
  • Update tests to reflect the genotype category label changes by @ielis in #302
  • Allow to filter on annotation frequency by @pnrobinson in #299
  • Remove HMF04 from HPO MTC filter by @ielis in #288
  • The nan phenotype scores will be ignored by @ielis in #303
  • Remove notebooks by @pnrobinson in #298

Full Changelog: v0.4.1...v0.5.0

v0.4.1

25 Sep 14:18
e3fcda9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.4.1

v0.4.0

13 Sep 19:13
1328f14
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.4.0

v0.3.0

04 Sep 14:08
f23741a
Compare
Choose a tag to compare

What's Changed

  • Improve the MTC user guide section by @ielis in #234
  • Updates all the notebooks to use gpsea by @lnrekerle in #235
  • Create de Vries scorer, support wrapping phenotype scoring function by @ielis in #232
  • Handle inheritance modes by @ielis in #239
  • Prevent creating a cohort from individuals who include duplicates by @lnrekerle in #238
  • Simplify phenopacket loading functions by @ielis in #242
  • Add T test by @ielis in #243
  • Remove obsolete analysis code by @ielis in #244
  • Allow using Sex and disease diagnosis as a genotype predicate by @ielis in #245

Full Changelog: v0.2.0...v0.3.0

v0.2.0

27 Aug 13:21
8505fbf
Compare
Choose a tag to compare

A lot of progress was made since the last version.

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.2.0