Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How get sequences of specific bacteria from fastq metagenome using sourmash? #2566

Closed
marsfro opened this issue Apr 12, 2023 · 3 comments · Fixed by #2184
Closed

How get sequences of specific bacteria from fastq metagenome using sourmash? #2566

marsfro opened this issue Apr 12, 2023 · 3 comments · Fixed by #2184
Labels
faq things to add to an FAQ or docs

Comments

@marsfro
Copy link

marsfro commented Apr 12, 2023

Hello everyone!
I got taxonomy by sourmash gather, table with md5 hash numbers
How I could use it to extract specific reads (not contigs) of one Species (or Strain) from metagenome fastq file by sourmash?
Or might there are another ways?

Maria

@ctb
Copy link
Contributor

ctb commented Apr 12, 2023

hi @marsfro, please see the conversation here! #2535

The real answer is "map the reads to the genomes identified by sourmash", which you can do yourself or you can employ genome-grist to do.

I hope that helps!

@marsfro
Copy link
Author

marsfro commented Apr 12, 2023

Thank you!

@ctb ctb added the faq things to add to an FAQ or docs label Apr 12, 2023
@ctb
Copy link
Contributor

ctb commented Sep 30, 2023

Added to #2184 in e828ff9:

How do I get the sequences for a particular reference genome from a metagenome, using sourmash?

If sourmash reports that a particular strain or genome is present in a
metagenome, how do you retrieve the reads using sourmash?

The short answer is: you have to use a different tool. You can do
read mapping between the metagenome and the relevant reference genome
(which can be automated with
the genome-grist workflow;
or, if you are interested in retrieving accessory elements, you can
try out
spacegraphcats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
faq things to add to an FAQ or docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants