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

As a Computational Biologist, I want to see the various summaries for animal models in the relevant section so I can have all the information consolidated in one location #92

Conversation

JmScherer
Copy link
Collaborator

@JmScherer JmScherer commented Jun 12, 2023

Checklist before requesting a review

  • I have performed a self-review of my code.
  • My code follows the style guidelines enforced by static analysis tools.
  • If it is a core feature, I have added thorough tests.
  • My changes generate no new warnings.
  • New and existing unit tests pass locally with my changes.
  • Will this be part of a product update? If yes, please write one phrase about this update.

Pull Request Details

This pull request adds new annotations for the animal model summaries available from Alliance Genome (AG). The new summaries are the AG Automated Summary and the Animal Database Summary (MGI, ZFIN, WB, etc).

https://www.wrike.com/open.htm?id=1140797927

Changes made:

  • Added 4 new annotations for the database summaries:
    • Mouse_Alliance_Genome_MGI_Summary
    • Rat_Alliance_Genome_RGD_Summary
    • Zebrafish_Alliance_Genome_ZFIN_Summary
    • C-Elegens_Alliance_Genome_WB_Summary
  • Updated the names for existing automated summaries:
    • Model Systems - Rat -> Rat_Alliance_Genome_Automated_Summary
    • Model Systems - Mouse - Automated -> Mouse_Alliance_Genome_Automated_Summary
    • Model Systems - Zebrafish - Automated -> Zebrafish_Alliance_Genome_Automated_Summary
    • Model Systems - C-Elegens - Automated -> C-Elegens_Alliance_Genome_Automated_Summary
  • Fixed the annotation rendering configuration to reflect the changes
  • Updated the Annotation Text Dataset component to display as unavailable of the value is a blank string

