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

Fix convert reads syntax tagAlign.

parent e0b2dbfa
No related merge requests found
......@@ -130,7 +130,7 @@ def tn5_shift_tagalign(tag_filename, shitfted_tag_filename):
steps = [
"zcat -f %s" % (tag_filename),
r"""awk 'BEGIN{OFS="\t"}{{if ($6 == "+") {{$2 = $2 + 4}; else if ($6 == "-") {{$3 = $3 - 5}} print $0}}}'""",
r"""awk 'BEGIN{OFS="\t"}{{if ($6 == "+") {{$2 = $2 + 4}}; else if ($6 == "-") {{$3 = $3 - 5}} print $0}}}'""",
"gzip -nc"]
out, err = utils.run_pipe(steps, outfile=shitfted_tag_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