You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Split callset into chunks for processing and add additional cli args (#72)
Add multiprocessing for samples in callset and add cli support to specify chunk size, add bypass-intersecting-intervals-phase and allow a dryrun to see what may be processed without actually executing the query.
help="Optional - number of processing units for multiprocessing(default: %(default)s). Run nproc from command line to print the number of processing units available to a process for the user", # noqa
231
251
)
252
+
parser.add_argument(
253
+
"--chunk-size",
254
+
default=10240,
255
+
help="Optional - hint to split number of samples for multiprocessing used in conjunction with -n/--nproc and when -s/-S/--sample/--sample-list is not specified (default: %(default)s)", # noqa
256
+
)
232
257
parser.add_argument(
233
258
"-t",
234
259
"--output-type",
@@ -253,7 +278,19 @@ def setup():
253
278
"-o",
254
279
"--output",
255
280
default="query_output",
256
-
help="a prefix filename to csv outputs from the tool. The filenames will be suffixed with the interval and .csv/.json (default: %(default)s)", # noqa
281
+
help="a prefix filename to outputs from the tool. The filenames will be suffixed with the interval and .csv/.json/... (default: %(default)s)", # noqa
282
+
)
283
+
parser.add_argument(
284
+
"-d",
285
+
"--dryrun",
286
+
action="store_true",
287
+
help="displays the query that will be run without actually executing the query (default: %(default)s)", # noqa
288
+
)
289
+
parser.add_argument(
290
+
"-b",
291
+
"--bypass-intersecting-intervals-phase",
292
+
action="store_true",
293
+
help="iterate only once bypassing the intersecting intervals phase (default: %(default)s)", # noqa
257
294
)
258
295
259
296
args=parser.parse_args()
@@ -369,6 +406,15 @@ class GenomicsDBExportConfig(NamedTuple):
0 commit comments