-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
20 lines (14 loc) · 616 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from kmers_dataset import *
from create_kmers_output import *
def main():
print('Give inputs\n')
k_mers, script_name, genome_file, genome_folder ,input_folder, output_folder = input().split()
k_mers = int(k_mers)
first_stage = create_kmers_output(k_mers, script_name, genome_file, genome_folder ,input_folder, output_folder)
first_stage.fasta_generator()
first_stage.folder_loop()
second_stage = kmers_dataset(k_mers, output_folder, genome_folder)
headers = second_stage.create_csv_headers()
second_stage.create_dataset(headers)
if __name__ == "__main__":
main()