Difference between revisions of "Emmatyrnauer Week 3"

From LMU BioDB 2017
Jump to: navigation, search
(The Genetic Code by Way of the Web: adding questions and starting the notebook)
(adding acknowledgments and references headers)
Line 28: Line 28:
 
===Notebook===
 
===Notebook===
 
In DMing the server with curl,
 
In DMing the server with curl,
 +
 +
==Acknowledgements==
 +
 +
==References==

Revision as of 18:46, 18 September 2017

Hack a Page

Text Modification

Developer Tools Open
Developer Tools Closed

Picture Replacement

Developer Tools Open
Developer Tools Closed

Notebook

For this portion of the assignment, I visited the LMU website and replaced "Loyola Marymount University" with "Where the kool kidz go." I also changed the picture associated with the heading: "Top 10% Wallstreet Journal Ranked" to a picture of my dog. To replace the heading I opened up the developer tools using the inspect option and typed in the new heading. For the photo, I went to my Facebook page and copied and pasted the src from Facebook to the developer tools on LMU's website.

The Genetic Code by Way of the Web

DMing the Server with Curl

curl -d "pre_text=cgatggtacatggagtccagtagccgtagtgatgagatcgatgagctagc&submit=Submit" http://web.expasy.org/cgi-bin/translate/dna_aa

Studying the curled code

  1. 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)
  2. Are there any identifiers in the ExPASy translation server’s responses? List them and state what you think they identify.

Using the Command Line to Extract Just the Answers

curl -d "pre_text=cgatggtacatggagtccagtagccgtagtgatgagatcgatgagctagc&submit=Submit" http://web.expasy.org/cgi-bin/translate/dna_aa | sed "1,47d" | sed "14,44d" | sed 's/<[^>]*>//g' | sed "2s/[A-Z]/& /g" | sed "4s/[A-Z]/& /g" | sed "6s/[A-Z]/& /g" | sed "8s/[A-Z]/& /g" | sed "10s/[A-Z]/& /g" | sed "12s/[A-Z]/& /g" | sed "s/M/Met/g"| sed "s/-/Stop /g"

Notebook

In DMing the server with curl,

Acknowledgements

References