Code Monkey home page Code Monkey logo

Comments (7)

jorgecnavarrom avatar jorgecnavarrom commented on August 11, 2024

Hi Rubing

The difference could be related to the different weights used to combine the distance indices. The weights are currently:

bgc_class_weight["PKSI"] = (0.22, 0.76, 0.02, 1.0)
bgc_class_weight["PKSother"] = (0.0, 0.32, 0.68, 4.0)
bgc_class_weight["NRPS"] = (0.0, 1.0, 0.0, 4.0)
bgc_class_weight["RiPPs"] = (0.28, 0.71, 0.01, 1.0)
bgc_class_weight["Saccharides"] = (0.0, 0.0, 1.0, 1.0)
bgc_class_weight["Terpene"] = (0.2, 0.75, 0.05, 2.0)
bgc_class_weight["PKS-NRP_Hybrids"] = (0.0, 0.78, 0.22, 1.0)
bgc_class_weight["Others"] = (0.01, 0.97, 0.02, 4.0)
bgc_class_weight["mix"] = (0.2, 0.75, 0.05, 2.0)

which correspond to Jaccard, Domain sequence identity, adjacency index and anchor boost (you could try taking the individual index values from the 'mix' class and recombining them with the weights of the class they belong to. Perhaps they don't make the cutoff value in that biosynthetic class?)

I think another factor could be the affinity propagation clustering algorithm, which might give different groupings.

Let me know if something else seems to have gone wrong, though!

from big-scape.

durubing-jn avatar durubing-jn commented on August 11, 2024

Thanks for your reply!
As describe above, this means the GCFs in "mix_clustering_c0.30" may not be right?

from big-scape.

jorgecnavarrom avatar jorgecnavarrom commented on August 11, 2024

Oh wait, I've just re-read your first comment. Do you mean that e.g. BGC2 and BGC3 don't have a connection in mix_c0.30.network and yet they are together in mix_clustering_c0.30? That is weird indeed... Would you be able to send me those two files? (jorge DOT navarromunoz AT wur.nl)

from big-scape.

durubing-jn avatar durubing-jn commented on August 11, 2024

ok, I have sent to your E-mail.

from big-scape.

jorgecnavarrom avatar jorgecnavarrom commented on August 11, 2024

Ahh, I see what you mean
image
I think I saw something similar to this a while ago... This is an artifact of the affinity propagation clustering, I'm afraid.

I'm working (slowly) on making BiG-SCAPE use a newer version of scikit-learn (from which we use affinity propagation). Hopefully this is something that has been addressed recently. But not much else that I can do now, unfortunately.

The only recommendation I can make now would be to use the connected components as GCFs

from big-scape.

durubing-jn avatar durubing-jn commented on August 11, 2024

ok, thanks. There are a series of indices between two BGCs. For example, Raw distance, Squared similarity, Jaccard index, DSS index, Adjacency index, raw DSS non-anchor, raw DSS anchor, Non-anchor domains and Anchor domains. Which one can be used as the criterion for identifying GCFs?

from big-scape.

jorgecnavarrom avatar jorgecnavarrom commented on August 11, 2024

Raw distance. The others are sub-components that lead to this value

from big-scape.

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.