|
a |
|
b/singlecellmultiomics/fastaProcessing/fastaCreateDict.py |
|
|
1 |
#!/usr/bin/env python |
|
|
2 |
# -*- coding: utf-8 -*- |
|
|
3 |
import argparse |
|
|
4 |
from singlecellmultiomics.utils import create_fasta_dict_file |
|
|
5 |
|
|
|
6 |
|
|
|
7 |
if __name__ == '__main__': |
|
|
8 |
argparser = argparse.ArgumentParser( |
|
|
9 |
formatter_class=argparse.ArgumentDefaultsHelpFormatter, |
|
|
10 |
description='Create fasta dict file') |
|
|
11 |
|
|
|
12 |
argparser.add_argument('fastafile', type=str) |
|
|
13 |
|
|
|
14 |
args = argparser.parse_args() |
|
|
15 |
|
|
|
16 |
dict_path = create_fasta_dict_file(args.fastafile) |