Difference between revisions of "Cazinge Week 3"

From LMU BioDB 2017
Jump to: navigation, search
(Part 3: Adding Response)
m (Part 3: Formatting)
Line 11: Line 11:
 
; Your answers to the two questions regarding the ExPASy translation server’s output
 
; Your answers to the two questions regarding the ExPASy translation server’s output
  
Note: responses generated from the command `curl "http://web.expasy.org/cgi-bin/translate/dna_aa?pre_text=cgatggtacatggagtccagtagccgtagtgatgagatcgatgagctagc&output=Verbose&code=Standard"`
+
Note: responses generated from the command <code>curl "http://web.expasy.org/cgi-bin/translate/dna_aa?pre_text=cgatggtacatggagtccagtagccgtagtgatgagatcgatgagctagc&output=Verbose&code=Standard"</code>
  
 
* Are there any links to other pages within the ExPASy translation server’s responses? List them and state where they go. (of course, if you aren’t sure, you can always go there with a web browser or curl)  
 
* Are there any links to other pages within the ExPASy translation server’s responses? List them and state where they go. (of course, if you aren’t sure, you can always go there with a web browser or curl)  
  
: Line 1: http://www.w3.org/TR/html4/loose.dtd - A link to the HTML 4.01 Transitional DTD, the HTML specification that this webpage adheres to.
+
: <code>Line 1: http://www.w3.org/TR/html4/loose.dtd</code> - A link to the HTML 4.01 Transitional DTD, the HTML specification that this webpage adheres to.
: Line 5: http://web.expasy.org/favicon.ico - A link to the favicon for the current page to be displayed next to the page's title near the top of the browser.
+
: <code>Line 5: http://web.expasy.org/favicon.ico</code> - A link to the favicon for the current page to be displayed next to the page's title near the top of the browser.
: Line 6: /css/sib_css/sib.css - A link to a css spreadsheet for styling the page.
+
: <code>Line 6: /css/sib_css/sib.css</code> - A link to a css spreadsheet for styling the page.
: Line 7: /css/sib_css/sib_print.css - A link to a css spreadsheet for styling the page.
+
: <code>Line 7: /css/sib_css/sib_print.css</code> - A link to a css spreadsheet for styling the page.
: Line 9: /css/sib_css/sib_ie6.css - A link to a css spreadsheet for styling the page, this one is only accessible if the user is using Internet Explorer 6.
+
: <code>Line 9: /css/sib_css/sib_ie6.css</code> - A link to a css spreadsheet for styling the page, this one is only accessible if the user is using Internet Explorer 6.
: Line 11: /css/base.css - A link to a css spreadsheet for styling the page.
+
: <code>Line 11: /css/base.css</code> - A link to a css spreadsheet for styling the page.
: Line 25: http://www.isb-sib.ch - A link to the Swiss Institute of Bioinformatics' homepage.
+
: <code>Line 25: http://www.isb-sib.ch</code> - A link to the Swiss Institute of Bioinformatics' homepage.
: Line 26: http://www.expasy.org - A link to ExPASy's homepage.
+
: <code>Line 26: http://www.expasy.org</code> - A link to ExPASy's homepage.
: Line 31: http://web.expasy.org/translate - A link to ExPASy's Translate web app.
+
: <code>Line 31: http://web.expasy.org/translate</code> - A link to ExPASy's Translate web app.
: Line 38: http://web.expasy.org/translate - A link to ExPASy's Translate web app.
+
: <code>Line 38: http://web.expasy.org/translate</code> - A link to ExPASy's Translate web app.
: Line 38: /contact - A link to ExPASy's contact page.
+
: <code>Line 38: /contact</code> - A link to ExPASy's contact page.
: Line 45: http://en.wikipedia.org/wiki/Open_reading_frame - A Wikipedia link about Open Reading Frames.
+
: <code>Line 45: http://en.wikipedia.org/wiki/Open_reading_frame</code> - A Wikipedia link about Open Reading Frames.
: Line 48: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,1 - A link to an ExPASy web app that will use the 1st 5'3' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
+
: <code>Line 48: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,1</code> - A link to an ExPASy web app that will use the 1st 5'3' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
: Line 50: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,2 - A link to an ExPASy web app that will use the 2nd 5'3' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
+
: <code>Line 50: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,2</code> - A link to an ExPASy web app that will use the 2nd 5'3' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
: Line 52: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,3 - A link to an ExPASy web app that will use the 3rd 5'3' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
+
: <code>Line 52: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,3</code> - A link to an ExPASy web app that will use the 3rd 5'3' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
: Line 54: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,4 - A link to an ExPASy web app that will use the 1st 3'5' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
+
: <code>Line 54: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,4</code> - A link to an ExPASy web app that will use the 1st 3'5' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
: Line 56: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,5 - A link to an ExPASy web app that will use the 2nd 3'5' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
+
: <code>Line 56: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,5</code> - A link to an ExPASy web app that will use the 2nd 3'5' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
: Line 58: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,6 - A link to an ExPASy web app that will use the 3rd 3'5' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
+
: <code>Line 58: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,6</code> - A link to an ExPASy web app that will use the 3rd 3'5' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
: Line 67: http://www.isb-sib.ch - A link to the Swiss Institute of Bioinformatics' homepage.
+
: <code>Line 67: http://www.isb-sib.ch</code> - A link to the Swiss Institute of Bioinformatics' homepage.
: Line 67: http://www.expasy.org/disclaimer.html - A link to ExPASy's disclaimer page.
+
: <code>Line 67: http://www.expasy.org/disclaimer.html</code> - A link to ExPASy's disclaimer page.
: Line 71: #TOP - The top of the current page.
+
: <code>Line 71: #TOP</code> - The top of the current page.
: Line 84: google-analytics.com/ga.js - The destination for the google analytics script to gather info about user's behavior on the current page.
+
: <code>Line 84: google-analytics.com/ga.js</code> - The destination for the google analytics script to gather info about user's behavior on the current page.
  
 
* Are there any identifiers in the ExPASy translation server’s responses? List them and state what you think they identify.
 
* Are there any identifiers in the ExPASy translation server’s responses? List them and state what you think they identify.
  
: Line 17: sib_top - Identifies the element representing the top of the page.
+
: <code>Line 17: sib_top</code> - Identifies the element representing the top of the page.
: Line 18: sib_container - Identifies element containing the main area for all content to be displayed.
+
: <code>Line 18: sib_container</code> - Identifies element containing the main area for all content to be displayed.
: Line 21: sib_header_small - Identifies the element containing the header of the page.
+
: <code>Line 21: sib_header_small</code> - Identifies the element containing the header of the page.
: Line 24: sib_expasy_logo - Identifies the element containing the ExPASy logo.
+
: <code>Line 24: sib_expasy_logo</code> - Identifies the element containing the ExPASy logo.
: Line 25: sib_link - Identifies the element containing a link to the Swiss Institute of Bioinformatics' homepage.
+
: <code>Line 25: sib_link</code> - Identifies the element containing a link to the Swiss Institute of Bioinformatics' homepage.
: Line 26: expasy_link - Identifies the element containing a link to ExPASy homepage.
+
: <code>Line 26: expasy_link</code> - Identifies the element containing a link to ExPASy homepage.
: Line 35: resource_header - Identifies the element containing an alternative header for the page, possibly managing some information on the page.
+
: <code>Line 35: resource_header</code> - Identifies the element containing an alternative header for the page, possibly managing some information on the page.
: Line 37: sib_header_nav - Identifies the element containing the links for navigating the ExPASy web app.
+
: <code>Line 37: sib_header_nav</code> - Identifies the element containing the links for navigating the ExPASy web app.
: Line 42: sib_body - Identifies the element containing the main area for the web app related content to be displayed.
+
: <code>Line 42: sib_body</code> - Identifies the element containing the main area for the web app related content to be displayed.
: Line 64: sib_footer - Identifies the element containing the footer of the page.
+
: <code>Line 64: sib_footer</code> - Identifies the element containing the footer of the page.
: Line 66: sib_footer_content - Identifies the element containing the main area for footer related content to be displayed.
+
: <code>Line 66: sib_footer_content</code> - Identifies the element containing the main area for footer related content to be displayed.
: Line 70: sib_footer_right - Identifies the element containing the content of the footer that is to be displayed on the right side.
+
: <code>Line 70: sib_footer_right</code> - Identifies the element containing the content of the footer that is to be displayed on the right side.
: Line 71: sib_footer_gototop - Identifies the element containing the link to head back to the top of the current page.
+
: <code>Line 71: sib_footer_gototop</code> - Identifies the element containing the link to head back to the top of the current page.
  
 
== Part 4 ==
 
== Part 4 ==

Revision as of 22:00, 16 September 2017

Part 1

The two screenshots of your “hacked” web page, with and without developer tools
Shmoogle.com, with Dev Tools
Shmoogle.com, without Dev Tools

Part 2

The curl command that requests a translation at the command-line, raw-data level
curl "http://web.expasy.org/cgi-bin/translate/dna_aa?pre_text=cgatggtacatggagtccagtagccgtagtgatgagatcgatgagctagc&output=Verbose&code=Standard"

Part 3

Your answers to the two questions regarding the ExPASy translation server’s output

