annotate xenaHeader.py @ 60:bf57076e27b9
default tip
change genomicSegment input data
author |
jingchunzhu@gmail.com |
date |
Tue, 27 Oct 2015 16:07:09 -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()
|