-
Notifications
You must be signed in to change notification settings - Fork 7
/
trace.jl
32 lines (25 loc) · 1.14 KB
/
trace.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import PanGraph
cdir = pwd()
home = replace(cdir,"/pangraph/lib/julia"=>"")
root = "$home/data/synthetic"
# usage
PanGraph.main([]) # main usage
PanGraph.main(["help", "build"]) # build usage
PanGraph.main(["help", "export"]) # export usage
PanGraph.main(["help", "generate"]) # generate usage
PanGraph.main(["help", "marginalize"]) # marginalize usage
PanGraph.main(["help", "polish"]) # polish usage
PanGraph.main(["help", "version"]) # version usage
PanGraph.main(["help", "help"]) # help usage
# build (native - mmseqs)
PanGraph.main(["build", "-t", "-c", "-u", "-b", "0", "-a", "0", "$root/test.fa"])
# PanGraph.main(["build", "-c", "-u", "-d", "mash", "$root/test.fa"])
PanGraph.main(["build", "-t", "-c", "-u", "-b", "0", "-a", "0", "-k", "mmseqs", "-K", "8", "$root/test.fa"])
# export
PanGraph.main(["export", "-o", "$root/export", "$root/test.json"])
# generate
PanGraph.main(["generate", "-o", "$root/export.json", "$root/test.fa"])
# marginalize
PanGraph.main(["marginalize", "-t", "-o", "$root/pairs", "$root/test.json"])
# polish
PanGraph.main(["polish", "-c", "-l", "10000", "$root/test.json"])