legumeinfo / ArachisPheno

AraPheno source code for http://arapheno.1001genomes.org
MIT License
0 stars 0 forks source link

ArachisPheno: Customization #3

Closed sdash-github closed 4 years ago

sdash-github commented 4 years ago

The ArachisPheno doesn't have to be an exact replicate of the Arabidopsis portal. We will need only certain features, at least, in the beginning. This issue is to help us gradually settle on which features, UI included, we need. The features list should evolve as we work through the site and the data we have keeping in mind the flexibility factor for future needs.

svengato commented 4 years ago

I am happy to make a first attempt at customization (for your review).

  1. Are there any restrictions on image sources? (I will look for public peanut images, PeanutBase seems to only have small ones)
  2. Whom should we list as collaborators? (NCGR, Iowa State, etc) I will also credit the original AraPheno project.
sdash-github commented 4 years ago

A few thoughts about this.

Header

-- The PB (PeanutBase) image at the top left is sort of the representative image we have been using in presentations and posters. (https://peanutbase.org/sites/all/themes/peanutbase_theme/images/peanutbase_logo.png) -- Along with this the header color scheme and the PeanutBase text will make it look like part of PeanutBase (guiding theme here is: As much as possible it should not look like foreign to PB).

Iframe

-- We have successfully used, at PB and LIS, Iframing independent sites into a PB page to give it a very native look while preserving the top level UI-Navigation elements. -- Examples are: (https://peanutbase.org/gbrowse_aradu1.0),
(https://peanutbase.org/germplasm/gigwa), etc.

If we decide to use it within an Iframe, probably it should be when the data is public. So the CSS parts for mainly the header part may be kept minimal and flexible for later consideration.

sdash-github commented 4 years ago

About the credit:

Let me think about a bit more, as it is being developed, initially, with funding from a project and if we need to acknowledge this fact explicitly. But you can go ahead with what seems suitable to you for now and we revisit the issue later.

svengato commented 4 years ago
  1. Who should be the e-mail contact person?
  2. Copyright dates? (2020?)
sdash-github commented 4 years ago
  1. In the final version I think it should be (https://peanutbase.org/contact) which is a list of individual emails. But for now during development I don't want to flood everybody's inbox unnecessarily. You can keep your or my email, sdash@ncgr.org, depending on how often it is triggered when you are working on the site.
  2. Today's date is fine with me.
adf-ncgr commented 4 years ago

from Sven:

Customization is partially accomplished. None of it is checked in yet, but it should be visible on the development site. The plan is to do it in three waves: (a) AraPheno -> ArachisPheno and other species changes, (b) institutional changes, (c) spelling and grammar corrections.

regarding the image question from earlier, maybe the current weedy backdrop could simply be replaced with a solid color and the small image Sudhansu suggested from the main site be put somewhere without trying to make it fill space.

We'll need to gut/replace the news/twitter items. my personal preference would be to just go minimalist, by commenting out blocks where we think we might put something someday, and just focus on core functionality as much as possible. I'd suggest we disable the RNA-seq slider as well as whatever the thingy is that wants to use flash.

svengato commented 4 years ago

Do we want to keep any of the links on the Links page? Some are Arabidopsis-centric.

Besides PeanutBase, are there any we should add? (for example, the Community links on PeanutBase)

svengato commented 4 years ago

I do not see an easy way to guarantee that the (small) peanut part of the background image will be visible. See what you think of the one I have up now. Some actual peanuts appear as you scroll down.

adf-ncgr commented 4 years ago

very peanut-ty, but a bit hard to read the text. I'll defer to Sudhansu on questions of style, though.

sdash-github commented 4 years ago

I am working on a quick and simple mockup of the front page for Sven with the idea that it can be iframed in PB when necessary.

svengato commented 4 years ago

I made a simpler version combining your suggestions, see what you think of it.

sdash-github commented 4 years ago

Here is a GoogleDrive slide that should give you an idea of a simple interface. https://docs.google.com/presentation/d/11KW-OFo0IYQQ2a--P1bH7LXmViNp-tOoWfFGf1HIZC4/edit#slide=id.g828d4cbe32_0_80

svengato commented 4 years ago

I will leave the background like this for now, and move on to replacing the AraPheno institutions and links.

sdash-github commented 4 years ago

But do you plan to revisit and change the look later?

svengato commented 4 years ago

Yes, we can evolve it as we go.

svengato commented 4 years ago

I started customizing the institutional links, and removed AraPheno news items. Is there a peanut Twitter feed?

sdash-github commented 4 years ago

Yes, pl see (https://peanutbase.org) footer (https://twitter.com/peanutbaseorg)

svengato commented 4 years ago

I replaced (or commented out) institutional links over the weekend, and corrected the most obvious spelling and grammar mistakes this morning. Still to do:

  1. "How to Cite ArachisPheno" FAQ
  2. Remaining references to arapheno.1001genomes.org
  3. Remaining "arapheno" references (module and settings) in the python code
  4. Process for adding and curating studies and phenotypes
  5. How to generate download.zip
  6. Remove commented-out institutional links
  7. Configure DOI and e-mail servers
  8. Follow up on getting the Docker version to work (this version is uncontainerized)
  9. Remove other undesired features (Flash, RNASeq?)
  10. Confirm that we do not need the "Impressum" in the footer (is that a European legal requirement?) 11-99. Anything else you notice.
svengato commented 4 years ago

Do we have a DataCite account (or "prefix")? https://search.datacite.org This is for linking studies to citations.

svengato commented 4 years ago

For now, I replaced all uses (as opposed to mentions) of "arapheno.1001genomes.org" in our HTML files with "". should eventually be our production site.

sdash-github commented 4 years ago

As far as I am aware we haven't used datacite  yet for either LIS or PB.  We have been using a pubmed id straight.

On 2020/4/1 4:12 PM, svengato wrote:

Do we have a DataCite account (or "prefix")? https://search.datacite.org This is for linking studies to citations.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/legumeinfo/ArachisPheno/issues/3#issuecomment-607492101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4A465IMXPLGM7WYHEVI6DRKOU3HANCNFSM4LVGVGYA.

svengato commented 4 years ago

Okay, I will look into replacing it with PubMed.

svengato commented 4 years ago

Please let me know if we need more (or less) institutional links before the presentation (see the About and Links pages).

sdash-github commented 4 years ago

-- My affiliation is NCGR, not ISU. -- "ArachisPheno is a XXcentralXX repository for population scale phenotype data for//Arachis//(peanut) species."

Can you give me admin level access to change some of these type of contents or just lead me to the html/template file that I can edit when I get in the mood. Thanks.

sdash-github commented 4 years ago

The mail to field should be set to peanutbase-contact@iastate.edu peanutbase-contact@iastate.edu instead of just me or Andrew.  These are the sort of things I can change later.

On 2020/4/3 5:08 PM, Sudhansu Dash wrote:

-- My affiliation is NCGR, not ISU. -- "ArachisPheno is a XXcentralXX repository for population scale phenotype data for//Arachis//(peanut) species."

Can you give me admin level access to change some of these type of contents or just lead me to the html/template file that I can edit when I get in the mood. Thanks.

svengato commented 4 years ago

-- "ArachisPheno is a XXcentralXX repository for population scale phenotype data for//Arachis//(peanut) species."

XX = remove?

Can you give me admin level access to change some of these type of contents or just lead me to the html/template file that I can edit when I get in the mood.

html/home/about.html html/home/links.html

sdash-github commented 4 years ago

Yes, remove. I couldn't immediately find any markup for strikethrough.

svengato commented 4 years ago

Feel free to make those institutional changes (depending on mood).

svengato commented 4 years ago

e-mail is now configured correctly, at least for this development version. For example, ArachisPheno automatically sends the user a status message when they submit a study or it gets curated or published.

svengato commented 4 years ago

The Download Database feature (from the Home page) now works (except for some issues with the PLINK output, which should be fixable). As in the original AraPheno, it only downloads a preexisting database archive, it does not generate one on the fly. To generate such a snapshot, run python manage.py generate_database_dump from the command line (from the ArachisPheno/arapheno directory).

However, this earlier issue

Here is a GoogleDrive slide that should give you an idea of a simple interface. https://docs.google.com/presentation/d/11KW-OFo0IYQQ2a--P1bH7LXmViNp-tOoWfFGf1HIZC4/edit#slide=id.g828d4cbe32_0_80

omits the Download Database, Take a Tour, and Feedback & Issues features. Let me know if you really want to remove those.

sdash-github commented 4 years ago
  1. The idea is not to remove, but to gradually introduce them as we go and feel the necessity.
  2. Therefore, hiding those interfaces is the ideal solution for now. And please document how/where you hid them so that I can revisit them later.
  3. For the Wednesday meeting, please do not display anything that gives the impression 'Download' or 'Downoad in bulk'. She is very averse to that phrase.
  4. Feedback should be a link to 'https://peanutbase.org/contact'. ArachisPheno is not being developed to become an independent site, rather as one of the parts of PeanutBase.
  5. The homepage block with search box and large letters describing what ArachisPheno is should be reduced to just the searchbox. Then, it will nicely fit into the Peanutbase iframe.
svengato commented 4 years ago

Tentative changes - let me know if they satisfy the above requests.

sdash-github commented 4 years ago

Looks like we can get the data via REST API without having to login-- haven't tested thoroughly though? Can something be done about that, at least tentatively?

svengato commented 4 years ago

Looks like we can get the data via REST API without having to login--

Confirmed - I will prioritize fixing that.

svengato commented 4 years ago

The REST API should be secure now - try it while logged out.

sdash-github commented 4 years ago

The REST API should be secure now - try it while logged out.

Yeah, can't get to it incognito; works.

svengato commented 4 years ago
  1. The idea is not to remove, but to gradually introduce them as we go and feel the necessity.
  2. Therefore, hiding those interfaces is the ideal solution for now. And please document how/where you hid them so that I can revisit them later.

To restore the Data Download and Take a Tour features, undo the relevant HTML comment tags from this commit (lines 69 & 74, 87 & 95, and 106-107): https://github.com/legumeinfo/ArachisPheno/commit/f5503faaf66fa7b5274d5f33617879f63a17b6ef

svengato commented 4 years ago

Shall we close this one and split off individual issues?

sdash-github commented 4 years ago

Yes, if you want.  We can always start a new issue for other customization.