Skip to content

Commit

Permalink
Merge branch 'master' into HEAD
Browse files Browse the repository at this point in the history
merge for new version
  • Loading branch information
Bribak committed Dec 10, 2021
1 parent 2b28335 commit 9798294
Show file tree
Hide file tree
Showing 70 changed files with 149,139 additions and 130,145 deletions.
2,950 changes: 1,861 additions & 1,089 deletions 00_core.ipynb

Large diffs are not rendered by default.

70 changes: 23 additions & 47 deletions 01_alignment.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "amazing-zambia",
"metadata": {},
"outputs": [],
"source": [
"#hide\n",
"#all_slow"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -18,6 +29,8 @@
"source": [
"#hide\n",
"#default_exp alignment\n",
"import warnings\n",
"warnings.filterwarnings(\"ignore\")\n",
"from nbdev.showdoc import show_doc\n",
"from IPython.display import HTML\n",
"%load_ext autoreload\n",
Expand Down Expand Up @@ -116,58 +129,13 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Test Alignment\n",
"1 9\n",
"Man a1-3 Man a1-4 Glc b1-4 Man a1-5 Kdo\n",
"Man a1-3 Man a1-3 Glc b1-6 Man a1-5 Kdo\n",
"Alignment Score: 21\n",
"Percent Identity: 77.77777777777779\n",
"Percent Coverage: 100.0\n",
"Sequence Index: GalA1P*a1-4*Man*a1-3*Man*a1-3*Glc*b1-6*Man*a1-5*Kdo\n",
"Species: []\n",
"\n",
"1 9\n",
"Man a1-3 Man a1-4 Glc b1-4 Man a1-5 Kdo\n",
"Man a1-3 Man a1-4 Glc b1-4 Man a1-5 Kdo\n",
"Alignment Score: 21\n",
"Percent Identity: 100.0\n",
"Percent Coverage: 100.0\n",
"Sequence Index: Man*a1-3*Man*a1-4*Glc*b1-4*Man*a1-5*Kdo\n",
"Species: ['Xanthomonas_oryzae']\n",
"\n",
"1 9\n",
"Man a1-3 Man a1-4 Glc b1-4 Man - - a1-5 Kdo\n",
"Man a1-3 Man a1-3 Glc b1-6 Man a1-5 GalAOP a1-4 Kdo\n",
"Alignment Score: 19\n",
"Percent Identity: 54.54545454545454\n",
"Percent Coverage: 100.0\n",
"Sequence Index: Man*a1-3*Man*a1-3*Glc*b1-6*Man*a1-5*GalAOP*a1-4*Kdo\n",
"Species: ['Xanthomonas_campestris']\n",
"\n",
"1 9\n",
"Man a1-3 Man a1-4 Glc - - b1-4 Man a1-5 Kdo\n",
"Man a1-3 Man a1-4 Glc b1-4 GalAOPN a1-3 Man a1-5 Kdo\n",
"Alignment Score: 19\n",
"Percent Identity: 72.72727272727273\n",
"Percent Coverage: 100.0\n",
"Sequence Index: Man*a1-3*Man*a1-4*Glc*b1-4*GalAOPN*a1-3*Man*a1-5*Kdo\n",
"Species: ['Xanthomonas_oryzae']\n",
"\n",
"1 9\n",
"Man a1-3 Man a1-4 Glc b1-4 Man - - a1-5 Kdo\n",
"Man bond Man bond Glc bond Man bond GalA bond Kdo\n",
"Alignment Score: 19\n",
"Percent Identity: 45.45454545454545\n",
"Percent Coverage: 100.0\n",
"Sequence Index: Man*bond*Man*bond*Glc*bond*Man*bond*GalA*bond*Kdo\n",
"Species: []\n",
"\n"
"Test Alignment\n"
]
}
],
"source": [
"print(\"Test Alignment\")\n",
"pairwiseAlign('Man(a1-3)Man(a1-4)Glc(b1-4)Man(a1-5)Kdo')\n",
"#pairwiseAlign('Man(a1-3)Man(a1-4)Glc(b1-4)Man(a1-5)Kdo')\n",
"#pairwiseAlign('Man(a1-3)[Man(a1-6)]Man(b1-4)GlcNAc(b1-4)GlcNAc')"
]
},
Expand Down Expand Up @@ -196,6 +164,14 @@
"#hide\n",
"from nbdev.export import notebook2script; notebook2script()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "fifty-train",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
6,524 changes: 3,284 additions & 3,240 deletions 02_glycan_data.ipynb

Large diffs are not rendered by default.

149 changes: 106 additions & 43 deletions 03_ml.ipynb

Large diffs are not rendered by default.

33,363 changes: 9,776 additions & 23,587 deletions 04_motif.ipynb

Large diffs are not rendered by default.

6,706 changes: 3,309 additions & 3,397 deletions 05_examples.ipynb

Large diffs are not rendered by default.

23 changes: 18 additions & 5 deletions 06_network.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "established-winter",
"metadata": {},
"outputs": [],
"source": [
"#hide\n",
"#all_slow"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -9,6 +20,8 @@
"source": [
"#hide\n",
"#default_exp network\n",
"import warnings\n",
"warnings.filterwarnings(\"ignore\")\n",
"from nbdev.showdoc import show_doc\n",
"from IPython.display import HTML\n",
"%load_ext autoreload\n",
Expand Down Expand Up @@ -368,11 +381,11 @@
{
"data": {
"text/plain": [
"([<networkx.classes.graph.Graph at 0x253994c4130>,\n",
" <networkx.classes.graph.Graph at 0x253cd0cc640>,\n",
" <networkx.classes.graph.Graph at 0x253cd0cc9d0>],\n",
" ['Man(a1-3)[Man(a1-6)]Man(b1-4)GlcNAc(b1-4)GlcNAc',\n",
" 'Man(a1-3)Man(b1-4)GlcNAc(b1-4)[Fuc(a1-6)]GlcNAc',\n",
"([<networkx.classes.graph.Graph at 0x1f231e922b0>,\n",
" <networkx.classes.graph.Graph at 0x1f231e923a0>,\n",
" <networkx.classes.graph.Graph at 0x1f231e92160>],\n",
" ['Man(a1-3)Man(b1-4)GlcNAc(b1-4)[Fuc(a1-6)]GlcNAc',\n",
" 'Man(a1-3)[Man(a1-6)]Man(b1-4)GlcNAc(b1-4)GlcNAc',\n",
" 'Man(a1-6)Man(b1-4)GlcNAc(b1-4)[Fuc(a1-6)]GlcNAc'])"
]
},
Expand Down
Loading

0 comments on commit 9798294

Please sign in to comment.