Hi @lh3 @tanlongzhi
I'm a little confused that the strand for R2 was reversed here. Did I miss anything?
// read_num for PE sequencing: 1 for R1, 2 for R2 var read_num = flag >> 6 & 0x3; if (read_num == 3) throw Error(t[0] + ": incorrect read number flags"); read_nums |= 1 << read_num; if (read_num == 2) { // NB: qlen1 could be zero here var qs1 = qlen - qe; qe = qlen - qs, qs = qs1; rev = !rev; }
THX
Hi @lh3 @tanlongzhi
I'm a little confused that the strand for R2 was reversed here. Did I miss anything?
// read_num for PE sequencing: 1 for R1, 2 for R2 var read_num = flag >> 6 & 0x3; if (read_num == 3) throw Error(t[0] + ": incorrect read number flags"); read_nums |= 1 << read_num; if (read_num == 2) { // NB: qlen1 could be zero here var qs1 = qlen - qe; qe = qlen - qs, qs = qs1; rev = !rev; }THX