GithubHelp home page GithubHelp logo

Test Freyja Update function about porecov HOT 11 OPEN

hoelzer avatar hoelzer commented on June 23, 2024
Test Freyja Update function

from porecov.

Comments (11)

hoelzer avatar hoelzer commented on June 23, 2024 4

Alright, I tested this on patient samples.

here is the plot w/o freyja_update which then uses a Freyja database that is part of the container (from March 2024 or so)

grafik

here is the same data and command but with freyja_update and we can see that the update function does something (attention, the sample columns are not exactly the same)

grafik

Let's check the "interesting" samples (if I can see the colors correctly)

IMSSC2-174-2024-00065, barcode13 - assigned JN 1.48.1 (designated 15.04.2024)

  • w/o freyja update: JN.1.16.1
  • w/ freyja update: 50% JN 1.16.1 and 50% JN1.48.1

IMSSC2-99-2024-00026, barcode 12 - assigned JN 1.16.2 (designated 15.04.2024)

  • w/o freyja update: JN.1.16
  • w/ freyja update: 80% JN.1.16.2 and 20% JN.1.16

IMSSC2-63-2024-00057, barcode 18 - assigned KP 2.3 (designated 15.04.2024)

  • w/o freyja update: KP.2
  • w/ freyja update: KP.2.3

Summary

This works very well! And the update function also does it's job. Still, I think we should implement a more robust way where the used freyja reference db is also versionized and stored. But this can be done in another issue/PR.

from porecov.

Krannich479 avatar Krannich479 commented on June 23, 2024 1

Amazing results @hoelzer !

from porecov.

MarieLataretu avatar MarieLataretu commented on June 23, 2024 1

I'd vote for deprecating LCS, then. If we need LCS results in the near future for whatever reason, we'd still have the option to run it easily

from porecov.

hoelzer avatar hoelzer commented on June 23, 2024

In this context, the help mssg

--screen_reads           Determines the Pangolineage of each individual read (takes time, needs --freyja and/or --lcs)

Is wrong. I am not 100% sure how LCS was doing this, but Freyja is not giving a lineage assignment for each read. Freyja is doing a deconvolution of the variant calls to estimate the proportion of lineages.

In this context, I am also wondering @DataSpott @replikation if we could not remove the screen_reads parameter?

Then, the user can just activate freyja or LCS with the parameter that is anyway available?

from porecov.

replikation avatar replikation commented on June 23, 2024

In this context, the help mssg

--screen_reads           Determines the Pangolineage of each individual read (takes time, needs --freyja and/or --lcs)

Is wrong. I am not 100% sure how LCS was doing this, but Freyja is not giving a lineage assignment for each read. Freyja is doing a deconvolution of the variant calls to estimate the proportion of lineages.

In this context, I am also wondering @DataSpott @replikation if we could not remove the screen_reads parameter?

Then, the user can just activate freyja or LCS with the parameter that is anyway available?

agree on this screen_reads part to simplify. but i prefer descriptions rather than tool names. (e.g. --screen_reads Uses freya to.....)
maybe deprecate LCS?

from porecov.

hoelzer avatar hoelzer commented on June 23, 2024

In this context, the help mssg

--screen_reads           Determines the Pangolineage of each individual read (takes time, needs --freyja and/or --lcs)

Is wrong. I am not 100% sure how LCS was doing this, but Freyja is not giving a lineage assignment for each read. Freyja is doing a deconvolution of the variant calls to estimate the proportion of lineages.
In this context, I am also wondering @DataSpott @replikation if we could not remove the screen_reads parameter?
Then, the user can just activate freyja or LCS with the parameter that is anyway available?

agree on this screen_reads part to simplify. but i prefer descriptions rather than tool names. (e.g. --screen_reads Uses freya to.....) maybe deprecate LCA?

From my pov we could discontinue LCS. And then screen_reads would simply activate freyja.

@Krannich479 @MarieLataretu are you using LCS for anything? From my pov it's not well-updated and freyja would be anyway preferable

from porecov.

MarieLataretu avatar MarieLataretu commented on June 23, 2024

@Krannich479 @MarieLataretu are you using LCS for anything? From my pov it's not well-updated and freyja would be anyway preferable

We occasionally investigate the LCS results in special cases. But I agree that LCS is not up-to-date (even if we could update it)!

Maybe deprecation is a nice compromise? @replikation , it would be usable/available for some time, right?

from porecov.

replikation avatar replikation commented on June 23, 2024

yep

from porecov.

hoelzer avatar hoelzer commented on June 23, 2024

Agree!

from porecov.

Krannich479 avatar Krannich479 commented on June 23, 2024

Regarding your freja results, do you mind re-running freja if I error-correct you the read pools with herro? This insight would bolster my (dis-)trust in EC for variant calling.

from porecov.

hoelzer avatar hoelzer commented on June 23, 2024

@Krannich479 pleasure.

We could also then do a re-basecalling of the run with v5 Dorado SUP and see any differences.

from porecov.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.