Skip to content

Commit

Permalink
Fix bugs from the last commits
Browse files Browse the repository at this point in the history
  • Loading branch information
cguyomar committed Dec 10, 2019
1 parent 217505a commit 74109f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions MinYS.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
parserGapfilling.add_argument('-max-nodes', action="store", dest="max_nodes", help="Maximum number of nodes in contig graph", default="300")
parserGapfilling.add_argument('-max-length', action="store", dest="max_length", help="Maximum length of gap-filling (nt)", default="50000")

parserSimplification.add_argument('-l',action="store",dest="simplification_l",help="Length of minimum prefix for node merging, default should work for most cases",default=100)
parserSimplification.add_argument('-l',action="store",dest="simplification_l",help="Length of minimum prefix for node merging, default should work for most cases",default="100")

parserContinue.add_argument('-contigs',action="store",dest="continue_contigs",help="Contigs in fasta format - override mapping and assembly")
parserContinue.add_argument('-graph',action="store",dest="continue_h5",help="Graph in h5 format - override graph creation")
Expand Down Expand Up @@ -366,6 +366,7 @@

simplLog = os.path.join(logsDir,"simplification.log")

simplificationCommand += "-l " + args.simplification_l
simplificationCommand.append(inFile)
simplificationCommand.append(outFile)

Expand All @@ -383,7 +384,7 @@
logger.info("Runtime :")
logger.info("\tMapping : " + str(mappingDuration))
logger.info("\tAssembly : " + str(assemblyDuration))
logger.info("\tGraph creation : " + str(graphDuration))
#logger.info("\tGraph creation : " + str(graphDuration))
logger.info("\tGap-filling : " + str(gapfillingDuration))
logger.info("\tGraph simplification : " + str(simplificationDuration))

0 comments on commit 74109f5

Please sign in to comment.