Commit 2e675cd6 authored by Blaise Li's avatar Blaise Li

Adding progression messages.

parent b5d98f70
...@@ -91,10 +91,13 @@ def main(): ...@@ -91,10 +91,13 @@ def main():
region_extractor = itemgetter("chrom", "start", "end") region_extractor = itemgetter("chrom", "start", "end")
from_region = region_extractor(config["from_region"]) from_region = region_extractor(config["from_region"])
to_region = region_extractor(config["to_region"]) to_region = region_extractor(config["to_region"])
print(f"Copying {from_region} of {config['from_bw']} "
"into {to_region} of {config['to_bw']}")
paste_bigwig_region( paste_bigwig_region(
config["from_bw"], config["to_bw"], config["from_bw"], config["to_bw"],
from_region, to_region, from_region, to_region,
config["dest_bw"]) config["dest_bw"])
print(f"Results written in {config['dest_bw']}")
return 0 return 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment