We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b7b9e2 commit e78e7eaCopy full SHA for e78e7ea
hicstuff/pipeline.py
@@ -1070,6 +1070,19 @@ def _out_file(fname):
1070
# Build matrix from pairs.
1071
if mat_fmt == "cool":
1072
1073
+ # Log which pairs file is being used and how many pairs are listed
1074
+ pairs_count = 0
1075
+ with open(use_pairs, "r") as file:
1076
+ for line in file:
1077
+ if line.startswith('#'):
1078
+ continue
1079
+ else:
1080
+ pairs_count += 1
1081
+ logger.info(
1082
+ "Generating matrix from pairs file %s (%d pairs in the file) ",
1083
+ use_pairs, pairs_count
1084
+ )
1085
+
1086
# Name matrix file in .cool
1087
mat = os.path.splitext(mat)[0] + ".cool"
1088
0 commit comments