Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 16a96cf

Browse files
committed
loosen't productivity
1 parent d35f98c commit 16a96cf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

vdj_ann/src/transcript.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub fn is_valid(
8484
let mut missing_vstart = true;
8585
// let premature_stop = true;
8686
// let frameshift_mut = false;
87-
// let missing_cdr3 = false;
87+
let mut missing_cdr3 = false;
8888
// let too_large = true;
8989
// let misordered = false;
9090
let mut contig_status: UnproductiveContig = Default::default();
@@ -212,6 +212,7 @@ pub fn is_valid(
212212
fwriteln!(log, "did not find CDR3");
213213
}
214214
contig_status |= UnproductiveContig::NO_CDR3;
215+
missing_cdr3 = true;
215216
}
216217
let mut too_large = false;
217218
const MIN_DELTA: i32 = -25;
@@ -261,7 +262,8 @@ pub fn is_valid(
261262
}
262263
contig_status |= UnproductiveContig::SIZE_DELTA;
263264
}
264-
if full && !too_large && !misordered && contig_status.is_empty() {
265+
if full && !too_large && !misordered && !missing_cdr3 {
266+
// && contig_status.is_empty() {
265267
return ContigStatus {
266268
productive: true,
267269
unproductive_cause: contig_status,

0 commit comments

Comments
 (0)