QLanners Week 9
From LMU BioDB 2017
Electronic Journal
GRNsight Client Side Testing Document: Edge Weights + Gray Threshold
- Test 1
- Passed
- Test 2
- Passed
- Test 3
- Passed
- Test 4
- Passed
- Test 5
- Passed
- Test 6
- Passed
- Test 7
- Passed
- Test 8
- Passed
- Test 9
- Passed
- Test 10
- Passed
- Test 11
- Passed
- Test 12
- Passed
- Test 13
- Passed
- Test 14
- Passed
- Test 15
- Passed
- Test 16
- Passed
- Test 17
- Passed
- Test 18
- Passed
- Other Notes:
- Every time you change the "Gray Edge Threshold" the Zoom level of the viewport resets itself. This makes it difficult to use the gray edge threshold, as you lose track of the genes you were paying attention to if you were zoomed in or out.
- The first time I tried to load SIF and GRAPHML files on 10/24, the program would allow me to select my file, but nothing would load. However, when I tried again on 10/26 both file types were loaded normally. Not sure if this was an issue with my local computer or the application itself. This error took place on both Safari and Chrome the first time I tried but worked on both browsers the second try.
Web Service API Exploration
- Goal: To take a gene name and find a path to its full data profile
- Assigned database: NCBI
- Dondi References:
- Relevant documentation:
- https://www.ncbi.nlm.nih.gov/gene
- https://www.ncbi.nlm.nih.gov/books/NBK25499/#chapter4.ESearch
- https://www.ncbi.nlm.nih.gov/books/NBK25500/#chapter1.Searching_a_Database
- https://www.ncbi.nlm.nih.gov/books/NBK25500/#chapter1.Downloading_Document_Summaries
- https://www.ncbi.nlm.nih.gov/books/NBK25500/#chapter1.Downloading_Full_Records
- Technical information:
- Your URLs will include ampersands (&), which will need special handling with curl: in these cases, enclose the URL in apostrophes (e.g., curl -L 'http://www.uniport.org?query=this&type=that')
- Your URLs will also include brackets ([ ]), which will need special handling with curl: in these cases, make sure to add the -g switch (i.e., curl -g …)
- Your URLs may include spaces; typically, we replace those with + (plus) symbols
- Miscellaneous information:
- NCBI consists of multiple databases; we care about the gene database
- NCBI abbreviates the gene name/symbol field as sym
- NCBI stores organisms by their full name, in our case Saccharomyces cerevisiae (note the space)
- Relevant documentation:
- Solution:
- We primarily worked with the https://www.ncbi.nlm.nih.gov/books/NBK25500/#chapter1.Searching_a_Database web page to find this path.
- We began by using the general URL for all E-utility calls: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/
- We followed this up by adding esearch.fcgi?db=<database>&term=<query> to do a basic search. This gave us the URL: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=<database>&term=<query>
- We then replaced the <database> section of the URL with gene (per the miscellaneous information above) and substituted the <query> section with the name of a gene.
- We used the gene PBS2 to align with the results found in the ajax-starter package. This left us with the URL: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=gene&term=pbs2
- This URL returned 539 results of different IDs in a list
- From here we added Saccharomyces cerevisiae toour query to limit the results to this organism only.
- This left us with the URL: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=gene&term=pbs2+AND+Saccharomyces+cerevisiae (subsituting the spaces with +)
- This returned 492 resuts of different IDs in a list.
- Finally, looking once again at the web page https://www.ncbi.nlm.nih.gov/books/NBK25500/#chapter1.Searching_a_Database we saw the following example: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term=science[journal]+AND+breast+cancer+AND+2008[pdat] and hypothesized that if we added brackets indicating a category for both the terms in the query that it would liit the results.
- Thus we added the category [gene] after the gene name pbs2 and the category [organism] after the organism name, leaving us with the URL: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=gene&term=pbs2[gene]+AND+Saccharomyces+cerevisiae[Organism]
- This URL returned one result of an ID in a list.
- This returned ID number was then taken and replaced for <geneid> in the following URL: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=gene&id=<geneid>
- This URL then returned a data profile for the gene PBS2.
- We trued this method for multiple gene names (ada2 and asp1) and recieved the same results. Confirming that this method works.