# Want to retrieve all bacterial sequences from whole genome

**URL:** <https://help.galaxyproject.org/t/want-to-retrieve-all-bacterial-sequences-from-whole-genome/13658>\
**Category:** Uncategorized\
**Tags:** gtn-tutorial\
**Created:** [October 11, 2024, 6:34pm UTC](https://help.galaxyproject.org/t/want-to-retrieve-all-bacterial-sequences-from-whole-genome/13658 "2024-10-11T18:34:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![santatra](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@santatra](https://help.galaxyproject.org/u/santatra)\
**Post date:** [October 11, 2024, 6:34pm UTC](https://help.galaxyproject.org/t/want-to-retrieve-all-bacterial-sequences-from-whole-genome/13658/1 "2024-10-11T18:34:19Z")

</div>

Hi all,

I would like to retrieve all bacteria sequences from whole genome. All I have is an assembled fasta file (contigs but not yet a long sequence genome). How could I retrieve the bacterial sequence from the contigs data I have?

Thanks  
Santatra

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [October 11, 2024, 7:52pm UTC](https://help.galaxyproject.org/t/want-to-retrieve-all-bacterial-sequences-from-whole-genome/13658/2 "2024-10-11T19:52:32Z")

</div>

Welcome, @santatra

I’m not sure if I have understood your question completely but you can clarify more about what you would like to do. Could you explain a bit more about your goals?

Meanwhile, I can share some analysis protocols through tutorials that may help to frame the kinds of questions we can answer here.

If you are completely new to Galaxy, this is a good place to start.

- [Get Started - Galaxy Community Hub](https://galaxyproject.org/get-started/)

Then, this tutorial is an example of a bacterial genome assembly. It involves WGS and ONT reads.

- [Hands-on: Unicycler Assembly / Unicycler Assembly / Assembly](https://training.galaxyproject.org/training-material/topics/assembly/tutorials/unicycler-assembly/tutorial.html)

You can find more tutorials using keywords or by navigating the training site directly.

- Prokaryote → [GTN Materials Search](https://training.galaxyproject.org/training-material/search2?query=prokaryote)
- Assembly → [Assembly / Tutorial List](https://training.galaxyproject.org/training-material/topics/assembly/)
- Microbiome → [Microbiome / Tutorial List](https://training.galaxyproject.org/training-material/topics/microbiome/)

Hope this helps! 🙂

---

<div class="post-metadata">

**Author:** ![santatra](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@santatra](https://help.galaxyproject.org/u/santatra)\
**Post date:** [October 11, 2024, 10:14pm UTC](https://help.galaxyproject.org/t/want-to-retrieve-all-bacterial-sequences-from-whole-genome/13658/3 "2024-10-11T22:14:01Z")

</div>

Hi @jennaj,

Thank you for your response.

I would like to know the bacterial community of my sample. However, my data (shot gun metagenomics reads) is still contigs (more than 50 contigs for each sample, and in fasta file). Do I need to assemble these contigs and transform into scaffolding before running the microbiome analysis or can I retrieve all bacteria from these contigs reads directly?

Thank you

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [October 11, 2024, 10:27pm UTC](https://help.galaxyproject.org/t/want-to-retrieve-all-bacterial-sequences-from-whole-genome/13658/4 "2024-10-11T22:27:15Z")

</div>

Hi @santatra

There are a few tools you can use for metagenomic profiling. See that same training site for examples and the different tools you can try.

But in short, **Kraken2** is usually a good choice for WGS reads. For amplicon, there is **Mothur**. Both are covered in the examples – along with all the other little steps – data preparation, assembly (if any), then result interpretation with graph generation.
