<@UE6D8290F> <@UPC8CHDKQ> quick question... Any p...
# sarek_dev
b
@Maxime Garcia @Rike Hanssen quick question... Any particular reason why
cross
is used here instead of
combine
? I think you could use
combine
with
by: 0
and get the same result. Just wondering if there was something special about using
cross
here instead
Copy code
mpileup_pair = mpileup_normal
    .cross(mpileup_tumor)
    .map { normal, tumor -> [normal[0], normal[1], tumor[1], [], [], [], []] }
m
Fine with me to switch. Do you intend to deprecate the cross operator?
b
I think we can exclude it from typed workflows. So when you migrate this workflow to static typing you would likely replace each
cross
with a
combine
or
join
👍 1
m
ok, not a problem