Closed liuyang2006 closed 2 years ago
Megalodon variant calling was based on the now deprecated flip-flop model structure. The newer style CRF model output is not compatible (or feasible) to apply the same approach for variant calling. Only flip-flop models would work for this purpose. Removing the --guppy-config
simply uses the default model (dna_r9.4.1_450bps_modbases_5mc_hac.cfg
) which is a CRF canonical basecalling model with a Remora modified base model. I don't believe guppy contains any flip-flop models any longer. The variant calling/phasing functionality from megalodon should be considered deprecated. I would recommend longphase for read phasing.
Thank you for your confirmation!
Hi, I am following the tutorial here(https://nanoporetech.github.io/megalodon/variant_phasing.html) to run phasing, but the first step below occurs error when run megalodon variant calling:
Error is below:
The error message saied that model is not propriate, but if I remove the
--guppy-config
param, the command still can not work anymore.