Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.8.0 #380

Merged
merged 91 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
5a5a6a9
Update typing annotations in genome.
ielis Nov 4, 2024
b016b85
Improve `index` and `setup`.
ielis Nov 4, 2024
20e723a
Merge remote-tracking branch 'origin/develop' into improve-docs
ielis Nov 12, 2024
16f4eaa
Include CYP21A2 cohort in the tests.
ielis Nov 14, 2024
0c808cd
Show HPO info in it's section.
ielis Nov 14, 2024
ec49ece
Improve Cohort report styling.
ielis Nov 14, 2024
595cbe0
Setup colors and base template.
ielis Nov 14, 2024
c5f2da2
Improve layout.
ielis Nov 14, 2024
6aadca5
Simplify `MtcStatsViewer`.
ielis Nov 14, 2024
8f171a4
Update variant viewer.
ielis Nov 14, 2024
7d6c1ba
Revise `ProteinVariantViewer`.
ielis Nov 14, 2024
f3977e2
Regenerate doc materials.
ielis Nov 14, 2024
48fb146
Skip manual tests.
ielis Nov 14, 2024
54f3c0e
Add missing `super().__init__()` call.
ielis Nov 14, 2024
0f4851f
Centralize flag for controlling generation of embedded doc elements.
ielis Nov 15, 2024
f936a4a
Remove `_report` package.
ielis Nov 15, 2024
7389277
Group viewers into a single module.
ielis Nov 15, 2024
d7e5e96
Next development iteration `0.7.2.dev0`.
ielis Nov 15, 2024
f531496
Merge branch 'develop' into ielis/issue353
ielis Nov 15, 2024
54e8b51
Add dark mode, apply the style solely to the report.
ielis Nov 15, 2024
05e6492
Merge pull request #354 from monarch-initiative/ielis/issue353
ielis Nov 15, 2024
7f596b1
also return t statistic (not just the p value)
pnrobinson Nov 15, 2024
f328f17
Disable dark mode.
ielis Nov 15, 2024
c1f7102
Adding TRANSMEMBRANE and TOPOLOGICAL DOMAIN to protein types for disp…
pnrobinson Nov 18, 2024
7adadce
updating documentation for CountingPhenotypeScorer
pnrobinson Nov 18, 2024
59c7b1a
Wrap p value in a container and include an optional statistic for all…
ielis Nov 21, 2024
fa4c3fb
Merge branch 'develop' into t_stat
ielis Nov 21, 2024
7106f22
Keep track of both statistic and the result.
ielis Nov 21, 2024
218e35b
Merge pull request #357 from monarch-initiative/t_stat
ielis Nov 21, 2024
f6cb5b5
Harmonize caching. Cache in JSON format instead of pickle. Update tes…
ielis Nov 22, 2024
ecbcb95
Use default protein metadata service in tutorial.
ielis Nov 22, 2024
d453d40
Merge pull request #361 from monarch-initiative/serialize-our-stuff
ielis Nov 22, 2024
bea106e
Merge remote-tracking branch 'origin/develop' into topological_domain
ielis Nov 22, 2024
8809f75
MInor doc tweaks.
ielis Nov 25, 2024
190d6e1
Merge remote-tracking branch 'origin/develop' into u-score-documentation
ielis Nov 26, 2024
e57df42
Merge remote-tracking branch 'origin/develop' into topological_domain
ielis Nov 26, 2024
be10016
Merge pull request #359 from monarch-initiative/topological_domain
ielis Nov 26, 2024
9837ea7
Remove test protein service.
ielis Nov 28, 2024
d242628
Merge branch 'develop' into disable-dark-mode
ielis Nov 28, 2024
37fa338
Merge pull request #358 from monarch-initiative/disable-dark-mode
ielis Nov 28, 2024
817e3f7
Merge branch 'develop' into improve-docs
ielis Nov 28, 2024
02b263c
Wordsmith the tutorial.
ielis Nov 28, 2024
7ad268b
Update `index`.
ielis Nov 29, 2024
1f5cdb8
Update `setup` & `tutorial`.
ielis Nov 29, 2024
9f34cbe
Improve `input-data` docs.
ielis Nov 29, 2024
b5f4dd7
Fetch a few more feature types from Uniprot.
ielis Dec 2, 2024
27eb22f
Update test cache.
ielis Dec 2, 2024
a7104e1
Use a proper variant key for caching.
ielis Dec 2, 2024
3a7a945
Simplify CI script.
ielis Dec 4, 2024
c878d54
Simplify config checks.
ielis Dec 4, 2024
cedcefa
Update test cache.
ielis Dec 4, 2024
d86055c
Use `str` instead of a `gpsea.model.FeatureType`.
ielis Dec 4, 2024
edf3306
Merge pull request #369 from monarch-initiative/improve-uniprot-respo…
ielis Dec 4, 2024
346780a
Transcript id is a must for `CohortViewer`.
ielis Dec 4, 2024
e234924
Merge pull request #370 from monarch-initiative/require-tx-id-in-coho…
ielis Dec 4, 2024
21e565c
P val can be `NaN` in `StatisticResult`.
ielis Dec 5, 2024
41ec006
Raise `AnalysisException` for weird datasets along with data computed…
ielis Dec 5, 2024
6f65cdd
Merge pull request #372 from monarch-initiative/ielis/issue371
ielis Dec 5, 2024
b938fa8
Merge branch 'develop' into improve-docs
ielis Dec 5, 2024
ce684fb
Fix lints.
ielis Dec 5, 2024
555c628
Refine `user-guide/index`.
ielis Dec 5, 2024
4c225af
Update input data section.
ielis Dec 5, 2024
c948964
Update exploratory section.
ielis Dec 5, 2024
4f6be93
Restructure the user guide into three sections.
ielis Dec 6, 2024
3b15214
Add figures to genotype predicates.
ielis Dec 8, 2024
9ab215e
Add a config file.
ielis Dec 8, 2024
59ada8d
Ignore ruff cache.
ielis Dec 9, 2024
1c1dc32
Remove `.flake8`.
ielis Dec 9, 2024
c7228eb
Remove case study notebooks
ielis Dec 9, 2024
8cfbceb
Merge pull request #374 from monarch-initiative/reformat-with-ruff
ielis Dec 9, 2024
3c8d7db
Merge branch 'develop' into remove-case-studies
ielis Dec 9, 2024
48529e9
Merge pull request #375 from monarch-initiative/remove-case-studies
ielis Dec 9, 2024
8bfad1f
Merge branch 'develop' into improve-docs
ielis Dec 9, 2024
13fd8cf
Remove `dev` files.
ielis Dec 9, 2024
4c51d03
Merge pull request #376 from monarch-initiative/remove-dev-files
ielis Dec 9, 2024
212f4e1
Merge remote-tracking branch 'origin/develop' into improve-docs
ielis Dec 9, 2024
6118a9c
Add figures to mono- and biallelic predicates.
ielis Dec 9, 2024
981b1bd
Add figures to allele count predicate section.
ielis Dec 9, 2024
ca6f1f6
Revise variant predicates text.
ielis Dec 9, 2024
7234800
Minor update.
ielis Dec 9, 2024
d07f31d
Add pronounciation.
ielis Dec 10, 2024
88d15f4
Fix documentation lints.
ielis Dec 10, 2024
e127ec6
Merge pull request #348 from monarch-initiative/improve-docs
ielis Dec 10, 2024
996a0ec
Improve the docs for specified terms MT filter.
ielis Dec 10, 2024
c36810a
Merge pull request #378 from monarch-initiative/ielis/issue373
ielis Dec 10, 2024
d4e075c
Ignore transcripts with errors when parsing multiple.
ielis Dec 11, 2024
2d17cd9
Test parsing tx coordinates for a gene.
ielis Dec 11, 2024
b984620
Fix coordinate system-related bug.
ielis Dec 11, 2024
ba6464d
Merge pull request #379 from monarch-initiative/ielis/issue345
ielis Dec 11, 2024
4d2c393
Remove phonetics.
ielis Dec 11, 2024
dcb6d04
Make release `0.8.0`.
ielis Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .flake8

