# About OTU clustering of fasta files

**URL:** <https://forum.qiime2.org/t/about-otu-clustering-of-fasta-files/26255>\
**Category:** Technical Support\
**Tags:** fasta, otus\
**Created:** [April 27, 2023, 1:45am UTC](https://forum.qiime2.org/t/about-otu-clustering-of-fasta-files/26255 "2023-04-27T01:45:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sooni](https://forum.qiime2.org/user_avatar/forum.qiime2.org/sooni/32/15642_2.png) [@sooni](https://forum.qiime2.org/u/sooni)\
**Post date:** [April 27, 2023, 1:45am UTC](https://forum.qiime2.org/t/about-otu-clustering-of-fasta-files/26255/1 "2023-04-27T01:45:05Z")

</div>

I am a beginner using QIIME2 for the first time.  
I am trying to analyze 'GSE162844([Checking your browser - reCAPTCHA](https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE162844))' data.  
I want to do otu clustering of fasta files, what should I do?

First of all, I'm trying to make a fasta file into a qza file.

Here is my code.

```auto
qiime tools import \
--type 'FeatureData[Sequence]' \
--input-path GSE162844_otus.fasta \
--output-path GSE162844_otus.qza

```

When I run this code, I get an error like the picture below. How can I solve it?

 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/d/d559790b5cdcfc0f4541eeed2768f51c610514b7.png)

Please help me.

---

<div class="post-metadata">

**Author:** ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)\
**Post date:** [April 27, 2023, 6:32am UTC](https://forum.qiime2.org/t/about-otu-clustering-of-fasta-files/26255/2 "2023-04-27T06:32:29Z")

</div>

Hi @sooni ,

The error indicates that the file contains invalid lowercase characters. You could convert these to uppercase to continue, but there could be other issues with the file if you are trying to use data that have already been processed.

I would recommend starting with the raw data. The raw data for this study appear to be deposited on SRA:

> **[16S V3-V4 -based microbial profiling of matched he... (ID 683584) -...](https://www.ncbi.nlm.nih.gov/bioproject/?term=PRJNA683584)**
>
> A BioProject is a collection of biological data related to a single initiative, originating from a single organization or from a consortium. A BioProject record provides users a single place to find links to the diverse data types generated for that...

so you could download and automatically format the data from there using the QIIME 2 plugin q2-fondue:

> [@q2-fondue: Plugin for (meta)data retrieval from SRA](https://forum.qiime2.org/t/q2-fondue-plugin-for-meta-data-retrieval-from-sra/22595):
>
> q2-fondue: (meta)data retrieval from SRA made simple Hello QIIMErs! On behalf of the Bokulich Lab team I would like to present to you our brand new plugin: q2-fondue (Functions for reproducibly Obtaining and Normalizing Data re-Used from Elsewhere)! fondue q2-fondue allows you to grab any sequence data from the Sequence Read Archive (SRA) and corresponding metadata, given a list of SRA run accession IDs or BioProject IDs. Naturally, the resulting artifacts can then be directly plugged into a…

This might be an easier approach, as you could then also follow the QIIME 2 tutorials from the start instead of figuring out the entry point for starting with FASTA data.

Good luck!

---

<div class="post-metadata">

**Author:** ![sooni](https://forum.qiime2.org/user_avatar/forum.qiime2.org/sooni/32/15642_2.png) [@sooni](https://forum.qiime2.org/u/sooni)\
**Post date:** [April 27, 2023, 9:24am UTC](https://forum.qiime2.org/t/about-otu-clustering-of-fasta-files/26255/3 "2023-04-27T09:24:46Z")

</div>

Thank you for your help.

When using 'fondue', may I enter GSE number in 'NCBIAccessionIDs'?  
And in the tutorial code, what should I put in the 'metadata\_file\_runs.tsv' part instead? The only files I can get from GSE162844 are the taxonomy file and the fasta file.  
I'm just starting bioinformatics analysis, so I think I'm asking a very basic question, but I'm curious about this part. Please, reply.

---

<div class="post-metadata">

**Author:** ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)\
**Post date:** [April 27, 2023, 9:29am UTC](https://forum.qiime2.org/t/about-otu-clustering-of-fasta-files/26255/4 "2023-04-27T09:29:05Z")

</div>

No, you cannot use the GSE number, you must use an SRA accession number (see the BioProject entry that I shared, this should work)

> [@sooni](#):
>
> what should I put in the 'metadata\_file\_runs.tsv' part instead?

Download and open the file in the tutorial to see how the contents are formatted. This is basically just a list of the project IDs that you want to download (in this case only one ID).

Good luck!

---

<div class="post-metadata">

**Author:** ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)\
**Post date:** [May 28, 2023, 3:29pm UTC](https://forum.qiime2.org/t/about-otu-clustering-of-fasta-files/26255/5 "2023-05-28T15:29:17Z")

</div>

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
