Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notebooks #123

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,5 @@ output.report
uuids_list.txt

.python-version

*/.ipynb_checkpoints/
Binary file added jupyter_notebooks/Fig1-take2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added jupyter_notebooks/Fig1-take3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added jupyter_notebooks/Fig1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8,465 changes: 8,465 additions & 0 deletions jupyter_notebooks/encode-perspectives-release-fig.ipynb

Large diffs are not rendered by default.

664 changes: 664 additions & 0 deletions jupyter_notebooks/profiling/timing-tests-sno-33.ipynb

Large diffs are not rendered by default.

68 changes: 68 additions & 0 deletions jupyter_notebooks/profiling/timing-tests-sno-33.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@

# coding: utf-8

# In[1]:



# In[2]:

import sys
sys.path.append('..')
import qancode
import numpy as np
import pandas as pd


# In[3]:

#compare any two encoded instances here
qa = qancode.QANCODE(rc_url="https://test.encodedcc.org", prod_url='https://sno68-on-dev.demo.encodedcc.org/')


# In[4]:

res = qa.check_response_time(item_types=["/","/search/?type=Experiment"], n=50)


# In[5]:

res


# In[6]:

qa.check_response_time(item_types=["/search/?searchTerm=K562", "/search/?searchTerm=DNA+binding", "/search/?searchTerm=human", "/search/?searchTerm=H3K36me3", "/search/?searchTerm=CTCF"], n=50)


# In[7]:

qa.check_response_time(item_types=['/ENCSR255XZG/', '/ENCSR749ILN/', '/ENCSR688GVV/', '/ENCSR301HAG/','/ENCSR315NAC/', '/ENCSR856JJB/'], n=50)


# In[8]:

qa.check_response_time(item_types=['/experiments/ENCSR255XZG/', '/experiments/ENCSR749ILN/', '/experiments/ENCSR688GVV/', '/experiments/ENCSR301HAG/','/experiments/ENCSR315NAC/', '/experiments/ENCSR856JJB/'], n=50)


# In[10]:

qa.check_response_time(json=True, item_types=['/ENCSR255XZG/', '/ENCSR749ILN/', '/ENCSR688GVV/', '/ENCSR301HAG/','/ENCSR315NAC/', '/ENCSR856JJB/'], n=50)


# In[ ]:

qa.check_response_time(item_types=['/ENCSR480OHP/','/ENCSR000EMB/','/ENCSR323QIP/','/ENCSR718AXQ/','/ENCSR165BGV/','/ENCSR384KAN/','/ENCSR330FXL/','/ENCSR825UNV/'], n=50)


# In[ ]:

qa.check_response_time(item_types=['/ENCAB830JLB/','/ENCAB000BKR/','/ENCAB284TTY/','/ENCAB294YUD/','/ENCAB000AOC/','/ENCAB301QZF/','/ENCAB000ANM/','/ENCAB000ANU/','/ENCAB445KMF/','/ENCAB000BAY/'], n=50)


# In[ ]:

qa.check_response_time(item_types=['/ENCBS787TFV/','/ENCBS676QAV/','/ENCBS996IWU/','/ENCBS913XJP/','/ENCBS565NTN/','/ENCBS896YZO/','/ENCBS280NYD/'], n=50)


# ##
830 changes: 830 additions & 0 deletions jupyter_notebooks/profiling/v79rc1 vs v78-test.ipynb

Large diffs are not rendered by default.