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
Carlos GO
RNAmigos
Commits
8f6c6d0e
Commit
8f6c6d0e
authored
Nov 20, 2018
by
Carlos GO
Browse files
fixed imports
parent
2277d680
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
8f6c6d0e
...
...
@@ -20,6 +20,8 @@ NOTE: The user friendly API is currently being built and tested. Sample usage de
## Installing
pip will automatically install any necessary dependencies.
```
git clone git@jwgitlab.cs.mcgill.ca:cgoliver/rnamigos.git
pip install .
...
...
@@ -50,7 +52,7 @@ From a graph object, or a pickled graph we can draw the graph.
```
python
>>>
G
=
nx
.
read_gpickle
(
'../Data/sample_graphs/3ds7_GNG_P.nxpickle'
)
>>>
H
=
nx
.
read_gpickle
(
'../Data/sample_graphs/3skt_GNG_L.nxpickle'
)
>>>
from
RNAmigos
import
pocket
_draw
>>>
from
RNAmigos
.pocket_draw
import
graph
_draw
>>>
graph_draw
(
G
,
show
=
True
)
```
...
...
@@ -61,7 +63,7 @@ From a graph object, or a pickled graph we can draw the graph.
For a pair of graphs.
```
python
>>>
from
RNAmigos
import
ged
>>>
from
RNAmigos
.rna_ged
import
ged
>>>
graphs
=
(
G
,
H
)
#graphs currently need to be pased as single argument for multiprocessing.
>>>
aln
,
(
G
,
H
),
time
=
ged
(
graphs
)
>>>
aln
.
cost
# get distance
...
...
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