# Importing sequence files (.fna) files

**URL:** https://forum.qiime2.org/t/importing-sequence-files-fna-files/17903
**Category:** Technical Support
**Created:** [December 29, 2020, 4:22pm UTC](https://forum.qiime2.org/t/importing-sequence-files-fna-files/17903 "2020-12-29T16:22:14Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![divyaprince321](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@divyaprince321](https://forum.qiime2.org/u/divyaprince321)
#### Post date: [December 29, 2020, 4:22pm UTC](https://forum.qiime2.org/t/importing-sequence-files-fna-files/17903/1 "2020-12-29T16:22:14Z")

</div>

Thanks Sir  
Sorry to disturb again, I am in an emergency for my analysis.  
Please help out  
I am running the command qiime tools import \ --input-path qiime2-importing-tutorial/ combined\_seqs.fna \ --output-path combined\_seqs.qza --type ' DeMultiplexedSequences'.  
However i am facing command error  
Please help me out

---

<div class="post-metadata">

### Author: ![Mehrbod\_Estaki](https://forum.qiime2.org/user_avatar/forum.qiime2.org/mehrbod_estaki/32/4001_2.png) [@Mehrbod\_Estaki](https://forum.qiime2.org/u/Mehrbod_Estaki)
#### Post date: [December 29, 2020, 10:18pm UTC](https://forum.qiime2.org/t/importing-sequence-files-fna-files/17903/2 "2020-12-29T22:18:06Z")

</div>



---

<div class="post-metadata">

### Author: ![Mehrbod\_Estaki](https://forum.qiime2.org/user_avatar/forum.qiime2.org/mehrbod_estaki/32/4001_2.png) [@Mehrbod\_Estaki](https://forum.qiime2.org/u/Mehrbod_Estaki)
#### Post date: [December 29, 2020, 10:21pm UTC](https://forum.qiime2.org/t/importing-sequence-files-fna-files/17903/3 "2020-12-29T22:21:43Z")

</div>

Hi @divyaprince321,  
I've made this PM public as the answers may help other users in the future who might have the same inquiry.  
Have you seen the importing tutorial yet? If not, [this section](https://docs.qiime2.org/2020.11/tutorials/importing/#per-feature-unaligned-sequence-data-i-e-representative-fasta-sequences) on importing .fna files seems especiallly relevant to what you are trying to do, pay close attention to the `--type` parameter there compared to what you have here.

In the future, providing us with the actual error will also be necessary to troubleshoot further. Good luck!

---

<div class="post-metadata">

### Author: ![divyaprince321](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@divyaprince321](https://forum.qiime2.org/u/divyaprince321)
#### Post date: [December 29, 2020, 4:05pm UTC](https://forum.qiime2.org/t/importing-sequence-files-fna-files/17903/4 "2020-12-29T16:05:42Z")

</div>

Hope you are fine and doing good  
However after all the hard work I am done with this command successfully.

Now while importing the data

I am running the command qiime tools import \ --input-path qiime2-importing-tutorial/ combined\_seqs.fna \ --output-path combined\_seqs.qza --type ' DeMultiplexedSequences'.

However i am facing command error

Please help me out

Please help out

---

<div class="post-metadata">

### Author: ![divyaprince321](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@divyaprince321](https://forum.qiime2.org/u/divyaprince321)
#### Post date: [December 29, 2020, 4:53pm UTC](https://forum.qiime2.org/t/importing-sequence-files-fna-files/17903/5 "2020-12-29T16:53:38Z")

</div>

while importing the data

Hello Mam  
Hope you are fine and doing good  
Since I am running the command qiime tools import \ --input-path qiime2-importing-tutorial/ combined\_seqs.fna \ --output-path combined\_seqs.qza --type ' Demultiplexed Sequences'.

However I am facing command error  
One thing important to mention here, I have a combined\_seqs.fna file (creating in qiime 1 using add\_qiime\_labels.py). I am trying to import that file.  
Please help out

---

<div class="post-metadata">

### Author: ![divyaprince321](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@divyaprince321](https://forum.qiime2.org/u/divyaprince321)
#### Post date: [January 5, 2021, 3:34pm UTC](https://forum.qiime2.org/t/importing-sequence-files-fna-files/17903/10 "2021-01-05T15:34:37Z")

</div>

Hello Mam  
While I posted my error many times on the QIIME2 forum but to no response. I am not getting any response from the team members. May be because of their busy schedule.  
However to some cheers I tried each step and finally succeeded.  
But unfortunately I am stuck at otu clustering step.  
I ran the denovo otu command two time  
first time i got plugin vsearch error  
and in the second time I ran it by adding the --verbose flag ( it may be annoying to add this flag)  
Again error but this time a long error saying can not allocate memory.  
I think I might be out of memory besides allocating 10.2gb memory on vbox.  
Now my final request is I need a relative abundance table of the otus and the representative sequence file.  
If I will run closed reference command  
Will I get these two files  
Secondly which file I have to use as reference-sequences in case of picking closed reference otus.  
thanks Mam and Sorry for disturbance

---

<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: [January 6, 2021, 3:39pm UTC](https://forum.qiime2.org/t/importing-sequence-files-fna-files/17903/11 "2021-01-06T15:39:02Z")

</div>

> [@divyaprince321](#):
>
> Again error but this time a long error saying can not allocate memory.  
> I think I might be out of memory besides allocating 10.2gb memory on vbox.

That is correct. You can search the forum archive to see how others have addressed this same error. Unfortunately, allocating more memory to the virtual box and using a more powerful computer may be your only options.

> [@divyaprince321](#):
>
> Now my final request is I need a relative abundance table of the otus and the representative sequence file.  
> If I will run closed reference command  
> Will I get these two files

The help documentation for all QIIME 2 actions details the outputs and their content. E.g., for this action type this into the terminal and hit enter:

```auto
qiime vsearch cluster-features-closed-reference --help

```

Among other details, you will see this:

```auto
Outputs:
  --o-clustered-table ARTIFACT FeatureTable[Frequency]
                          The table following clustering of features.
                                                                    [required]
  --o-clustered-sequences ARTIFACT FeatureData[Sequence]
                          The sequences representing clustered features,
                          relabeled by the reference IDs. [required]
  --o-unmatched-sequences ARTIFACT FeatureData[Sequence]
                          The sequences which failed to match any reference
                          sequences. This output maps to vsearch's
                          --notmatched parameter. [required]

```

> [@divyaprince321](#):
>
> Secondly which file I have to use as reference-sequences in case of picking closed reference otus.

Your reference sequences of choice, imported as a FeatureData[Sequence] artifact. The data resources at [qiime2.org](http://qiime2.org) contain several pre-formatted examples.

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: [February 6, 2021, 9:39pm UTC](https://forum.qiime2.org/t/importing-sequence-files-fna-files/17903/12 "2021-02-06T21:39:04Z")

</div>

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