Skip to content
Snippets Groups Projects
Commit f665a9b0 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Fix extension.

parent f54c2d88
Branches
Tags
No related merge requests found
......@@ -119,7 +119,7 @@ def convert_mapped_pe(bam, bam_basename, tag_filename, chrm):
tag_steps = ["zcat -f %s" % (bedpe_filename)]
tag_steps.extend([r"""awk 'BEGIN{OFS="\t"}{printf "%s\t%s\t%s\tN\t1000\t%s\n%s\t%s\t%s\tN\t1000\t%s\n",$1,$2,$3,$9,$4,$5,$6,$10}'"""])
if chrm:
tag_steps.extend["grep -v 'chrM'"]
tag_steps.extend(["grep -v 'chrM'"])
tag_steps.extend(['gzip -cn'])
out, err = utils.run_pipe(tag_steps, outfile=tag_filename)
os.remove(bedpe_filename)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment