-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from GenomiqueENS/gh-page
Gh page
- Loading branch information
Showing
28 changed files
with
337 additions
and
1,070 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import argparse | ||
from badread_caller import badread_caller, setup_badread_command | ||
from template_maker import template_maker, setup_template_parameters | ||
from PCR_amplificator import PCR_amplificator, setup_PCR_parameters | ||
|
||
def setup_parent_parser(): | ||
parent_parser = argparse.ArgumentParser(add_help=False) | ||
parent_parser.add_argument('--debug', action='store_true', help='Enable debug mode') | ||
return parent_parser | ||
|
||
|
||
def main(): | ||
parent_parser = setup_parent_parser() | ||
main_parser = argparse.ArgumentParser() | ||
|
||
subparsers = main_parser.add_subparsers(title="command", dest="command", required=True) | ||
|
||
subparsers.add_parser('call_badread', parents=[setup_badread_command(parent_parser)], | ||
add_help=False) | ||
subparsers.add_parser('template_maker', parents=[setup_template_parameters(parent_parser)], | ||
add_help=False) | ||
subparsers.add_parser('PCR', parents=[setup_PCR_parameters(parent_parser)], | ||
add_help=False) | ||
|
||
args = main_parser.parse_args() | ||
|
||
if args.command == 'call_badread': | ||
badread_caller(args) | ||
if args.command == 'template_maker': | ||
template_maker(args) | ||
if args.command == 'PCR': | ||
PCR_amplificator(args) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.