Closed ValWood closed 6 months ago
Part of this is implemented already, by accident. Genotypes with and without promoters are already combined on the same page. For example mad1+[Overexpression]
has two versions:
But there is only one genotype page:
The promoter is getting lost when the the genotypes are merged but the annotation is kept.
One of the genotype comments is getting lost too. Maybe the comments need to be included in the annotation table like we do for the background and we plan to do with the promoters?
Some of the genotype comments are really long, and I think many of them need to be migrated to allele comments. Can I a list of genotype comments I can view? I think most will be relevant to any genotype, or even a few examples (I can't think of any genotypes with comments although there are loads)
Here are all the genotype comments, with links to the genotype pages: genotype_comments.txt
Here are some examples:
Most of the code for this is finished now but the display is a bit messy. Let's chat about it on the next call. Possibly this case is worse than most because there are promoters and a genotype background.
This is the publication page:
The genotype page is tidier:
The genotype page is tidier:
I forgot about the plan to move the promoter into its own column in the annotation table. That's done now:
I've just changed this:
to display as this instead to make it clear about exogenous promoters:
Do you have any suggestions to improve this?
I think the label is a bit confusing because this is a manipulated s. pombe promoter. As far as I remember the only reason we have the ability for people to select the pombe name when its an exact swap is to control the contents (we can't control the contents of the free text one). So I don't think we need to display "exogenous promoter" on the website. I'm not even sure that we even need to link to the gene when its a swap?
CC @PCarme
Linking to the gene to which the promoter is endogenously associated doesn't seem very useful to me. Aside from the expression data, most of the information about this gene are irrelevant to the case of a promoter swap anyway...
As far as I remember the only reason we have the ability for people to select the pombe name when its an exact swap is to control the contents
I don't follow that. What do you mean by control the contents? We could just have a "Promoter swap (S. pombe)" checkbox if that's all that's needed. We could remove the ability for people to select the pombe gene if that detail isn't necessary.
So I don't think we need to display "exogenous promoter" on the website.
So remove the text "exogenous promoter"?
I don't follow that. What do you mean by control the contents? We could just have a "Promoter swap (S. pombe)" checkbox if that's all that's needed. We could remove the ability for people to select the pombe gene if that detail isn't necessary.
I can't remember the original rationale. We want the gene, but there isn't a big reason to separate exogenous and endogenous (IMHO).
We could just always have a single field and make them type the promoter. I think it is better to discuss this on a call.
Summary
Compress the promoter capture to be free text, just "promoter(optional)"
Check whether the promoters we already captured in this way are not loaded as genes associated with a session
Check whether the promoters we already captured in this way are not loaded as genes associated with a session
I'll remove that code when I change the loading code:
I changed the web site code to handle having just one sort of promoter to display. I'll push the changes at the weekend once I upgrade the Canto database to the new schema (pombase/canto#2823).
Branch: pombase-chado-issue-567-go-ev-code-graph
I'll push the changes at the weekend once I upgrade the Canto database to the new schema
That's done now. I'll check the website on Sunday.
I'll push the changes at the weekend once I upgrade the Canto database to the new schema
All seems OK except that I found a case where the promoters aren't appearing in the annotation table on the gene page.
For mad2+[Knockdown] slp1+[Knockdown]
the promoters are on the genotype page
And on the term page: https://pombase.org/term/FYPO:0003762
But they are missing from the gene page: https://pombase.org/gene/SPAC821.08c
All seems OK except that I found a case where the promoters aren't appearing in the annotation table on the gene page.
Fixed. I'll close this because it seems mostly done and there are a lot of comments.
Collect all genotypes which differ only by promoter onto the same genotype page (this is analogous to background)
Rationale: Most users will want to see all of the associated phenotypes.
How it looks on Gene Page Term page Publication page
Genotype page
All alleles of a gene Allele page
Also need to think about multi locus