Skip to content

Commit

Permalink
Rename haploid_mode to haploid
Browse files Browse the repository at this point in the history
  • Loading branch information
chaklim committed Dec 23, 2019
1 parent b9caffe commit c526ab7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions clair/callVarBam.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def Run(args):
stop_consider_left_edge = command_option_from(args.stop_consider_left_edge, 'stop_consider_left_edge')
log_path = command_option_from(args.log_path, 'log_path', option_value=args.log_path)
pysam_for_all_indel_bases = command_option_from(args.pysam_for_all_indel_bases, 'pysam_for_all_indel_bases')
haploid_mode = command_option_from(args.haploid_mode, 'haploid_mode')
haploid_mode = command_option_from(args.haploid, 'haploid')
debug = command_option_from(args.debug, 'debug')
qual = command_option_from(args.qual, 'qual', option_value=args.qual)
fast_plotting = command_option_from(args.fast_plotting, 'fast_plotting')
Expand Down Expand Up @@ -295,7 +295,7 @@ def main():
parser.add_argument('--pysam_for_all_indel_bases', action='store_true',
help="Always using pysam for outputting indel bases, optional")

parser.add_argument('--haploid_mode', action='store_true',
parser.add_argument('--haploid', action='store_true',
help="call haploid instead of diploid")

parser.add_argument('--activation_only', action='store_true',
Expand Down
4 changes: 2 additions & 2 deletions clair/callVarBamParallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def Run(args):
stop_consider_left_edge = command_option_from(args.stop_consider_left_edge, 'stop_consider_left_edge')
log_path = command_option_from(args.log_path, 'log_path', option_value=args.log_path)
pysam_for_all_indel_bases = command_option_from(args.pysam_for_all_indel_bases, 'pysam_for_all_indel_bases')
haploid_mode = command_option_from(args.haploid_mode, 'haploid_mode')
haploid_mode = command_option_from(args.haploid, 'haploid')
debug = command_option_from(args.debug, 'debug')
qual = command_option_from(args.qual, 'qual', option_value=args.qual)
fast_plotting = command_option_from(args.fast_plotting, 'fast_plotting')
Expand Down Expand Up @@ -176,7 +176,7 @@ def main():
parser.add_argument('--pysam_for_all_indel_bases', action='store_true',
help="Always using pysam for outputting indel bases, optional")

parser.add_argument('--haploid_mode', action='store_true',
parser.add_argument('--haploid', action='store_true',
help="call haploid instead of diploid")

parser.add_argument('--activation_only', action='store_true',
Expand Down
4 changes: 2 additions & 2 deletions clair/call_var.py
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ def call_variants(args, m):
output_config = OutputConfig(
is_show_reference=args.showRef,
is_debug=args.debug,
is_haploid_mode_enabled=args.haploid_mode,
is_haploid_mode_enabled=args.haploid,
quality_score_for_pass=args.qual,
)
output_utilities = output_utilties_from(
Expand Down Expand Up @@ -1282,7 +1282,7 @@ def main():
parser.add_argument('--pysam_for_all_indel_bases', action='store_true',
help="Always using pysam for outputting indel bases, optional")

parser.add_argument('--haploid_mode', action='store_true',
parser.add_argument('--haploid', action='store_true',
help="call haploid instead of diploid")

args = parser.parse_args()
Expand Down

0 comments on commit c526ab7

Please sign in to comment.