To Review:

  • Static Analysis by Reviewer
  • Do the existing analyses have the summaries?
    # From root of Rosalution
    docker compose down
    docker system prune -a --volumes
    
    docker-compose up --build
    • Go to `local.rosalution.cgds/rosalution
    • Login with developer
    • Click on CPAM0002 analysis card
    • Click on VMA21 gene
    • Scroll down to see if the fixtures are there
    • Bonus: Check the other existing analyses to see if they are there
  • Upload a new analysis, do the new annotations show up?
    • On the Analysis Listing page, click the + card
    • Upload CPAM0074 from the fixtures folder
      • etc/fixtures/import/C-PAM0074.json
    • Click into CPAM0074
    • Click on GRIN2D
    • Are there summary annotations for this gene?
  • All Github Actions checks have passed.

Existing Fixtures: CPAM0002

Screenshot 2023-06-12 at 12 17 12 PM

Uploaded Analysis: CPAM0074

Screenshot 2023-06-12 at 12 07 59 PM

@JmScherer JmScherer added the enhancement New feature or request label Jun 12, 2023
@JmScherer JmScherer self-assigned this Jun 12, 2023
@SeriousHorncat
Copy link
Collaborator

Screenshot 2023-06-14 at 2 37 12 PM Screenshot 2023-06-14 at 2 40 00 PM

…d alliance genome animal summaries, updated the fixtures to include both summaries and are accurate to the gene identifier, and updated the annotation rendering configuration to display the new annotations
…navailable if the value also has empty string
@JmScherer JmScherer force-pushed the animal-model-summary-updates branch from 6878da0 to 8eb07e2 Compare June 15, 2023 16:01
@JmScherer JmScherer merged commit 5b17244 into annotation-rendering-configuration-new-section-updates Jun 15, 2023
@JmScherer JmScherer deleted the animal-model-summary-updates branch June 15, 2023 18:27
JmScherer added a commit that referenced this pull request Jun 27, 2023
… animal models in the relevant section so I can have all the information consolidated in one location (#92)

* Updated annotation configuration to have both automated and specificed alliance genome animal summaries, updated the fixtures to include both summaries and are accurate to the gene identifier, and updated the annotation rendering configuration to display the new annotations

* Updated the python tests to include the 4 extra annotations in the configuration

* updated the existing tests and removed the mongo ids from the imported fixtures

* updated the existing tests and removed the mongo ids from the imported fixtures

* Updated the Text Dataset in the Annotation components to display as unavailable if the value also has empty string

* Updated the fixtures for genomic unit collection

* Removed the mongoids from the genomic units collection initial seed
SeriousHorncat pushed a commit that referenced this pull request Jun 28, 2023
… animal models in the relevant section so I can have all the information consolidated in one location (#92)

* Updated annotation configuration to have both automated and specificed alliance genome animal summaries, updated the fixtures to include both summaries and are accurate to the gene identifier, and updated the annotation rendering configuration to display the new annotations

* Updated the python tests to include the 4 extra annotations in the configuration

* updated the existing tests and removed the mongo ids from the imported fixtures

* updated the existing tests and removed the mongo ids from the imported fixtures

* Updated the Text Dataset in the Annotation components to display as unavailable if the value also has empty string

* Updated the fixtures for genomic unit collection

* Removed the mongoids from the genomic units collection initial seed
SeriousHorncat pushed a commit that referenced this pull request Jul 5, 2023
… animal models in the relevant section so I can have all the information consolidated in one location (#92)

* Updated annotation configuration to have both automated and specificed alliance genome animal summaries, updated the fixtures to include both summaries and are accurate to the gene identifier, and updated the annotation rendering configuration to display the new annotations

* Updated the python tests to include the 4 extra annotations in the configuration

* updated the existing tests and removed the mongo ids from the imported fixtures

* updated the existing tests and removed the mongo ids from the imported fixtures

* Updated the Text Dataset in the Annotation components to display as unavailable if the value also has empty string

* Updated the fixtures for genomic unit collection

* Removed the mongoids from the genomic units collection initial seed
SeriousHorncat pushed a commit that referenced this pull request Jul 7, 2023
… animal models in the relevant section so I can have all the information consolidated in one location (#92)

* Updated annotation configuration to have both automated and specificed alliance genome animal summaries, updated the fixtures to include both summaries and are accurate to the gene identifier, and updated the annotation rendering configuration to display the new annotations

* Updated the python tests to include the 4 extra annotations in the configuration

* updated the existing tests and removed the mongo ids from the imported fixtures

* updated the existing tests and removed the mongo ids from the imported fixtures

* Updated the Text Dataset in the Annotation components to display as unavailable if the value also has empty string

* Updated the fixtures for genomic unit collection

* Removed the mongoids from the genomic units collection initial seed
SeriousHorncat added a commit that referenced this pull request Jul 7, 2023
* annotation rendering configuration frontend updates (#84)

* updated annotation configuration, updated unit tests, partially updated system tests

* updating the sidebar style to remained a fixed size, updated the logic for removing '_' from the anchors when displaying them

* fixed system test & made the anchors have consistent naming style

* added back the dataset data for each model

* lint fix

* unit test update

* removed file upload where not needed

* made requested PR changes, updating variant to hgvs_variant for attachment/genomic Type type, update styling to use variable set in main.css

* Update frontend/src/models/analyses.js

Co-authored-by: Angelina Uno-Antonison <ange.unoantonison@gmail.com>
Signed-off-by: Alex Moss <kuthedk@users.noreply.github.com>

* Update frontend/src/models/analyses.js

Co-authored-by: Angelina Uno-Antonison <ange.unoantonison@gmail.com>
Signed-off-by: Alex Moss <kuthedk@users.noreply.github.com>

* Update frontend/src/models/analyses.js

Co-authored-by: Angelina Uno-Antonison <ange.unoantonison@gmail.com>
Signed-off-by: Alex Moss <kuthedk@users.noreply.github.com>

* Update case_annotation_section_anchors.cy.js

* Update frontend/src/models/analyses.js

Co-authored-by: Angelina Uno-Antonison <ange.unoantonison@gmail.com>
Signed-off-by: Alex Moss <kuthedk@users.noreply.github.com>

---------

Signed-off-by: Alex Moss <kuthedk@users.noreply.github.com>
Co-authored-by: Angelina Uno-Antonison <ange.unoantonison@gmail.com>

* Alliance genome models into new configuration (#88)

* Update Annotation Configuration to include new annotations from Alliance Genome (#81)
* Now fetching the proper alliance genomic identifiers, with the correct identifiers the models are now being pulled in as expected
* Create Animal Model Card to represent the animal models from Alliance Genome (#86)
* Adding scrolling to the cards
* Changed the model annotations to get a limit of 100 models, rather than 20 models. Updated the fixtures to contain ALL models
* Removed display: block, position: relative from card-base. Changed li margin-left to use variable. Removed the overflow-y from card-source
* Consolidated duplicate conditional code to determine if a section is empty and change the text color in AlliangeGenomeCard
* Updated the AllianceGenomeCard.spec.js toContain to be to.include
* Merged and updated for the new configuration to allign with the new datasets being introduced.

---------

Signed-off-by: Angelina Uno-Antonison <ange.unoantonison@gmail.com>
Co-authored-by: James Scherer <jscherer@uab.edu>

* Migration script to update the data layer for the additional sections (#89)

* Created migration script file to add additional annotation sections

* Migration script saving changes in database. Debugging comments removed

* Update etc/fixtures/migrations/migrate-additional-sections.js

Added suggestion to update section name to match configuration

Co-authored-by: Angelina Uno-Antonison <ange.unoantonison@gmail.com>
Signed-off-by: Rabab Fatima <fr.rabab@gmail.com>

---------

Signed-off-by: Rabab Fatima <fr.rabab@gmail.com>
Co-authored-by: Angelina Uno-Antonison <ange.unoantonison@gmail.com>

* Investigate why CPAM0084 breaks when re-running annotation from the api docs (#91)

* Updated the fixtures for CPAM0084

* Updated python tests

* As a Computational Biologist, I want to see the various summaries for animal models in the relevant section so I can have all the information consolidated in one location (#92)

* Updated annotation configuration to have both automated and specificed alliance genome animal summaries, updated the fixtures to include both summaries and are accurate to the gene identifier, and updated the annotation rendering configuration to display the new annotations

* Updated the python tests to include the 4 extra annotations in the configuration

* updated the existing tests and removed the mongo ids from the imported fixtures

* updated the existing tests and removed the mongo ids from the imported fixtures

* Updated the Text Dataset in the Annotation components to display as unavailable if the value also has empty string

* Updated the fixtures for genomic unit collection

* Removed the mongoids from the genomic units collection initial seed

* additional annottations

* resolved unit test failures

* Fixing the backend tests

* Updated the integration tests for backend

* As a Developer, provide a way to remove all automatic annotations from analyses, so they can be re-annotated with the correct information (#99)

* Adding the remove annotation and annotation queueing scripts

* Adding documentation and run feedback

* Updated the analysis annotation script to give relevant output

* Fixed the annotation config that broke annotation

* Linting should be passing

* Removed debugging print statements

* Added a note to the annotate-all-existing-analyses.sh that it may need to be run more than once

* Removed a space

* Updated the the annotation configuration to uitilize the tag dataset to visualize the HPO terms

* Fixed the unit test failing due to the addition of the tag datasets component

* fixed the mised merge issue

* pushing up system test changes

* Skipping the 'should allow the user to navigate the analysis via the logo, header, and section anchor links' for now until we fix it

---------

Signed-off-by: Alex Moss <kuthedk@users.noreply.github.com>
Signed-off-by: Angelina Uno-Antonison <ange.unoantonison@gmail.com>
Signed-off-by: Rabab Fatima <fr.rabab@gmail.com>
Co-authored-by: Alex Moss <kuthedk@users.noreply.github.com>
Co-authored-by: James Scherer <jscherer@uab.edu>
Co-authored-by: Rabab Fatima <rfatima@uab.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants