Skip to content

Commit

Permalink
graphml loader
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSPoon committed Aug 23, 2024
1 parent 5e5ebee commit 48d83b4
Show file tree
Hide file tree
Showing 4 changed files with 558 additions and 13 deletions.
4 changes: 4 additions & 0 deletions library/genome/flybase_loader.pl
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@


:- ensure_loaded(obo_loader).
:- ensure_loaded(graphml_loader).

create_flybase_qlf:-
shell('swipl -g "qcompile(whole_flybase)').
Expand Down Expand Up @@ -1151,6 +1152,9 @@
ignore(retract(load_state(File,loading))),
assert(load_state(File,loaded)),fb_stats)).


lfbm:- load_flybase('tests/performance/knowledge_graphs/graphml_csv/cml/ckg_neighbors_cml_edges_e21425.csv',csv).

load_flybase_ext(_Ext,File,_Fn):- use_metta_x, atom_concat(File,'.metta_x',MFile),
exists_file(MFile), \+ is_converting, % Ext \== 'obo',
\+ option_value(metta_x_files,false),!,
Expand Down
Loading

0 comments on commit 48d83b4

Please sign in to comment.