Skip to content

Commit 002b620

Browse files
committed
(WIP) Support motif spacing experiment
Related to #34, sets up a notebook that shows (admittedly slowly) how to connect validation regions to their associated representative motif instances. Next step is to connect this to the output we get from making predictions.
1 parent a54af89 commit 002b620

File tree

3 files changed

+3509
-23
lines changed

3 files changed

+3509
-23
lines changed

src/in_silico_mutagenesis_bpnet_all_tfs.ipynb

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,37 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": null,
12+
"execution_count": 1,
1313
"metadata": {},
14-
"outputs": [],
14+
"outputs": [
15+
{
16+
"name": "stderr",
17+
"output_type": "stream",
18+
"text": [
19+
"Using TensorFlow backend.\n"
20+
]
21+
},
22+
{
23+
"name": "stdout",
24+
"output_type": "stream",
25+
"text": [
26+
"WARNING:tensorflow:From /home/ubuntu/anaconda3/envs/deepmr-bpnet3/lib/python3.6/site-packages/keras/optimizers.py:790: The name tf.train.Optimizer is deprecated. Please use tf.compat.v1.train.Optimizer instead.\n",
27+
"\n"
28+
]
29+
},
30+
{
31+
"name": "stderr",
32+
"output_type": "stream",
33+
"text": [
34+
"2022-06-18 13:23:59,848 [WARNING] From /home/ubuntu/anaconda3/envs/deepmr-bpnet3/lib/python3.6/site-packages/keras/optimizers.py:790: The name tf.train.Optimizer is deprecated. Please use tf.compat.v1.train.Optimizer instead.\n",
35+
"\n",
36+
"2022-06-18 13:24:00,235 [INFO] NumExpr defaulting to 4 threads.\n",
37+
"2022-06-18 13:24:01,757 [WARNING] Unrecognized fields for DataLoaderDescription: {'postprocessing'}. Available fields are {'type', 'dependencies', 'writers', 'defined_as', 'info', 'path', 'output_schema', 'args'}\n",
38+
"2022-06-18 13:24:01,771 [WARNING] Unrecognized fields for DataLoaderDescription: {'postprocessing'}. Available fields are {'type', 'dependencies', 'writers', 'defined_as', 'info', 'path', 'output_schema', 'args'}\n",
39+
"2022-06-18 13:24:01,808 [WARNING] Unrecognized fields for DataLoaderDescription: {'postprocessing'}. Available fields are {'type', 'dependencies', 'writers', 'defined_as', 'info', 'path', 'output_schema', 'args'}\n"
40+
]
41+
}
42+
],
1543
"source": [
1644
"%load_ext autoreload\n",
1745
"%autoreload 2\n",
@@ -236,6 +264,7 @@
236264
" incl_chromosomes=gin_config['bpnet_data.valid_chr'], \n",
237265
" peak_width=gin_config['bpnet_data.peak_width'],\n",
238266
" seq_width=gin_config['bpnet_data.seq_width'],\n",
267+
" inter\n",
239268
" shuffle=False)"
240269
]
241270
},

0 commit comments

Comments
 (0)