Mercurial > repos > melissacline > ucsc_cancer_utilities
diff xenaHeader.py @ 48:a38cc72edd75
xena header
author | jingchunzhu |
---|---|
date | Fri, 14 Aug 2015 00:04:41 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xenaHeader.py Fri Aug 14 00:04:41 2015 -0700 @@ -0,0 +1,14 @@ +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()