Comments (4)
Hi Charlie, I believe the question would need to be a bit more detailed..
from simka.
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.
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.
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)
- Job does not end HOT 8
- Issues during linking stage HOT 4
- Issue with test_simkaMin.py HOT 2
- Test regression on Arm64 (Debian Med)
- .fastq.gz support HOT 1
- run for multiple samples on different node on super computer
- SimkaMin output file symmetry HOT 2
- simka crashes with empty files HOT 1
- Can't open object can't open my reads HOT 6
- Add option to trim all reads to a given length HOT 1
- test scripts hang with high cores count
- -max-reads 0
- Several plist problems: It installs the third party executable 'h5cc', etc.
- Include <hdf5/hdf5.h> is wrong, hdf5.h is installed into ${PREFIX}/include/hdf5.h
- Installs hdf headers
- simple test stuck HOT 1
- convert output matrix to triangular format in R HOT 1
- multifasta file as input HOT 1
- Simka k-mers frequencies table HOT 2
- Paired reads input file outputting duplicate rows HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simka.