Mercurial > repos > melissacline > ucsc_cancer_utilities
annotate xenaHeader.py @ 53:7de3db823f90
fix
author | jingchunzhu |
---|---|
date | Thu, 17 Sep 2015 15:38:53 -0700 |
parents | a38cc72edd75 |
children |
rev | line source |
---|---|
48 | 1 import argparse |
2 import string | |
3 | |
4 def main(): | |
5 parser = argparse.ArgumentParser() | |
6 parser.add_argument("output", type=str, help="outputfile") | |
7 args = parser.parse_args() | |
8 | |
9 fout= open(args.output,'w') | |
10 fout.write("#"+string.join(["sample","chr","start","end","reference","alt","gene","effect","DNA_VAF","RNA_VAF","Amino_Acid_Change"],"\t")+"\n") | |
11 fout.close() | |
12 | |
13 if __name__ == '__main__': | |
14 main() |