Skip to content

Commit

Permalink
Merge pull request #38 from rpetit3/rpetit3-patch-1
Browse files Browse the repository at this point in the history
set min_range and max_range args to be a float
  • Loading branch information
jhawkey authored Jun 11, 2019
2 parents d36a68a + 28a6349 commit 8c7c0da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/ismap.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ def parse_args():
help='Minimum depth for mapped region to be kept in bed file (default 6)')
parser_hits.add_argument('--novel_gap_size', type=int, required=False, default=15,
help='Distance in base pairs between left and right flanks to be called a novel hit (default 15)')
parser_hits.add_argument('--min_range', type=str, required=False, default=0.9,
parser_hits.add_argument('--min_range', type=float, required=False, default=0.9,
help='Minimum percent size of the gap to be called a known hit (default 0.9, or 90 percent)')
parser_hits.add_argument('--max_range', type=str, required=False, default=1.1,
parser_hits.add_argument('--max_range', type=float, required=False, default=1.1,
help='Maximum percent size of the gap to be called a known hit (default 1.1, or 110 percent)')
parser_hits.add_argument('--merging', type=str, required=False, default='100',
help='Value for merging left and right hits in bed files together to simply calculation of closest and intersecting regions (default 100).')
Expand Down Expand Up @@ -241,4 +241,4 @@ def main():


if __name__ == '__main__':
main()
main()

0 comments on commit 8c7c0da

Please sign in to comment.