Mercurial > repos > dfornika > snippy
comparison snippy_core_wrapper.py @ 18:9d8519bf7a40 draft
planemo upload for repository https://github.com/tseemann/snippy commit 8eeaf87866e26e7b534a6fd8e9b0919b16596c08-dirty
| author | dfornika |
|---|---|
| date | Tue, 22 Jan 2019 14:48:36 -0500 |
| parents | 412683e7a8fe |
| children |
comparison
equal
deleted
inserted
replaced
| 17:412683e7a8fe | 18:9d8519bf7a40 |
|---|---|
| 16 import argparse | 16 import argparse |
| 17 import os | 17 import os |
| 18 import subprocess | 18 import subprocess |
| 19 from shutil import copyfile | 19 from shutil import copyfile |
| 20 | 20 |
| 21 | |
| 21 def main(): | 22 def main(): |
| 22 | |
| 23 | 23 |
| 24 parser = argparse.ArgumentParser() | 24 parser = argparse.ArgumentParser() |
| 25 parser.add_argument('-r', '--ref', help='Reference fasta', required=True) | 25 parser.add_argument('-r', '--ref', help='Reference fasta', required=True) |
| 26 parser.add_argument('-i', '--indirs', help='Comma-separated list of input datasets') | 26 parser.add_argument('-i', '--indirs', help='Comma-separated list of input datasets') |
| 27 args = parser.parse_args() | 27 args = parser.parse_args() |
