annotate xenaHeader.py @ 56:2a240b005731
better instructions on browser
author |
jingchunzhu |
date |
Fri, 18 Sep 2015 11:03:59 -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()
|