comparison msp_split.py @ 12:cb8dce9812ff draft

planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit f79fa34772bbab836d89cf8bad52d49285409a98
author tomnl
date Thu, 14 Jun 2018 09:19:47 -0400
parents 2cba35789adf
children
comparison
equal deleted inserted replaced
11:e00a33906b3e 12:cb8dce9812ff
40 40
41 def main(): 41 def main():
42 42
43 p = argparse.ArgumentParser(prog='PROG', 43 p = argparse.ArgumentParser(prog='PROG',
44 formatter_class=argparse.RawDescriptionHelpFormatter, 44 formatter_class=argparse.RawDescriptionHelpFormatter,
45 description='''Create filelist for DMA DIMS nearline workflow''', 45 description='''split msp files''',
46 epilog=textwrap.dedent(''' 46 )
47 -------------------------------------------------------------------------
48 47
49 Example Usage 48 p.add_argument('-i', dest='i', help='msp file', required=True)
50
51 python dma-filelist-generation.py -i [dir with sample files], [dir with blank files] -o .
52
53 '''))
54
55 p.add_argument('-i', dest='i', help='dir with sample files', required=True)
56 p.add_argument('-o', dest='o', help='out dir', required=True) 49 p.add_argument('-o', dest='o', help='out dir', required=True)
57 p.add_argument('-n', dest='n',) 50 p.add_argument('-n', dest='n',)
58 51
59 52
60 args = p.parse_args() 53 args = p.parse_args()