Mercurial > repos > melissacline > ucsc_cancer_utilities
annotate xenaHeader.py @ 48:a38cc72edd75
xena header
author | jingchunzhu |
---|---|
date | Fri, 14 Aug 2015 00:04:41 -0700 |
parents | |
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() |