Difference between revisions of "Kwrigh35 Week 9"
(→Electronic Notebook: moved image for better page layout) |
(→Viewport Size Testing Results: changed color scheme of results table) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
===Viewport Size Testing Instructions=== | ===Viewport Size Testing Instructions=== | ||
*We were tasked with testing the viewport on the [http://dondi.github.io/GRNsight/beta.html GRNsight Beta]. | *We were tasked with testing the viewport on the [http://dondi.github.io/GRNsight/beta.html GRNsight Beta]. | ||
− | *The files we used for testing were titled | + | *The files we used for testing were titled |
− | + | **21-genes_31-edges_Schade-data_input.graphml, | |
+ | **21-genes_31-edges_Schade-data_input.sif | ||
+ | **21-genes_31-edges_Schade-data_input.xlsx. | ||
+ | *The files were downloaded from [https://github.com/dondi/GRNsight/tree/beta/test-files/demo-files this website]. | ||
*We followed the testing instructions on [[media:GRNsight_Testing-Viewport_Size.pdf | this PDF]]. | *We followed the testing instructions on [[media:GRNsight_Testing-Viewport_Size.pdf | this PDF]]. | ||
Line 10: | Line 13: | ||
''Test numbers refer to tests found on [[media:GRNsight_Testing-Viewport_Size.pdf | this PDF]]'' [[File:GRNsight_Viewport_Fail.JPG|600px|thumb|right|'''Fig. 1''' Screenshot highlighting the scroll bar that appears when the "fit to window" functionality of the viewport fails.]] | ''Test numbers refer to tests found on [[media:GRNsight_Testing-Viewport_Size.pdf | this PDF]]'' [[File:GRNsight_Viewport_Fail.JPG|600px|thumb|right|'''Fig. 1''' Screenshot highlighting the scroll bar that appears when the "fit to window" functionality of the viewport fails.]] | ||
− | {| class="wikitable | + | {| class="wikitable" |
|- | |- | ||
− | ! | + | ! Test Number !! Results |
|- | |- | ||
− | |Test 1 ||PASS | + | |Test 1 ||style="background: Honeydew"| PASS |
|- | |- | ||
− | |Test 2 ||PASS | + | |Test 2 ||style="background: Honeydew"| PASS |
|- | |- | ||
− | |Test 3 ||PASS | + | |Test 3 ||style="background: Honeydew"| PASS |
|- | |- | ||
− | |Test 4 ||PASS | + | |Test 4 ||style="background: Honeydew"| PASS |
|- | |- | ||
− | |Test 5 ||PASS | + | |Test 5 ||style="background: Honeydew"| PASS |
|- | |- | ||
− | |Test 6 ||PASS | + | |Test 6 ||style="background: Honeydew"| PASS |
|- | |- | ||
− | |Test 7 ||PASS | + | |Test 7 ||style="background: Honeydew"| PASS |
|- | |- | ||
− | |Test 8 ||PASS | + | |Test 8 ||style="background: Honeydew"| PASS |
|- | |- | ||
− | |Test 9 ||PASS | + | |Test 9 ||style="background: Honeydew"| PASS |
|- | |- | ||
− | |Test 10 ||PASS | + | |Test 10 ||style="background: Honeydew"| PASS |
|- | |- | ||
− | |Test 11 ||PASS | + | |Test 11 ||style="background: Honeydew"| PASS |
|- | |- | ||
− | |Test 12 ||PASS | + | |Test 12 ||style="background: Honeydew"| PASS |
|- | |- | ||
− | |Test 13 ||FAIL | + | |Test 13 ||style="background: MistyRose"| FAIL |
|- | |- | ||
− | |Test 14 ||FAIL | + | |Test 14 ||style="background: MistyRose"| FAIL |
|- | |- | ||
− | |Test 15 ||FAIL | + | |Test 15 ||style="background: MistyRose"| FAIL |
|} | |} | ||
Latest revision as of 06:37, 31 October 2017
Contents
Electronic Notebook
Viewport Size Testing Instructions
- We were tasked with testing the viewport on the GRNsight Beta.
- The files we used for testing were titled
- 21-genes_31-edges_Schade-data_input.graphml,
- 21-genes_31-edges_Schade-data_input.sif
- 21-genes_31-edges_Schade-data_input.xlsx.
- The files were downloaded from this website.
- We followed the testing instructions on this PDF.
Viewport Size Testing Results
Test numbers refer to tests found on this PDFTest Number | Results |
---|---|
Test 1 | PASS |
Test 2 | PASS |
Test 3 | PASS |
Test 4 | PASS |
Test 5 | PASS |
Test 6 | PASS |
Test 7 | PASS |
Test 8 | PASS |
Test 9 | PASS |
Test 10 | PASS |
Test 11 | PASS |
Test 12 | PASS |
Test 13 | FAIL |
Test 14 | FAIL |
Test 15 | FAIL |
Failed Test Explanation
Tests 13, 14, and 15 were designed to test the "Fit to Window" functionality of the viewport. We noticed that when the browser window was small (less than 1317 pixels wide) the viewport extended further than the scope of the browser. Figure 1 highlights the scroll bar that appears at the bottom of the browser window (which appears when the viewport extends beyond the width of the browser window.)
API
The database my partner and I worked with was UniProt. By executing the first two commands given below, one can successfully find the gene ID number for any Saccharomyces Cerevisiae gene if the gene name is known. Simply replace <gene name>
with the name of the gene you are looking for (e.g. ASP1, ACT1, etc.)
gene_name=<gene name> gene_id=$(curl -L "http://www.uniprot.org/uniprot/?query=559292+$gene_name&sort=score" | grep -o -P '(?<=tbody><tr id=").*(?=\" class=" entry s)') curl -L "http://uniprot.org/uniprot/$gene_id.xml"
We used this URL http://www.uniprot.org/uniprot/?query=559292+$gene_name&sort=score
as part of the command. The number 559292 refers to the Taxon ID that represents Saccharomyces Cerevisiae in UniProt.
In order to find the raw data about the gene, you then simply execute the third command given above. UniProt returns this information in XML format.
Acknowledgements
- I'd like to thank my homework partner, Eddie Bachoura, for meeting with me on Monday afternoon (10/30). We worked on the assignment together and were able to finish in a couple of hours.
- While I worked with the people noted above, this individual journal entry was completed by me and not copied from another source.
Kwrigh35 (talk) 23:19, 30 October 2017 (PDT)
References
- LMU BioDB 2017. (2017). Week 9. Retrieved October 24, 2017, from Week 9
- LMU BioDB 2017. (2017). GRNsight Client Side Testing Document: Viewport Size. Retrieved October 24, 2017, from media:GRNsight_Testing-Viewport_Size.pdf
Useful Links
Category | Links |
---|---|
Interwiki | Main Page Katie Wright Course schedule Lights, Camera, InterACTION! |
Katie Wright Weekly Assignment |
Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Week 8 Week 9🎃 Week 10 Week 11 Week 12 Week 13 Week 14 Week 15 |
Weekly Assignment Instructions |
Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Week 8 Week 9 Week 10 Week 11 Week 12 Week 14 Week 15 |
Class Journals | Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Week 8 Week 9 Week 10 Week 11 Week 12 Week 13 Week 14 |