Mercurial > repos > melissacline > ucsc_cancer_utilities
view xenaHeader.py @ 55:1093078e7976
merge mutation data conform to new mutationVector data standard
author | jingchunzhu |
---|---|
date | Fri, 18 Sep 2015 10:24:39 -0700 |
parents | a38cc72edd75 |
children |
line wrap: on
line source
import argparse import string def main(): parser = argparse.ArgumentParser() parser.add_argument("output", type=str, help="outputfile") args = parser.parse_args() fout= open(args.output,'w') fout.write("#"+string.join(["sample","chr","start","end","reference","alt","gene","effect","DNA_VAF","RNA_VAF","Amino_Acid_Change"],"\t")+"\n") fout.close() if __name__ == '__main__': main()