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

Single mutant phenotypes can be modified even if involved in GI #2740

Closed
manulera opened this issue Jun 22, 2023 · 8 comments
Closed

Single mutant phenotypes can be modified even if involved in GI #2740

manulera opened this issue Jun 22, 2023 · 8 comments

Comments

@manulera
Copy link
Contributor

Hello @kimrutherford @ValWood

I noticed that single mutant phenotypes can be changed using the "Edit" button, even if they are involved in a genetic interaction. The genetic interaction is then updated and linked to the new phenotypes when you refresh the page.

This was good for me, as I was just updating to a more specific term, but this is different from the behaviour on the double mutant, where you cannot edit unless you remove the genetic interactions first (see image).

I think it's better to be able to edit those with GIs, even the double mutant. A dialogue confirmation saying "This phenotype annotation is involved is in a GI, are you sure you want to edit it?" prior to the editing window would be enough, I think.

Screenshot 2023-06-22 at 10 50 30

@manulera
Copy link
Contributor Author

Actually, I think being able to edit the single mutant phentoypes might be causing an error, because in this session: https://curation.pombase.org/pombe/curs/0fa0811aad33bde1

I can add a single mutant phenotype that no longer exists as part of a genetic interaction:

Screenshot 2023-06-22 at 10 57 13

To reproduce, you can select pom1-as1(aaT778G)[WT level] shk1-as2(aaM460A)[WT level], and try to add a Phenotypic Enhancement GI linked to a shk1-as2(aaM460A) phenotype.

@ValWood
Copy link
Member

ValWood commented Mar 4, 2024

@kimrutherford Is this one still current?
I thought you couldn't edit phenotypes that are part of genetic interactions?

@kimrutherford
Copy link
Member

@kimrutherford Is this one still current?

Yep, I haven't fixed this yet.

I thought you couldn't edit phenotypes that are part of genetic interactions?

The phenotype and extension can be edited.

I've just noticed that there is a bug if you try to change the genotype of an annotation that's part of a genotype interaction:
image

@kimrutherford
Copy link
Member

Decision: grey out / disable the edit button on the single allele genotype annotation

@kimrutherford
Copy link
Member

For now, I've fixed this problem by disabling edit and delete for genotypes that are part of genotype-genotype interactions.

The fix is in the queue behind #2544 so the change will be visible on Monday. I'll leave the issue open until then.

kimrutherford added a commit that referenced this issue Mar 13, 2024
kimrutherford added a commit that referenced this issue Mar 13, 2024
@kimrutherford
Copy link
Member

Val from pombase/pombase-chado#986 (comment):

We found that we could not edit any annotation for an existing allele in *any *
annotation where the allele was used in a genetic interaction, even if that annotation was not used in the interaction.

e.g.
Screenshot 2024-03-18 at 11 36 50

Let me know if you want to discuss.

CC @PCarme

kimrutherford added a commit that referenced this issue Mar 19, 2024
There's no need to disable edits for annotations where the only the
genotype is involved in a genotype-genotype interaction.

Fix for 970a1da

Refs #2740
@kimrutherford
Copy link
Member

We found that we could not edit any annotation for an existing allele in *any * annotation

Sorry about that! It should be fixed now.

kimrutherford added a commit that referenced this issue Mar 19, 2024
There's no need to disable edits for annotations where the only the
genotype is involved in a genotype-genotype interaction.

Fix for 970a1da

Refs #2740
@kimrutherford
Copy link
Member

I think this can be closed now. The problems were fixed in:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants