{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "c2f0098b",
   "metadata": {
    "ExecuteTime": {
     "end_time": "2026-01-06T23:53:25.186400Z",
     "start_time": "2026-01-06T23:53:25.176168Z"
    }
   },
   "outputs": [],
   "source": [
    "import json\n",
    "import pandas as pd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "bd942c9a",
   "metadata": {
    "ExecuteTime": {
     "end_time": "2026-01-06T23:53:25.199279Z",
     "start_time": "2026-01-06T23:53:25.195244Z"
    }
   },
   "outputs": [],
   "source": [
    "def make_data_datahub(model, accession, color):\n",
    "    template = [\n",
    "        {\n",
    "            \"type\": \"bigwig\",\n",
    "            \"name\": f\"{model} observed\",\n",
    "            \"url\": f\"https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/{model}/{accession}.bw\",\n",
    "            \"showOnHubLoad\": True,\n",
    "            \"options\": {\n",
    "                \"color\": color\n",
    "                }\n",
    "        },{\n",
    "            \"type\": \"bigwig\",\n",
    "            \"name\": f\"{model} observed (plus)\",\n",
    "            \"url\": f\"https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/{model}/{accession}.plus.bw\",\n",
    "            \"showOnHubLoad\": True,\n",
    "            \"options\": {\n",
    "                \"color\": color\n",
    "                }\n",
    "        },\n",
    "        {\n",
    "            \"type\": \"bigwig\",\n",
    "            \"name\": f\"{model} observed (minus)\",\n",
    "            \"url\": f\"https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/{model}/{accession}.minus.bw\",\n",
    "            \"showOnHubLoad\": True,\n",
    "            \"options\": {\n",
    "                \"color\": color\n",
    "                }\n",
    "        },\n",
    "        {\n",
    "            \"type\": \"bed\",\n",
    "            \"name\": f\"{model} peaks\",\n",
    "            \"url\": f\"https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/{model}/peaks_inliers.sorted.bed.gz\",\n",
    "            \"showOnHubLoad\": True,\n",
    "            \"options\": {\n",
    "                \"color\": color\n",
    "                }\n",
    "        }\n",
    "    ]\n",
    "    return template"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "013d9664",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>dataset_name</th>\n",
       "      <th>SRR_id</th>\n",
       "      <th>control_dataset</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Kasumi_AML1_C19</td>\n",
       "      <td>SRR1778699</td>\n",
       "      <td>Kasumi_Total</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Kasumi_AML1_N20</td>\n",
       "      <td>SRR1778700</td>\n",
       "      <td>Kasumi_Total</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Kasumi_ETO</td>\n",
       "      <td>SRR1778701</td>\n",
       "      <td>Kasumi_Total</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>U937_AML1</td>\n",
       "      <td>SRR1910745</td>\n",
       "      <td>U937_Total</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "      dataset_name      SRR_id control_dataset\n",
       "0  Kasumi_AML1_C19  SRR1778699    Kasumi_Total\n",
       "1  Kasumi_AML1_N20  SRR1778700    Kasumi_Total\n",
       "2       Kasumi_ETO  SRR1778701    Kasumi_Total\n",
       "4        U937_AML1  SRR1910745      U937_Total"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "metadata_df = pd.read_csv('/users/shouvikm/data/Cell_Lines_Ped_Leukemia/RUNX1_RUNX1T1/RUNX1_RUNX1T1_ChIP_metadata.csv')\n",
    "metadata_df_non_controls = metadata_df[~metadata_df['control_dataset'].isna()]\n",
    "metadata_df_non_controls"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "54497797",
   "metadata": {
    "ExecuteTime": {
     "end_time": "2026-01-06T23:53:25.209525Z",
     "start_time": "2026-01-06T23:53:25.201708Z"
    }
   },
   "outputs": [],
   "source": [
    "model_to_color = {\n",
    "    'Kasumi_AML1_C19': 'green',\n",
    "    'Kasumi_AML1_N20': 'blue',\n",
    "    'Kasumi_ETO': 'red',\n",
    "    'U937_AML1': 'gray',\n",
    "}\n",
    "\n",
    "datahubs = []\n",
    "for i, row in metadata_df_non_controls.iterrows():\n",
    "    model = row['dataset_name']\n",
    "    accession = row['SRR_id']\n",
    "    color = model_to_color[model]\n",
    "    data_datahub = make_data_datahub(model, accession, color)\n",
    "    datahubs.extend(data_datahub)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "2dc143be",
   "metadata": {
    "ExecuteTime": {
     "end_time": "2026-01-06T23:53:31.951589Z",
     "start_time": "2026-01-06T23:53:31.918053Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[{'type': 'bigwig',\n",
       "  'name': 'Kasumi_AML1_C19 observed',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/Kasumi_AML1_C19/SRR1778699.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Kasumi_AML1_C19 observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/Kasumi_AML1_C19/SRR1778699.plus.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Kasumi_AML1_C19 observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/Kasumi_AML1_C19/SRR1778699.minus.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'Kasumi_AML1_C19 peaks',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/Kasumi_AML1_C19/peaks_inliers.sorted.bed.gz',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Kasumi_AML1_N20 observed',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/Kasumi_AML1_N20/SRR1778700.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Kasumi_AML1_N20 observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/Kasumi_AML1_N20/SRR1778700.plus.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Kasumi_AML1_N20 observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/Kasumi_AML1_N20/SRR1778700.minus.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'Kasumi_AML1_N20 peaks',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/Kasumi_AML1_N20/peaks_inliers.sorted.bed.gz',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Kasumi_ETO observed',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/Kasumi_ETO/SRR1778701.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Kasumi_ETO observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/Kasumi_ETO/SRR1778701.plus.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Kasumi_ETO observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/Kasumi_ETO/SRR1778701.minus.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'Kasumi_ETO peaks',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/Kasumi_ETO/peaks_inliers.sorted.bed.gz',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'U937_AML1 observed',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/U937_AML1/SRR1910745.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'U937_AML1 observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/U937_AML1/SRR1910745.plus.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'U937_AML1 observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/U937_AML1/SRR1910745.minus.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'U937_AML1 peaks',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/RUNX1_RUNX1T1/U937_AML1/peaks_inliers.sorted.bed.gz',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'gray'}}]"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "datahubs"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "326eaa9b",
   "metadata": {
    "ExecuteTime": {
     "end_time": "2026-01-06T23:54:34.352820Z",
     "start_time": "2026-01-06T23:54:34.307382Z"
    }
   },
   "outputs": [],
   "source": [
    "with open(\"data_datahub.json\", \"w\") as f:\n",
    "    json.dump(datahubs, f, indent=4)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "1310d439",
   "metadata": {
    "ExecuteTime": {
     "end_time": "2026-01-07T00:35:35.555540Z",
     "start_time": "2026-01-07T00:35:35.538953Z"
    }
   },
   "outputs": [],
   "source": [
    "def make_model_datahub(model, accession, color):\n",
    "    template = [\n",
    "        {\n",
    "            \"type\": \"bigwig\",\n",
    "            \"name\": f\"{model} observed (plus)\",\n",
    "            \"url\": f\"https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/{model}/{accession}.plus.bw\",\n",
    "            \"showOnHubLoad\": False,\n",
    "            \"options\": {\n",
    "                \"color\": color\n",
    "                }\n",
    "        },\n",
    "        {\n",
    "            \"type\": \"bigwig\",\n",
    "            \"name\": f\"{model} predicted (plus)\",\n",
    "            \"url\": f\"https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/{model}/predictions_plus_avg.bw\",\n",
    "            \"showOnHubLoad\": True,\n",
    "            \"options\": {\n",
    "                \"color\": color\n",
    "                }\n",
    "        },\n",
    "        {\n",
    "            \"type\": \"bigwig\",\n",
    "            \"name\": f\"{model} observed (minus)\",\n",
    "            \"url\": f\"https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/{model}/{accession}.minus.bw\",\n",
    "            \"showOnHubLoad\": False,\n",
    "            \"options\": {\n",
    "                \"color\": color\n",
    "                }\n",
    "        },\n",
    "        {\n",
    "            \"type\": \"bigwig\",\n",
    "            \"name\": f\"{model} predicted (minus)\",\n",
    "            \"url\": f\"https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/{model}/predictions_minus_avg.bw\",\n",
    "            \"showOnHubLoad\": True,\n",
    "            \"options\": {\n",
    "                \"color\": color\n",
    "                }\n",
    "        },\n",
    "        {\n",
    "            \"type\": \"dynseq\",\n",
    "            \"name\": f\"{model} counts contributions\",\n",
    "            \"url\": f\"https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/{model}/counts_scores_avg.bw\",\n",
    "            \"showOnHubLoad\": True,\n",
    "            \"options\": {\n",
    "                \"color\": color\n",
    "            }\n",
    "        },\n",
    "        {\n",
    "            \"type\": \"dynseq\",\n",
    "            \"name\": f\"{model} profile contributions\",\n",
    "            \"url\": f\"https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/{model}/profile_scores_avg.bw\",\n",
    "            \"showOnHubLoad\": False,\n",
    "            \"options\": {\n",
    "                \"color\": color\n",
    "            }\n",
    "        },\n",
    "        {\n",
    "            \"type\": \"bed\",\n",
    "            \"name\": f\"{model} peaks\",\n",
    "            \"showOnHubLoad\": True,\n",
    "            \"url\": f\"https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/{model}/peaks_inliers.sorted.bed.gz\",\n",
    "            \"options\": {\n",
    "                \"color\": color\n",
    "                }\n",
    "        },\n",
    "#         {\n",
    "#             \"type\": \"bed\",\n",
    "#             \"name\": f\"{model} finemo hits\",\n",
    "#             \"showOnHubLoad\": True,\n",
    "#             \"url\": f\"https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/{model}/hits.sorted.bed.gz\",\n",
    "#             \"options\": {\n",
    "#                 \"color\": color,\n",
    "#                 \"alwaysDrawLabel\": True\n",
    "#                 }\n",
    "#         }\n",
    "    ]\n",
    "    return template"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "e1481ca0",
   "metadata": {
    "ExecuteTime": {
     "end_time": "2026-01-07T00:38:16.109612Z",
     "start_time": "2026-01-07T00:38:16.096871Z"
    }
   },
   "outputs": [],
   "source": [
    "model_to_accession = {\n",
    "    'Reh_HPA': 'ERR5643715',\n",
    "    'Reh_PAS': 'ERR5643721',\n",
    "    'Reh_DMSO_HPA': 'ERR5643714',\n",
    "    'REH_ETV6-RUNX1_rep1': 'SRR14714986',\n",
    "    'REH_ETV6-RUNX1_rep2': 'SRR14714987',\n",
    "    'Reh_ETV6_Atlas': 'SRR20653122',\n",
    "    'Nalm6_ETV6-RUNX1_V5_B': 'ERR5643729',\n",
    "    'Reh_RUNX1_B': 'ERR5643726',\n",
    "    'Reh_DMSO_RUNX1': 'ERR5643725',\n",
    "    'REH_RUNX1_rep1': 'SRR7601288',\n",
    "    'REH_RUNX1_rep2': 'SRR7601289',\n",
    "    'Nalm6_RUNX1': 'ERR5643722',\n",
    "    'ETV6_HA_IP': 'SRR5943383',\n",
    "    'Reh_ETV6-WT': 'SRR16677083',\n",
    "    'Reh_ERG': 'SRR16677076'\n",
    "}\n",
    "colors = ['red', 'blue', 'green', 'orange', 'gray', 'purple', 'black', 'brown']\n",
    "\n",
    "datahubs = []\n",
    "for i, (model, accession) in enumerate(model_to_accession.items()):\n",
    "    color = colors[i % len(colors)]\n",
    "    color = colors[i % len(colors)]\n",
    "    model_datahub = make_model_datahub(model, accession, color)\n",
    "    datahubs.extend(model_datahub)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "24cd8d45",
   "metadata": {
    "ExecuteTime": {
     "end_time": "2026-01-07T00:38:19.061631Z",
     "start_time": "2026-01-07T00:38:19.015010Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[{'type': 'bigwig',\n",
       "  'name': 'Reh_HPA observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_HPA/ERR5643715.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_HPA predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_HPA/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_HPA observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_HPA/ERR5643715.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_HPA predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_HPA/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_HPA counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_HPA/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_HPA profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_HPA/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'Reh_HPA peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_HPA/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_PAS observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_PAS/ERR5643721.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_PAS predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_PAS/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_PAS observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_PAS/ERR5643721.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_PAS predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_PAS/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_PAS counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_PAS/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_PAS profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_PAS/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'Reh_PAS peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_PAS/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_DMSO_HPA observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_DMSO_HPA/ERR5643714.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_DMSO_HPA predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_DMSO_HPA/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_DMSO_HPA observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_DMSO_HPA/ERR5643714.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_DMSO_HPA predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_DMSO_HPA/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_DMSO_HPA counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_DMSO_HPA/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_DMSO_HPA profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_DMSO_HPA/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'Reh_DMSO_HPA peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_DMSO_HPA/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_ETV6-RUNX1_rep1 observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/REH_ETV6-RUNX1_rep1/SRR14714986.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'orange'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_ETV6-RUNX1_rep1 predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/REH_ETV6-RUNX1_rep1/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'orange'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_ETV6-RUNX1_rep1 observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/REH_ETV6-RUNX1_rep1/SRR14714986.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'orange'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_ETV6-RUNX1_rep1 predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/REH_ETV6-RUNX1_rep1/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'orange'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'REH_ETV6-RUNX1_rep1 counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/REH_ETV6-RUNX1_rep1/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'orange'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'REH_ETV6-RUNX1_rep1 profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/REH_ETV6-RUNX1_rep1/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'orange'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'REH_ETV6-RUNX1_rep1 peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/REH_ETV6-RUNX1_rep1/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'orange'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_ETV6-RUNX1_rep2 observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/REH_ETV6-RUNX1_rep2/SRR14714987.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_ETV6-RUNX1_rep2 predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/REH_ETV6-RUNX1_rep2/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_ETV6-RUNX1_rep2 observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/REH_ETV6-RUNX1_rep2/SRR14714987.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_ETV6-RUNX1_rep2 predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/REH_ETV6-RUNX1_rep2/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'REH_ETV6-RUNX1_rep2 counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/REH_ETV6-RUNX1_rep2/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'REH_ETV6-RUNX1_rep2 profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/REH_ETV6-RUNX1_rep2/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'REH_ETV6-RUNX1_rep2 peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/REH_ETV6-RUNX1_rep2/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_ETV6_Atlas observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_ETV6_Atlas/SRR20653122.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'purple'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_ETV6_Atlas predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_ETV6_Atlas/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'purple'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_ETV6_Atlas observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_ETV6_Atlas/SRR20653122.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'purple'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_ETV6_Atlas predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_ETV6_Atlas/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'purple'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_ETV6_Atlas counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_ETV6_Atlas/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'purple'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_ETV6_Atlas profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_ETV6_Atlas/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'purple'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'Reh_ETV6_Atlas peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_ETV6_Atlas/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'purple'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Nalm6_ETV6-RUNX1_V5_B observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Nalm6_ETV6-RUNX1_V5_B/ERR5643729.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'black'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Nalm6_ETV6-RUNX1_V5_B predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Nalm6_ETV6-RUNX1_V5_B/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'black'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Nalm6_ETV6-RUNX1_V5_B observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Nalm6_ETV6-RUNX1_V5_B/ERR5643729.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'black'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Nalm6_ETV6-RUNX1_V5_B predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Nalm6_ETV6-RUNX1_V5_B/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'black'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Nalm6_ETV6-RUNX1_V5_B counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Nalm6_ETV6-RUNX1_V5_B/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'black'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Nalm6_ETV6-RUNX1_V5_B profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Nalm6_ETV6-RUNX1_V5_B/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'black'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'Nalm6_ETV6-RUNX1_V5_B peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Nalm6_ETV6-RUNX1_V5_B/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'black'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_RUNX1_B observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_RUNX1_B/ERR5643726.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'brown'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_RUNX1_B predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_RUNX1_B/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'brown'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_RUNX1_B observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_RUNX1_B/ERR5643726.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'brown'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_RUNX1_B predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_RUNX1_B/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'brown'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_RUNX1_B counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_RUNX1_B/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'brown'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_RUNX1_B profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_RUNX1_B/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'brown'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'Reh_RUNX1_B peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_RUNX1_B/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'brown'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_DMSO_RUNX1 observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_DMSO_RUNX1/ERR5643725.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_DMSO_RUNX1 predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_DMSO_RUNX1/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_DMSO_RUNX1 observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_DMSO_RUNX1/ERR5643725.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_DMSO_RUNX1 predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_DMSO_RUNX1/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_DMSO_RUNX1 counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_DMSO_RUNX1/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_DMSO_RUNX1 profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_DMSO_RUNX1/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'Reh_DMSO_RUNX1 peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_DMSO_RUNX1/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'red'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_RUNX1_rep1 observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/REH_RUNX1_rep1/SRR7601288.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_RUNX1_rep1 predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/REH_RUNX1_rep1/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_RUNX1_rep1 observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/REH_RUNX1_rep1/SRR7601288.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_RUNX1_rep1 predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/REH_RUNX1_rep1/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'REH_RUNX1_rep1 counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/REH_RUNX1_rep1/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'REH_RUNX1_rep1 profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/REH_RUNX1_rep1/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'REH_RUNX1_rep1 peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/REH_RUNX1_rep1/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'blue'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_RUNX1_rep2 observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/REH_RUNX1_rep2/SRR7601289.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_RUNX1_rep2 predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/REH_RUNX1_rep2/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_RUNX1_rep2 observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/REH_RUNX1_rep2/SRR7601289.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'REH_RUNX1_rep2 predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/REH_RUNX1_rep2/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'REH_RUNX1_rep2 counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/REH_RUNX1_rep2/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'REH_RUNX1_rep2 profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/REH_RUNX1_rep2/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'REH_RUNX1_rep2 peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/REH_RUNX1_rep2/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'green'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Nalm6_RUNX1 observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Nalm6_RUNX1/ERR5643722.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'orange'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Nalm6_RUNX1 predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Nalm6_RUNX1/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'orange'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Nalm6_RUNX1 observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Nalm6_RUNX1/ERR5643722.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'orange'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Nalm6_RUNX1 predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Nalm6_RUNX1/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'orange'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Nalm6_RUNX1 counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Nalm6_RUNX1/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'orange'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Nalm6_RUNX1 profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Nalm6_RUNX1/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'orange'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'Nalm6_RUNX1 peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Nalm6_RUNX1/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'orange'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'ETV6_HA_IP observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/ETV6_HA_IP/SRR5943383.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'ETV6_HA_IP predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/ETV6_HA_IP/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'ETV6_HA_IP observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/ETV6_HA_IP/SRR5943383.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'ETV6_HA_IP predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/ETV6_HA_IP/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'ETV6_HA_IP counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/ETV6_HA_IP/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'ETV6_HA_IP profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/ETV6_HA_IP/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'ETV6_HA_IP peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/ETV6_HA_IP/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'gray'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_ETV6-WT observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_ETV6-WT/SRR16677083.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'purple'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_ETV6-WT predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_ETV6-WT/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'purple'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_ETV6-WT observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_ETV6-WT/SRR16677083.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'purple'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_ETV6-WT predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_ETV6-WT/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'purple'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_ETV6-WT counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_ETV6-WT/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'purple'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_ETV6-WT profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_ETV6-WT/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'purple'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'Reh_ETV6-WT peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_ETV6-WT/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'purple'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_ERG observed (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_ERG/SRR16677076.plus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'black'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_ERG predicted (plus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_ERG/predictions_plus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'black'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_ERG observed (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_ERG/SRR16677076.minus.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'black'}},\n",
       " {'type': 'bigwig',\n",
       "  'name': 'Reh_ERG predicted (minus)',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/predictions/Reh_ERG/predictions_minus_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'black'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_ERG counts contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_ERG/counts_scores_avg.bw',\n",
       "  'showOnHubLoad': True,\n",
       "  'options': {'color': 'black'}},\n",
       " {'type': 'dynseq',\n",
       "  'name': 'Reh_ERG profile contributions',\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/contributions/Reh_ERG/profile_scores_avg.bw',\n",
       "  'showOnHubLoad': False,\n",
       "  'options': {'color': 'black'}},\n",
       " {'type': 'bed',\n",
       "  'name': 'Reh_ERG peaks',\n",
       "  'showOnHubLoad': True,\n",
       "  'url': 'https://mitra.stanford.edu/kundaje/shouvikm/BPNet/viz/Reh_ERG/peaks_inliers.sorted.bed.gz',\n",
       "  'options': {'color': 'black'}}]"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "datahubs"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "74a143b4",
   "metadata": {
    "ExecuteTime": {
     "end_time": "2026-01-07T00:39:40.861229Z",
     "start_time": "2026-01-07T00:39:40.704999Z"
    }
   },
   "outputs": [],
   "source": [
    "with open(\"model_datahub.json\", \"w\") as f:\n",
    "    json.dump(datahubs, f, indent=4)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "bdc8bd86",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "bpnet",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
