Enabling hgUserSuggestion

From genomewiki
Jump to navigationJump to search

Introduction

On 26 June 2013, the UCSC Genome Browser team released a suggestion box for feature requests. The suggestion box is handled by a new CGI: "hgUserSuggestion". Mirror sites can enable their own suggestion boxes by configuring hgUserSuggestion to accept requests from users.

Enabling hgUserSuggestion

To enable the hgUserSuggestion CGI on a Genome Browser mirror, add the following parameters to the genome browser configuration file hg.conf in your /cgi-bin/ directory:

# The following 6 parameters are used to set up your browser to accept user suggestions.
# After a user submits a suggestion, both the user and the suggestion admin address below
# will receive an email containing the suggestion.
# email address for the suggestion admin
suggest.mailToAddr=suggestion@myuniversitysoe.edu.
# sender address for the suggestion email 
suggest.mailFromAddr=browserAdministrator@mylab.university.edu
# Keyword in the mail subject line to help filter out spam
suggest.filterKeyword=FORYOUREYESONLY
# signature written at the bottom of suggestion emails
suggest.mailSignature=My Lab browser administrator
# contact address for suggestion follow up
suggest.mailReturnAddr=browserAdministrator@mylab.university.edu
# browser name used in emails
suggest.browserName=myLab Genome Browser

The usage of these parameters is explained in the following section - they should be edited as appropriate for your institution.

hgUserSuggestion in action

After the user (e.g., mirrorfan@abc.edu) submits a suggestion, hgUserSuggestion will:

  • Create a suggestion reference ID that is the user's email address with a time stamp appended at the end (e.g., "mirrorfan@abc.edu 2013-07-15 09:35:50")
  • Send an email to suggestion@myuniversitysoe.edu (the value of suggest.mailToAddr) containing the suggestion ID, summary, and details.
    • The subject line of this email will be "FORYOUREYESONLY mirrorfan@abc.edu 2013-07-15 09:35:50". FORYOUREYESONLY (or whatever the value of suggest.filterKeyword is) can be used to help filter out spam mail sent to suggestion@myuniversitysoe.edu
  • The CGI will then display a confirmation message and send a confirmation email to the user.
  • The suggest.mailFromAddr, suggest.mailSignature, suggest.mailReturnAdd and suggest.browserName fields will be used when sending the confirmation email. For example, the user will receive a mail like this:
 From: browserAdministrator@mylab.university.edu
 Subject: Thank you for your suggestion to the MyLab Genome Browser
 To: mirrorfan@abc.edu
 
   Someone (probably you, from IP address 123.456.78.9) submitted a suggestion to the MyLab Genome Browser 
 regarding "Ovis aries Oar_v3.1".

   The suggestion has been assigned a reference number of "mirrorfan@abc.edu 2013-07-15 09:35:50".
 If you wish to follow up on the progress of this suggestion with browser staff, you may contact us at
 browserAdministrator@mylab.university.edu. Please include the reference number of your suggestion in the email.

 Thank you for your input,
 My Lab browser administrator
 
 Your suggestion summary:
 Ovis aries Oar_v3.1

 Your suggestion details:
 
 The Ovis aries 3.1 sequence is available at NCBI now. Please create a browser for this assembly.