Emmatyrnauer Week 3
From LMU BioDB 2017
Revision as of 18:37, 18 September 2017 by Emmatyrnauer (talk | contribs) (→The Genetic Code by Way of the Web: adding questions and starting the notebook)
Contents
Hack a Page
Text Modification
Picture Replacement
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
- 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 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,