Last active
October 27, 2016 22:47
-
-
Save skurscheid/9cfaded118044b6dfea25cc460b4b61a to your computer and use it in GitHub Desktop.
using awk to re-format BED file chromosome IDs
This file contains 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
awk 'BEGIN {OFS = "\t";} {$1="chr"$1; print $0}' < [input.bed] > [output.bed] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment