GithubHelp home page GithubHelp logo

Which kmers are used? about simka HOT 4 CLOSED

gatb avatar gatb commented on August 16, 2024
Which kmers are used?

from simka.

Comments (4)

rchikhi avatar rchikhi commented on August 16, 2024

Hi Charlie, I believe the question would need to be a bit more detailed..

from simka.

ctseto avatar ctseto commented on August 16, 2024

Mea culpa. I'm interested in analysis of metagenomes for sample discrimination. I run simka on a set of assemblies and am curious about what the kmer partitioning process entailed, and how sample kmers were assigned to the partitions/bins.

I was going to cluster samples based on the kmers partitions though I am unsure if this is meaningful. I am unsure where, and if, simka saves the kmers that go to a given partition.

from simka.

clemaitre avatar clemaitre commented on August 16, 2024

Hi Charlie,

The kmer partitioning is not used to discriminate the samples but to make the kmer counting step faster. Kmers are distributed to P different files according to a given hash function, and then the kmers of each file can be counted independently and more rapidly. The distribution of kmers (given by the hash function) has no biological or statistical meaning and is just a trick to divide the problem and count the kmers faster. Therefore, I do not think that recovering kmers of each partition will answer your question.

However, Simka is the good tool if you want to cluster or discriminate your samples. It computes distances between all pairs of samples based on the kmer counts, and you can surely cluster samples based on these distances. Simka was actually developped for this objective. In fact, in the scripts/visualization directory, you will find python and R scripts to perform PCA and sample classification based on the distance matrices output by simka. Note that you can also run simka directly on your raw fastq datasets (instead of assemblies).

If you still need to recover kmer sequences, for instance recovering subsets of kmers according to their presence/absence in some datasets, you may have a look at the software DSK : http://github.com/GATB/dsk and its option -solidity-custom.

from simka.

ctseto avatar ctseto commented on August 16, 2024

Dr. Lemaitre,
Thanks for your help! Have some supplemental questions in re DSK, which I'll instead ask at the dsk repo.
~Charlie

from simka.

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.