Skip to content

Devtools HW#4

Open
dashvash wants to merge 2 commits intomainfrom
devtools
Open

Devtools HW#4
dashvash wants to merge 2 commits intomainfrom
devtools

Conversation

@dashvash
Copy link
Owner

No description provided.

Copy link

@IvanKozlov98 IvanKozlov98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Привет, хорошая работа!

Оценка: 50/50

Comment on lines +67 to +74
parser = argparse.ArgumentParser(prog ='FASTQ-filtrator', description="Filtration parameters", epilog='Have a good day!')
parser.add_argument("input_fastq", help="Path to the FASTQ file")
parser.add_argument("--gc_bounds", type=float, nargs='*', default=[0, 100],
help="Interval for GC %% value (one value = max only, two = min and max)")
parser.add_argument("--length_bounds", type=float, nargs='*', default=[0, 2**32],
help="Interval for length value (one value = max only, two = min and max)")
parser.add_argument("--quality_threshold", type=float, default=0,
help="Average read quality threshold for filtering")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это лучше в отдельную функцию вынести



parser = argparse.ArgumentParser(prog ='FASTQ-filtrator', description="Filtration parameters", epilog='Have a good day!')
parser.add_argument("input_fastq", help="Path to the FASTQ file")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

можно посмотреть сюда — https://docs.python.org/3/library/argparse.html#filetype-objects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants