Changeset 6468
- Timestamp:
- Nov 4, 2021, 8:47:01 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/branches/4.33-stable/src/net/sf/basedb/reggie/grid/ImportFastqJobCreator.java
r6467 r6468 455 455 if (m.matches()) 456 456 { 457 metrics.passedFilter = Values.getLong(m.group(1), -1); 457 metrics.reads = Values.getLong(m.group(1), -1); 458 metrics.passedFilter = metrics.reads; 458 459 } 459 460 } … … 506 507 int bowtie_fragment_count_limit = Values.getInt(cfg.getConfig("demux/bowtie-fragment-count-limit", mergeParameterSet, "20000")); 507 508 508 // We may have READS from the JSON import, but if not we should do the best and use the PF_READS value 509 Long reads = (Long)Annotationtype.READS.getAnnotationValue(dc, merged); 510 if (reads == null) 511 { 512 metrics.reads = metrics.passedFilter; 513 Annotationtype.READS.setAnnotationValue(dc, merged, metrics.reads); 514 } 515 else 516 { 517 metrics.reads = reads; 518 } 509 Annotationtype.READS.setAnnotationValue(dc, merged, metrics.reads); 519 510 Annotationtype.PF_READS.setAnnotationValue(dc, merged, metrics.passedFilter); 520 511 Annotationtype.ADAPTER_READS.setAnnotationValue(dc, merged, metrics.passedFilter - metrics.passedTrimmomatic[0]);
Note: See TracChangeset
for help on using the changeset viewer.