We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 630dcf5 + 92f25c5 commit d79a9b7Copy full SHA for d79a9b7
scripts/variants.sh
@@ -0,0 +1,10 @@
1
+#!/bin/bash
2
+# usage:
3
+# bash variants.sh <input.tsv> <output.bed>
4
+awk 'NR>1 {print $17}' $1 > $2
5
+sed -ie 's/[,]/\n/g' $2
6
+sed -ie 's/[:\-]/\t/g' $2
7
+sort $2 | uniq > ${2}.tmp
8
+cat ${2}.tmp > $2
9
+rm -f ${2}.tmp
10
+rm ${2}e
0 commit comments