Skip to content

Commit

Permalink
only index layout if it is bgzipped
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrasmus committed Mar 23, 2014
1 parent d659df7 commit d05cf29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/arg-layout
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ smc_files = args[1:]
with argweaver.open_stream(layout_file, 'w', compress='bgzip') as out:
for smc_file in smc_files:
layout_arg(smc_file, out)
argweaver.vis.index_arg_layout(layout_file)
if layout_file.endswith('.gz'):
argweaver.vis.index_arg_layout(layout_file)

0 comments on commit d05cf29

Please sign in to comment.