pyfastaq/runners/to_boulderio.py
raw| 1 | import argparse |
| 2 | from pyfastaq import tasks |
| 3 | |
| 4 | def run(description): |
| 5 | parser = argparse.ArgumentParser( |
| 6 | description = 'Converts input sequence file into "Boulder-IO" format, which is used by primer3', |
| 7 | usage = 'fastaq to_boulderio <infile> <outfile>') |
| 8 | parser.add_argument('infile', help='Name of input file') |
| 9 | parser.add_argument('outfile', help='Name of output files') |
| 10 | options = parser.parse_args() |
| 11 | tasks.to_boulderio(options.infile, options.outfile) |
| 12 |