Note: responses generated from the command curl "http://web.expasy.org/cgi-bin/translate/dna_aa?pre_text=cgatggtacatggagtccagtagccgtagtgatgagatcgatgagctagc&output=Verbose&code=Standard"

  • Are there any links to other pages within the ExPASy translation server’s responses? List them and state where they go. (of course, if you aren’t sure, you can always go there with a web browser or curl)
Line 1: http://www.w3.org/TR/html4/loose.dtd - A link to the HTML 4.01 Transitional DTD, the HTML specification that this webpage adheres to.
Line 5: http://web.expasy.org/favicon.ico - A link to the favicon for the current page to be displayed next to the page's title near the top of the browser.
Line 6: /css/sib_css/sib.css - A link to a css spreadsheet for styling the page.
Line 7: /css/sib_css/sib_print.css - A link to a css spreadsheet for styling the page.
Line 9: /css/sib_css/sib_ie6.css - A link to a css spreadsheet for styling the page, this one is only accessible if the user is using Internet Explorer 6.
Line 11: /css/base.css - A link to a css spreadsheet for styling the page.
Line 25: http://www.isb-sib.ch - A link to the Swiss Institute of Bioinformatics' homepage.
Line 26: http://www.expasy.org - A link to ExPASy's homepage.
Line 31: http://web.expasy.org/translate - A link to ExPASy's Translate web app.
Line 38: http://web.expasy.org/translate - A link to ExPASy's Translate web app.
Line 38: /contact - A link to ExPASy's contact page.
Line 45: http://en.wikipedia.org/wiki/Open_reading_frame - A Wikipedia link about Open Reading Frames.
Line 48: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,1 - A link to an ExPASy web app that will use the 1st 5'3' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
Line 50: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,2 - A link to an ExPASy web app that will use the 2nd 5'3' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
Line 52: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,3 - A link to an ExPASy web app that will use the 3rd 5'3' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
Line 54: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,4 - A link to an ExPASy web app that will use the 1st 3'5' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
Line 56: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,5 - A link to an ExPASy web app that will use the 2nd 3'5' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
Line 58: /cgi-bin/translate/dna_sequences?/work/expasy/tmp/http/seqdna.23663,6 - A link to an ExPASy web app that will use the 3rd 3'5' Reading Frame for the current dna sequence in order to generate virtual Swiss-Prot entries.
Line 67: http://www.isb-sib.ch - A link to the Swiss Institute of Bioinformatics' homepage.
Line 67: http://www.expasy.org/disclaimer.html - A link to ExPASy's disclaimer page.
Line 71: #TOP - The top of the current page.
Line 84: google-analytics.com/ga.js - The destination for the google analytics script to gather info about user's behavior on the current page.
  • Are there any identifiers in the ExPASy translation server’s responses? List them and state what you think they identify.
Line 17: sib_top - Identifies the element representing the top of the page.
Line 18: sib_container - Identifies element containing the main area for all content to be displayed.
Line 21: sib_header_small - Identifies the element containing the header of the page.
Line 24: sib_expasy_logo - Identifies the element containing the ExPASy logo.
Line 25: sib_link - Identifies the element containing a link to the Swiss Institute of Bioinformatics' homepage.
Line 26: expasy_link - Identifies the element containing a link to ExPASy homepage.
Line 35: resource_header - Identifies the element containing an alternative header for the page, possibly managing some information on the page.
Line 37: sib_header_nav - Identifies the element containing the links for navigating the ExPASy web app.
Line 42: sib_body - Identifies the element containing the main area for the web app related content to be displayed.
Line 64: sib_footer - Identifies the element containing the footer of the page.
Line 66: sib_footer_content - Identifies the element containing the main area for footer related content to be displayed.
Line 70: sib_footer_right - Identifies the element containing the content of the footer that is to be displayed on the right side.
Line 71: sib_footer_gototop - Identifies the element containing the link to head back to the top of the current page.

Part 4

Part 5

Part 6

A Link to my electronic notebook can be found below.

My Links

My User Page

My Electronic Notebook

Home Page

Week 1
Assignment
Individual Journal
Shared Journal
Week 2
Assignment
Individual Journal
Shared Journal
Week 3
Assignment
Individual Journal
Shared Journal
Week 4
Assignment
Individual Journal
Shared Journal
Week 5
Assignment
Individual Journal
Shared Journal
Week 6
Assignment
Individual Journal
Shared Journal
Week 7
Assignment
Individual Journal
Shared Journal
Week 8
Assignment
Individual Journal
Shared Journal
Week 9
Assignment
Individual Journal
Shared Journal
Week 10
Assignment
Individual Journal
Shared Journal
Week 11
Assignment
Individual Journal
Shared Journal
Week 12
Assignment
Individual Journal
Shared Journal
Week 14
Assignment
Individual Journal
Shared Journal
Week 15
Assignment
Individual Journal
Shared Journal