Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Roman Sarrazin-Gendron
BP6.1
Commits
c1cf28fd
Commit
c1cf28fd
authored
Feb 13, 2018
by
Roman Sarrazin-Gendron
Browse files
updated README
parent
2f6ecbfc
Changes
3
Hide whitespace changes
Inline
Side-by-side
.idea/inspectionProfiles/Project_Default.xml
0 → 100644
View file @
c1cf28fd
<component
name=
"InspectionProjectProfileManager"
>
<profile
version=
"1.0"
>
<option
name=
"myName"
value=
"Project Default"
/>
<inspection_tool
class=
"PyPep8Inspection"
enabled=
"true"
level=
"WEAK WARNING"
enabled_by_default=
"true"
>
<option
name=
"ignoredErrors"
>
<list>
<option
value=
"W29"
/>
<option
value=
"E501"
/>
</list>
</option>
</inspection_tool>
</profile>
</component>
\ No newline at end of file
.idea/vcs.xml
0 → 100644
View file @
c1cf28fd
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
"$PROJECT_DIR$"
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
src/module_from_desc.py
View file @
c1cf28fd
...
...
@@ -111,6 +111,7 @@ def create_module(desc,fasta):
pickle
.
dump
(
MODULES
,
open
(
"../models/MODULES.cPickle"
,
'wb'
))
return
graph_list
def
fuse_existing_databases
(
new_dataset
,
name1
,
name2
,
l1
,
l2
):
one_of_each_graph
=
[]
a1
=
pickle
.
load
(
open
(
name1
+
"_one_of_each_graph.cPickle"
,
'rb'
))
...
...
@@ -161,7 +162,7 @@ def fuse_existing_databases(new_dataset,name1,name2,l1,l2):
if
__name__
==
"__main__"
:
#esc_file = "../models/1A1T.B.1.desc"
#
d
esc_file = "../models/1A1T.B.1.desc"
#fasta_file = "../models/input.fasta"
#graphs = create_module(desc_file,fasta_file)
fuse_existing_databases
(
"all_carnaval"
,
'carnaval'
,
'jeffrey'
,[
0
,
5
,
8
,
26
,
6
,
18
,
19
,
21
,
24
,
25
,
39
,
53
,
54
,
58
,
119
,
122
,
135
,
146
,
162
,
168
,
191
,
194
,
198
,
216
],[
1
,
4
,
7
,
10
,
11
,
24
,
33
,
40
,
55
,
66
,
69
,
101
,
103
,
113
,
149
,
156
,
167
])
\ No newline at end of file
fuse_existing_databases
(
"all_carnaval"
,
'carnaval'
,
'jeffrey'
,[
0
,
5
,
8
,
26
,
6
,
18
,
19
,
21
,
24
,
25
,
39
,
53
,
54
,
58
,
119
,
122
,
135
,
146
,
162
,
168
,
191
,
194
,
198
,
216
],[
1
,
4
,
7
,
10
,
11
,
24
,
33
,
40
,
55
,
66
,
69
,
101
,
103
,
113
,
149
,
156
,
167
])
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment