Last active
April 17, 2016 06:59
-
-
Save voutcn/b7c32f8d1309f7e2dc640f791f1438b0 to your computer and use it in GitHub Desktop.
gfa2bed.awk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/awk -f | |
BEGIN { OFS = "\t" } | |
$1 == "a" { print gensub("[:|-]", "\t", "g", $4), $2, $5, $3, $6 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment