| 1 |
import argparse |
| 2 |
from pyfastaq import tasks |
| 3 |
|
| 4 |
def run(description): |
| 5 |
parser = argparse.ArgumentParser( |
| 6 |
description = 'Makes all combinations of sequences in input file by using all possibilities of redundant bases. e.g. ART could be AAT or AGT. Assumes input is nucleotides, not amino acids', |
| 7 |
usage = 'fastaq expand_nucleotides <infile> <outfile>') |
| 8 |
parser.add_argument('infile', help='Name of input file') |
| 9 |
parser.add_argument('outfile', help='Name of output file') |
| 10 |
options = parser.parse_args() |
| 11 |
tasks.expand_nucleotides( |
| 12 |
options.infile, |
| 13 |
options.outfile, |
| 14 |
) |