# Why .nwk file showed as .txt file in galaxy

**URL:** https://help.galaxyproject.org/t/why-nwk-file-showed-as-txt-file-in-galaxy/16568
**Category:** usegalaxy.eu support
**Tags:** upload, tool-help, codeml
**Created:** [December 12, 2025, 4:42am UTC](https://help.galaxyproject.org/t/why-nwk-file-showed-as-txt-file-in-galaxy/16568 "2025-12-12T04:42:24Z")
**Posts on this page:** 1
**Showing post:** 3

<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: [December 12, 2025, 6:14pm UTC](https://help.galaxyproject.org/t/why-nwk-file-showed-as-txt-file-in-galaxy/16568/3 "2025-12-12T18:14:10Z")

</div>

Hi @jinglin

Glad you discovered how to adjust the datatype, and thanks for posting back the solution!

I’m going to post some FAQs for anyone else who find this topic with a search.

> [@Minimap2 accepted formats](https://help.galaxyproject.org/t/minimap2-accepted-formats/16466/2):
>
> ### What to do
> 
> You can update the metadata directly or auto-detect it again.
> 
> - Single dataset → [FAQ: Changing the datatype](https://galaxyproject.github.io/training-material/faqs/galaxy/datasets_change_datatype.html) && [FAQ: Detecting the datatype (file format)](https://galaxyproject.github.io/training-material/faqs/galaxy/datasets_detect_datatype.html)
> - Collection batches → [FAQ: Changing the datatype of a collection](https://galaxyproject.github.io/training-material/faqs/galaxy/collections_change_datatype.html)

Galaxy will try to detect the exact datatype but sometimes the overlap in content between many file types makes that difficult. In those cases, a more generic type is the fall back. And while a wrong “guess” can also indicate a format issue .. that isn’t always true of course! Directly reassigning is the solution. 🙂

---

_[View the full topic](https://help.galaxyproject.org/t/why-nwk-file-showed-as-txt-file-in-galaxy/16568)._
