Sydney-Informatics-Hub / ONT-bacpac-nf

Bacterial profiling workflow for ONT data, written in Nextflow.
GNU General Public License v3.0
1 stars 0 forks source link

Trycycler num contig check and improved flye assembly handling #56

Closed fredjaya closed 1 month ago

fredjaya commented 1 month ago

In this PR, each sample is handled by one of the following cases:

  1. Enough contigs for trycycler, flye is better assembly (barcode03)
  2. Enough contigs for trycycler, consensus is better assembly (barcode01)
  3. Not enough contigs for trycycler, use flye assembly (barcode12)

In Case 1, some flye contigs are discarded to only retain chromosomal contigs before polishing and annotation (current select assembly implementation)

This PR introduces Case 3, where no contigs are discarded.

All flye-assembled contigs are polished and annotated etc. This is to prepare for revising the approach for #54. (The unicycler assembly is not considered as one of the good assemblies here, to change when revising.

Output report and files on sharepoint