<p>Please try searching online before asking for help. A simple <code>cat</code> will do the trick here:</p>
<pre><code>cat TK273759.fasta[a-z][a-z] &gt; TK273759.fasta
</code></pre>

CC BY-SA 4.0
2024-01-22T16:55:00.347Z
Thank you for your help!
Sufia Akter Neha
CC BY-SA 4.0
2024-01-22T17:01:57.753Z
Please accept the answer to provide closure to the post.
Ram RS
CC BY-SA 4.0
2024-01-22T16:44:50.210Z
2024-01-22T16:44:50.210Z
Ram RS
<p>I have several splitted fasta files like this:</p>
<pre><code>TK273759.fastaaa
TK273759.fastaab
TK273759.fastaac
TK273759.fastaad
TK273759.fastaae
</code></pre>
<p>I want to concatenate these fasta files into one file like this:</p>
<pre><code>TK273759.fasta
</code></pre>
<p>What command should I use to make this happen? I appreciate your help.</p>

CC BY-SA 4.0
2024-01-22T19:04:08.777Z
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
Community
<genome><bash>
Concatenate multiple fasta files into individual files per unique entry
# Concatenate multiple fasta files into individual files per unique entry

(Asked by: username_0 on 2024-01-22)

I have several splitted fasta files like this:
TK273759.fastaaa
TK273759.fastaab
TK273759.fastaac
TK273759.fastaad
TK273759.fastaae

I want to concatenate these fasta files into one file like this:
TK273759.fasta

What command should I use to make this happen? I appreciate your help.

**Tags:** genome, bash
> **Comments:**
> **username_1**: Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.  

---

## 1 answers

### Answer by username_2 on 2024-01-22. Score: 0 | Accepted answer

Please try searching online before asking for help. A simple cat will do the trick here:
cat TK273759.fasta[a-z][a-z] > TK273759.fasta

> **Comments:**
> **username_0**: Thank you for your help!  
> **username_2**: Please accept the answer to provide closure to the post.  

---

