Skip to content
Snippets Groups Projects

feature added: Simulate sequencing upper level function, restructuring of package modules and functions

Merged Christoph Harmel requested to merge simulate_sequencing into main
3 files
+ 101
24
Compare changes
  • Side-by-side
  • Inline
Files
3
import argparse
from modules import run_read_sequencer
parser = argparse.ArgumentParser(prog= 'read_sequencer', description='Simulates Sequenceing of a FASTA file.')
parser.add_argument('--file_path',
help='path to FASTA file', action='store_const')
parser = argparse.ArgumentParser(prog='read_sequencer',
description='Simulates sequencing of a DNA sequences specified by an FASTA file.')
parser.add_argument('--input_file_path',
help='path to FASTA file')
parser.add_argument('--output_file_path',
help='path to FASTA file')
parser.add_argument('--read_length',
help='read length for sequencing', action='store_const')
help='read length for sequencing',
type=int)
args = parser.parse_args()
print(args.file_path, args.read_length)
def main():
run_read_sequencer(args.input_file_path, args.read_length, args.output_file_path)
if __name__ == '__main__':
main()
Loading