This file was deleted.

8 changes: 2 additions & 6 deletions .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: |
python3 -m pip install --editable .[test]
run: python3 -m pip install --editable .[test]
- name: Run pytest tests
run: |
export MPLBACKEND=Agg
export GPSEA_CACHEDIR=.gpsea_ci_cachedir
pytest
run: MPLBACKEND=Agg GPSEA_CACHEDIR=.gpsea_ci_cachedir pytest
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,6 @@ dmypy.json

# Pyre type checker
.pyre/

# Ruff (linter & formatter)
.ruff_cache/
57 changes: 57 additions & 0 deletions .gpsea_ci_cachedir/protein_cache/NP_852259.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"protein_id": "NP_852259.1",
"label": "T-box transcription factor TBX5",
"protein_features": [
{
"info": {
"name": "T-box",
"region": {
"start": 58,
"end": 238
}
},
"feature_type": "DNA_BINDING"
},
{
"info": {
"name": "Disordered",
"region": {
"start": 1,
"end": 46
}
},
"feature_type": "REGION"
},
{
"info": {
"name": "Disordered",
"region": {
"start": 250,
"end": 356
}
},
"feature_type": "REGION"
},
{
"info": {
"name": "Polar residues",
"region": {
"start": 263,
"end": 299
}
},
"feature_type": "COMPOSITIONAL_BIAS"
},
{
"info": {
"name": "Basic and acidic residues",
"region": {
"start": 320,
"end": 346
}
},
"feature_type": "COMPOSITIONAL_BIAS"
}
],
"protein_length": 518
}
Binary file removed .gpsea_ci_cachedir/protein_cache/NP_852259.1.pickle
Binary file not shown.
127 changes: 127 additions & 0 deletions .gpsea_ci_cachedir/tx_cache/NM_181486.4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
{
"identifier": "NM_181486.4",
"region": {
"start": 18869165,
"end": 18921399,
"contig": {
"name": "12",
"genbank_acc": "CM000674.2",
"refseq_name": "NC_000012.12",
"ucsc_name": "chr12",
"length": 133275309
},
"strand": "NEGATIVE"
},
"exons": [
{
"start": 18869165,
"end": 18869682,
"contig": {
"name": "12",
"genbank_acc": "CM000674.2",
"refseq_name": "NC_000012.12",
"ucsc_name": "chr12",
"length": 133275309
},
"strand": "NEGATIVE"
},
{
"start": 18871373,
"end": 18871558,
"contig": {
"name": "12",
"genbank_acc": "CM000674.2",
"refseq_name": "NC_000012.12",
"ucsc_name": "chr12",
"length": 133275309
},
"strand": "NEGATIVE"
},
{
"start": 18873389,
"end": 18873484,
"contig": {
"name": "12",
"genbank_acc": "CM000674.2",
"refseq_name": "NC_000012.12",
"ucsc_name": "chr12",
"length": 133275309
},
"strand": "NEGATIVE"
},
{
"start": 18875677,
"end": 18875797,
"contig": {
"name": "12",
"genbank_acc": "CM000674.2",
"refseq_name": "NC_000012.12",
"ucsc_name": "chr12",
"length": 133275309
},
"strand": "NEGATIVE"
},
{
"start": 18876589,
"end": 18876737,
"contig": {
"name": "12",
"genbank_acc": "CM000674.2",
"refseq_name": "NC_000012.12",
"ucsc_name": "chr12",
"length": 133275309
},
"strand": "NEGATIVE"
},
{
"start": 18880416,
"end": 18880569,
"contig": {
"name": "12",
"genbank_acc": "CM000674.2",
"refseq_name": "NC_000012.12",
"ucsc_name": "chr12",
"length": 133275309
},
"strand": "NEGATIVE"
},
{
"start": 18889742,
"end": 18889834,
"contig": {
"name": "12",
"genbank_acc": "CM000674.2",
"refseq_name": "NC_000012.12",
"ucsc_name": "chr12",
"length": 133275309
},
"strand": "NEGATIVE"
},
{
"start": 18908918,
"end": 18909145,
"contig": {
"name": "12",
"genbank_acc": "CM000674.2",
"refseq_name": "NC_000012.12",
"ucsc_name": "chr12",
"length": 133275309
},
"strand": "NEGATIVE"
},
{
"start": 18919203,
"end": 18921399,
"contig": {
"name": "12",
"genbank_acc": "CM000674.2",
"refseq_name": "NC_000012.12",
"ucsc_name": "chr12",
"length": 133275309
},
"strand": "NEGATIVE"
}
],
"cds_start": 18871411,
"cds_end": 18919778
}
56 changes: 56 additions & 0 deletions .gpsea_ci_cachedir/variant_cache/12_114355723_114355723_G_A.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[
{
"gene_id": "TBX5",
"transcript_id": "NM_000192.3",
"hgvs_cdna": "NM_000192.3:c.1366G>A",
"is_preferred": false,
"variant_effects": [
"STOP_GAINED"
],
"overlapping_exons": [
9
],
"protein_id": "NP_000183.2",
"hgvsp": "NP_000183.2:p.Gln456Ter",
"protein_effect_location": {
"start": 455,
"end": 456
}
},
{
"gene_id": "TBX5",
"transcript_id": "NM_080717.4",
"hgvs_cdna": "NM_080717.4:c.1216C>T",
"is_preferred": false,
"variant_effects": [
"STOP_GAINED"
],
"overlapping_exons": [
8
],
"protein_id": "NP_542448.1",
"hgvsp": "NP_542448.1:p.Gln406Ter",
"protein_effect_location": {
"start": 405,
"end": 406
}
},
{
"gene_id": "TBX5",
"transcript_id": "NM_181486.4",
"hgvs_cdna": "NM_181486.4:c.1366C>T",
"is_preferred": true,
"variant_effects": [
"STOP_GAINED"
],
"overlapping_exons": [
9
],
"protein_id": "NP_852259.1",
"hgvsp": "NP_852259.1:p.Gln456Ter",
"protein_effect_location": {
"start": 455,
"end": 456
}
}
]
Binary file not shown.
56 changes: 56 additions & 0 deletions .gpsea_ci_cachedir/variant_cache/12_114355755_114355756_TG_T.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[
{
"gene_id": "TBX5",
"transcript_id": "NM_000192.3",
"hgvs_cdna": "NM_000192.3:c.1333del",
"is_preferred": false,
"variant_effects": [
"FRAMESHIFT_VARIANT"
],
"overlapping_exons": [
9
],
"protein_id": "NP_000183.2",
"hgvsp": "NP_000183.2:p.His445MetfsTer137",
"protein_effect_location": {
"start": 444,
"end": 445
}
},
{
"gene_id": "TBX5",
"transcript_id": "NM_080717.4",
"hgvs_cdna": "NM_080717.4:c.1183del",
"is_preferred": false,
"variant_effects": [
"FRAMESHIFT_VARIANT"
],
"overlapping_exons": [
8
],
"protein_id": "NP_542448.1",
"hgvsp": "NP_542448.1:p.His395MetfsTer137",
"protein_effect_location": {
"start": 394,
"end": 395
}
},
{
"gene_id": "TBX5",
"transcript_id": "NM_181486.4",
"hgvs_cdna": "NM_181486.4:c.1333del",
"is_preferred": true,
"variant_effects": [
"FRAMESHIFT_VARIANT"
],
"overlapping_exons": [
9
],
"protein_id": "NP_852259.1",
"hgvsp": "NP_852259.1:p.His445MetfsTer137",
"protein_effect_location": {
"start": 444,
"end": 445
}
}
]
Binary file not shown.
56 changes: 56 additions & 0 deletions .gpsea_ci_cachedir/variant_cache/12_114355784_114355785_CA_C.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[
{
"gene_id": "TBX5",
"transcript_id": "NM_000192.3",
"hgvs_cdna": "NM_000192.3:c.1304del",
"is_preferred": false,
"variant_effects": [
"FRAMESHIFT_VARIANT"
],
"overlapping_exons": [
9
],
"protein_id": "NP_000183.2",
"hgvsp": "NP_000183.2:p.Leu435ArgfsTer147",
"protein_effect_location": {
"start": 434,
"end": 435
}
},
{
"gene_id": "TBX5",
"transcript_id": "NM_080717.4",
"hgvs_cdna": "NM_080717.4:c.1154del",
"is_preferred": false,
"variant_effects": [
"FRAMESHIFT_VARIANT"
],
"overlapping_exons": [
8
],
"protein_id": "NP_542448.1",
"hgvsp": "NP_542448.1:p.Leu385ArgfsTer147",
"protein_effect_location": {
"start": 384,
"end": 385
}
},
{
"gene_id": "TBX5",
"transcript_id": "NM_181486.4",
"hgvs_cdna": "NM_181486.4:c.1304del",
"is_preferred": true,
"variant_effects": [
"FRAMESHIFT_VARIANT"
],
"overlapping_exons": [
9
],
"protein_id": "NP_852259.1",
"hgvsp": "NP_852259.1:p.Leu435ArgfsTer147",
"protein_effect_location": {
"start": 434,
"end": 435
}
}
]
Binary file not shown.
Loading
Loading