Skip to content

Commit fe4692f

Browse files
authored
Merge pull request #145 from PyEED/fixes_standard_numbering
Fixes standard numbering and addtions mutation detection
2 parents fbfc417 + 6cdf2de commit fe4692f

14 files changed

Lines changed: 1184 additions & 398 deletions

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ __pycache__/
33
*.py[cod]
44
*$py.class
55

6+
# AlphaFold output
7+
docs/resources/alphafold/output/*
8+
src/pyeed/tools/alphafold2.py
9+
docs/usage/alphafold.ipynb
10+
611
# C extensions
712
*.so
813
.vscode/

docs/usage/basics.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
],
190190
"metadata": {
191191
"kernelspec": {
192-
"display_name": "pyeed",
192+
"display_name": "pyeed_niklas",
193193
"language": "python",
194194
"name": "python3"
195195
},
@@ -203,7 +203,7 @@
203203
"name": "python",
204204
"nbconvert_exporter": "python",
205205
"pygments_lexer": "ipython3",
206-
"version": "3.11.5"
206+
"version": "3.12.8"
207207
}
208208
},
209209
"nbformat": 4,

docs/usage/embeddings_analysis.ipynb

Lines changed: 6 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
{
2020
"cell_type": "code",
21-
"execution_count": 67,
21+
"execution_count": 3,
2222
"metadata": {},
2323
"outputs": [],
2424
"source": [
@@ -31,7 +31,7 @@
3131
"from pyeed.analysis.embedding_analysis import EmbeddingTool\n",
3232
"\n",
3333
"logger.remove()\n",
34-
"level = logger.add(sys.stderr, level=\"WARNING\")"
34+
"level = logger.add(sys.stderr, level=\"INFO\")"
3535
]
3636
},
3737
{
@@ -47,60 +47,14 @@
4747
},
4848
{
4949
"cell_type": "code",
50-
"execution_count": 69,
50+
"execution_count": 4,
5151
"metadata": {},
5252
"outputs": [
5353
{
5454
"name": "stdout",
5555
"output_type": "stream",
5656
"text": [
57-
"📡 Connected to database.\n",
58-
"All data has been wiped from the database.\n",
59-
"Connecting to bolt://neo4j:12345678@129.69.129.130:7687\n",
60-
"Dropping constraints...\n",
61-
" - Dropping unique constraint and index on label CatalyticActivity with property catalytic_id.\n",
62-
" - Dropping unique constraint and index on label DNA with property accession_id.\n",
63-
" - Dropping unique constraint and index on label GOAnnotation with property go_id.\n",
64-
" - Dropping unique constraint and index on label OntologyObject with property name.\n",
65-
" - Dropping unique constraint and index on label Organism with property taxonomy_id.\n",
66-
" - Dropping unique constraint and index on label Protein with property accession_id.\n",
67-
" - Dropping unique constraint and index on label Region with property region_id.\n",
68-
" - Dropping unique constraint and index on label Site with property site_id.\n",
69-
"\n",
70-
"Dropping indexes...\n",
71-
" - Dropping index on labels DNA with properties embedding.\n",
72-
" - Dropping index on labels Protein with properties embedding.\n",
73-
"\n",
74-
"All constraints and indexes have been removed from the database.\n",
75-
"the connection url is bolt://neo4j:12345678@129.69.129.130:7687\n",
76-
"Loaded /home/nab/Niklas/pyeed/src/pyeed/model.py\n",
77-
"Connecting to bolt://neo4j:12345678@129.69.129.130:7687\n",
78-
"Setting up indexes and constraints...\n",
79-
"\n",
80-
"Found model.StrictStructuredNode\n",
81-
" ! Skipping class model.StrictStructuredNode is abstract\n",
82-
"Found model.Organism\n",
83-
" + Creating node unique constraint for taxonomy_id on label Organism for class model.Organism\n",
84-
"Found model.Site\n",
85-
" + Creating node unique constraint for site_id on label Site for class model.Site\n",
86-
"Found model.Region\n",
87-
" + Creating node unique constraint for region_id on label Region for class model.Region\n",
88-
"Found model.CatalyticActivity\n",
89-
" + Creating node unique constraint for catalytic_id on label CatalyticActivity for class model.CatalyticActivity\n",
90-
"Found model.StandardNumbering\n",
91-
"Found model.GOAnnotation\n",
92-
" + Creating node unique constraint for go_id on label GOAnnotation for class model.GOAnnotation\n",
93-
"Found model.Protein\n",
94-
" + Creating node unique constraint for accession_id on label Protein for class model.Protein\n",
95-
" + Creating vector index for embedding on label Protein for class model.Protein\n",
96-
"Found model.DNA\n",
97-
" + Creating node unique constraint for accession_id on label DNA for class model.DNA\n",
98-
" + Creating vector index for embedding on label DNA for class model.DNA\n",
99-
"Found model.OntologyObject\n",
100-
" + Creating node unique constraint for name on label OntologyObject for class model.OntologyObject\n",
101-
"\n",
102-
"Finished 10 classes.\n",
103-
"✅ Databse constraints and indexes set up according to Pyeed Graph Object Model.\n"
57+
"📡 Connected to database.\n"
10458
]
10559
}
10660
],
@@ -1269,7 +1223,7 @@
12691223
],
12701224
"metadata": {
12711225
"kernelspec": {
1272-
"display_name": "pyeed",
1226+
"display_name": "pyeed_niklas",
12731227
"language": "python",
12741228
"name": "python3"
12751229
},
@@ -1283,7 +1237,7 @@
12831237
"name": "python",
12841238
"nbconvert_exporter": "python",
12851239
"pygments_lexer": "ipython3",
1286-
"version": "3.11.5"
1240+
"version": "3.12.8"
12871241
}
12881242
},
12891243
"nbformat": 4,

docs/usage/mutation_analysis.ipynb

Lines changed: 90 additions & 78 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)