Skip to content

Commit 9d99660

Browse files
authored
Merge pull request #223 from golobor/parse_refactor
Parse refactor
2 parents 6000a2d + f6cc28d commit 9d99660

File tree

3 files changed

+185
-162
lines changed

3 files changed

+185
-162
lines changed

pairtools/cli/parse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
@click.option(
124124
"--walks-policy",
125125
type=click.Choice(["mask", "5any", "5unique", "3any", "3unique", "all"]),
126-
default="mask",
126+
default="5unique",
127127
help="the policy for reporting unrescuable walks (reads containing more"
128128
" than one alignment on one or both sides, that can not be explained by a"
129129
" single ligation between two mappable DNA fragments)."

pairtools/lib/pairsam_format.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@
100100
"dist_to_3",
101101
"seq",
102102
"mismatches", # Format: "{ref_letter}:{mut_letter}:{phred}:{ref_position}:{read_position}"
103+
"read_side",
104+
"algn_idx",
105+
"same_side_algn_count"
106+
103107
]
104108

105109
DTYPES_EXTRA_COLUMNS = {
@@ -115,4 +119,7 @@
115119
"dist_to_3": int,
116120
"seq": str,
117121
"mismatches": str,
122+
"read_side": int,
123+
"algn_idx": int,
124+
"same_side_algn_count": int,
118125
}

0 commit comments

Comments
 (0)