Skip to content

Commit

Permalink
intermediate save
Browse files Browse the repository at this point in the history
  • Loading branch information
sbooeshaghi committed Feb 9, 2024
1 parent 5db1f58 commit 470f45a
Showing 1 changed file with 30 additions and 4 deletions.
34 changes: 30 additions & 4 deletions seqspec_dev2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
"metadata": {
"id": "iU4W9CatJslK"
},
"execution_count": 74,
"execution_count": 87,
"outputs": []
},
{
Expand All @@ -216,20 +216,46 @@
" continue\n",
"\n",
" # B: read splits an element (same as case c)\n",
" elif read_stop >= itv_start:\n",
" elif read_stop > itv_start:\n",
" new_index[itv_start, min(itv_stop, read_stop)] = e"
],
"metadata": {
"id": "h1uU4ZkuGbL4"
},
"execution_count": 84,
"execution_count": 90,
"outputs": []
},
{
"cell_type": "code",
"source": [
"new_index"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "2AwnfRrMI6W1",
"outputId": "c0860395-8a22-46c2-9c05-5530798823bf"
},
"execution_count": 91,
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"defaultdict(None, {(0, 16): 'barcode', (16, 27): 'umi', (28, 29): 'umi2'})"
]
},
"metadata": {},
"execution_count": 91
}
]
},
{
"cell_type": "code",
"source": [],
"metadata": {
"id": "2AwnfRrMI6W1"
"id": "WdCd76mKMxus"
},
"execution_count": null,
"outputs": []
Expand Down

0 comments on commit 470f45a

Please sign in to comment.