Mercurial > repos > galaxyp > maxquant
comparison mqwrapper.py @ 1:461ba35a313f draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/maxquant commit 2131f017e9303599ed672797ffd6e9b00ab1245d
| author | galaxyp |
|---|---|
| date | Wed, 07 Aug 2019 10:49:12 -0400 |
| parents | 4ce8694766e3 |
| children | 33c911e66d8e |
comparison
equal
deleted
inserted
replaced
| 0:4ce8694766e3 | 1:461ba35a313f |
|---|---|
| 89 fnames_with_ext = [(a if a.endswith(ftype) | 89 fnames_with_ext = [(a if a.endswith(ftype) |
| 90 else os.path.splitext(a)[0] + ftype) | 90 else os.path.splitext(a)[0] + ftype) |
| 91 for a in filenames] | 91 for a in filenames] |
| 92 | 92 |
| 93 for f, l in zip(files, fnames_with_ext): | 93 for f, l in zip(files, fnames_with_ext): |
| 94 os.link(f, l) | 94 os.symlink(f, l) |
| 95 | 95 |
| 96 # build mqpar.xml | 96 # build mqpar.xml |
| 97 mqpar_in = os.path.join(os.getcwd(), 'mqpar.xml') | 97 mqpar_in = os.path.join(os.getcwd(), 'mqpar.xml') |
| 98 subprocess.run(('maxquant', '-c', mqpar_in)) | 98 subprocess.run(('maxquant', '-c', mqpar_in)) |
| 99 mqpar_out = args['mqpar_out'] if args['mqpar_out'] != 'None' else mqpar_in | 99 mqpar_out = args['mqpar_out'] if args['mqpar_out'] != 'None' else mqpar_in |
