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
import os | |
import sys | |
import pandas as pd | |
from pyliftover import LiftOver | |
target = sys.argv[1] |
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
#!/bin/bash | |
multianno=${1} | |
header=$(head -1 ${multianno}) | |
fixedHeader=$(echo "${header}" \ | |
| sed 's/Otherinfo/VCF_CHROM/' \ | |
| awk '{print $0"\tVCF_POS\tVCF_ID\tVCF_REF\tVCF_ALT\tVCF_QUAL\tVCF_FILTER\tVCF_INFO\tVCF_FORMAT\tVCF_SAMPLE"}' \ | |
) |