Skip to content

Commit 92b2227

Browse files
committed
Update main code and make executable
1 parent 414ad32 commit 92b2227

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphbin2.py

100644100755
+2-2
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
# Run GraphBin2
185185
#---------------------------------------------------
186186
if assembler.lower() == "spades":
187-
cmdGraphBin2 = """python "{0}src/graphbin2_SPAdes.py" --graph "{1}" --contigs "{2}" --paths "{3}" --binned "{4}" --output "{5}" --prefix "{6}" --depth "{7}" --threshold "{8}" --nthreads "{9}" """.format(
187+
cmdGraphBin2 = """python "{0}/src/graphbin2_SPAdes.py" --graph "{1}" --contigs "{2}" --paths "{3}" --binned "{4}" --output "{5}" --prefix "{6}" --depth "{7}" --threshold "{8}" --nthreads "{9}" """.format(
188188
os.path.dirname(__file__),
189189
assembly_graph_file,
190190
contigs,
@@ -197,7 +197,7 @@
197197
nthreads)
198198

199199
elif assembler.lower() == "sga":
200-
cmdGraphBin2 = """python "{0}src/graphbin2_SGA.py" --graph "{1}" --contigs "{2}" --binned "{3}" --abundance "{4}" --output "{5}" --prefix "{6}" --depth "{7}" --threshold "{8}" --nthreads "{9}" """.format(
200+
cmdGraphBin2 = """python "{0}/src/graphbin2_SGA.py" --graph "{1}" --contigs "{2}" --binned "{3}" --abundance "{4}" --output "{5}" --prefix "{6}" --depth "{7}" --threshold "{8}" --nthreads "{9}" """.format(
201201
os.path.dirname(__file__),
202202
assembly_graph_file,
203203
contigs,

0 commit comments

Comments
 (0)