Mercurial > repos > greg > cwpair2
comparison cwpair2.py @ 3:430a5bdc55a3 draft
Uploaded
author | greg |
---|---|
date | Sat, 21 Nov 2015 09:01:35 -0500 |
parents | 507521bf124a |
children | 001551406848 |
comparison
equal
deleted
inserted
replaced
2:279cdc63bcff | 3:430a5bdc55a3 |
---|---|
25 parser.add_argument('--binsize', dest='binsize', type=int, default=1, help='Width of bins for plots and mode.') | 25 parser.add_argument('--binsize', dest='binsize', type=int, default=1, help='Width of bins for plots and mode.') |
26 parser.add_argument('--threshold_format', dest='threshold_format', help='Percentage to filter the 95th percentile.') | 26 parser.add_argument('--threshold_format', dest='threshold_format', help='Percentage to filter the 95th percentile.') |
27 parser.add_argument('--relative_threshold', dest='relative_threshold', type=float, default=0.0, help='Percentage to filter the 95th percentile.') | 27 parser.add_argument('--relative_threshold', dest='relative_threshold', type=float, default=0.0, help='Percentage to filter the 95th percentile.') |
28 parser.add_argument('--absolute_threshold', dest='absolute_threshold', type=float, default=0.0, help='Absolute value to filter.') | 28 parser.add_argument('--absolute_threshold', dest='absolute_threshold', type=float, default=0.0, help='Absolute value to filter.') |
29 parser.add_argument('--output_files', dest='output_files', default='simple', help='Restrict output dataset collections.') | 29 parser.add_argument('--output_files', dest='output_files', default='simple', help='Restrict output dataset collections.') |
30 parser.add_argument('--plot_format', dest='plot_format', default=None, help='Format of output graph.') | |
31 parser.add_argument('--sort_chromosome', dest='sort_chromosome', default='asc', help='Sort output by chromosome.') | 30 parser.add_argument('--sort_chromosome', dest='sort_chromosome', default='asc', help='Sort output by chromosome.') |
32 parser.add_argument('--sort_score', dest='sort_score', default='no', help='Sort output by score.') | 31 parser.add_argument('--sort_score', dest='sort_score', default='no', help='Sort output by score.') |
33 parser.add_argument('--statistics_output', dest='statistics_output', help='Statistics output file.') | 32 parser.add_argument('--statistics_output', dest='statistics_output', help='Statistics output file.') |
34 args = parser.parse_args() | 33 args = parser.parse_args() |
35 | 34 |
49 threshold, | 48 threshold, |
50 args.up_distance, | 49 args.up_distance, |
51 args.down_distance, | 50 args.down_distance, |
52 args.binsize, | 51 args.binsize, |
53 args.output_files, | 52 args.output_files, |
54 args.plot_format, | |
55 args.sort_chromosome, | 53 args.sort_chromosome, |
56 args.sort_score) | 54 args.sort_score) |
57 statistics.extend(stats) | 55 statistics.extend(stats) |
58 # Accumulate statistics. | 56 # Accumulate statistics. |
59 by_file = {} | 57 by_file = {} |