Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
Add -au/-ao options to argparser #251 #244
Browse files Browse the repository at this point in the history
(still need to make them do stuff)
  • Loading branch information
fedarko committed Aug 2, 2017
1 parent 8048b40 commit af14402
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions graph_collator/collate.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@
help="file containing bicomponent information for the assembly graph" + \
" (will be generated using the SPQR script in the output directory" + \
" if not passed)")
parser.add_argument("-au", "--assumeunoriented", required=False, default=False,
action="store_true", help="assume that input GML-file graphs are" + \
" unoriented (default for GML files is assuming they are" + \
" oriented); this option is unfinished")
parser.add_argument("-ao", "--assumeoriented", required=False, default=False,
action="store_true", help="assume that input LastGraph-/GFA-file" + \
" graphs are oriented (default for LastGraph/GFA files is" + \
" assuming they are unoriented); this option is unfinished")
args = parser.parse_args()
asm_fn = args.inputfile
output_fn = args.outputprefix
Expand All @@ -81,6 +89,8 @@
preserve_xdot = args.preservexdot
overwrite = args.overwrite
bicmps_fullfn = args.bicomponentsfile
assume_unoriented = args.assumeunoriented
assume_oriented = args.assumeoriented

try:
os.makedirs(dir_fn)
Expand Down

0 comments on commit af14402

Please sign in to comment.