Mercurial > repos > iuc > meme_fimo
comparison fimo_wrapper.py @ 10:ce2feec4c8d2 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 3f116ddc83447056068573320c148a9bfca9aa2e
| author | iuc |
|---|---|
| date | Wed, 23 Aug 2017 20:56:18 -0400 |
| parents | 8a042b09be8e |
| children |
comparison
equal
deleted
inserted
replaced
| 9:b69b8c6bbbde | 10:ce2feec4c8d2 |
|---|---|
| 110 proc = subprocess.Popen(args=fimo_cmd, shell=True, stderr=tmp_stderr) | 110 proc = subprocess.Popen(args=fimo_cmd, shell=True, stderr=tmp_stderr) |
| 111 returncode = proc.wait() | 111 returncode = proc.wait() |
| 112 if returncode != 0: | 112 if returncode != 0: |
| 113 stderr = get_stderr(tmp_stderr) | 113 stderr = get_stderr(tmp_stderr) |
| 114 stop_err(stderr) | 114 stop_err(stderr) |
| 115 except Exception, e: | 115 except Exception as e: |
| 116 stop_err('Error running FIMO:\n%s' % str(e)) | 116 stop_err('Error running FIMO:\n%s' % e) |
| 117 | 117 |
| 118 shutil.move(os.path.join(args.output_path, 'fimo.txt'), args.txt_output) | 118 shutil.move(os.path.join(args.output_path, 'fimo.txt'), args.txt_output) |
| 119 | 119 |
| 120 gff_file = os.path.join(args.output_path, 'fimo.gff') | 120 gff_file = os.path.join(args.output_path, 'fimo.gff') |
| 121 if args.remove_duplicate_coords == 'yes': | 121 if args.remove_duplicate_coords == 'yes': |
