pyfastaq/runners/to_mira_xml.py
raw| 1 | import argparse |
| 2 | from pyfastaq import tasks |
| 3 | |
| 4 | def run(description): |
| 5 | parser = argparse.ArgumentParser( |
| 6 | description = description, |
| 7 | usage = 'fastaq to_mira_xml <infile> <xml_out>') |
| 8 | parser.add_argument('infile', help='Name of input fasta/q file') |
| 9 | parser.add_argument('xml_out', help='Name of output xml file') |
| 10 | options = parser.parse_args() |
| 11 | tasks.fastaq_to_mira_xml(options.infile, options.xml_out) |