Still can't import SILVA 132 .fna file into QIIME2

I am fairly new to qiime. I am at the step of taxonomy classification with blast. I know that first I need to import the sequences from silva.

I looked on the forum and saw a similar issue:

#ran this first just to make sure all letters were capitalized as recommended in other post
cat silva132_99.fna | tr ‘acgt’ ‘ACGT’ > seqs.fna

I followed the instructions and ran the following code:
qiime tools import
--type 'FeatureData[Sequences]'
--input-path /path/silva_132_99_16S.fna
--output-path /path/silva_132_99_16S.qza

File used is located in ./Silva_132_release\SILVA_132_QIIME_release\rep_set\rep_set_16S_only\99\silva_132_99_16S.fna

After, I receive the following error for both FeatureData[Sequences] and SampleData[Sequences].

'TypeError: Semantic type FeatureData[Sequences] does not have a compatible directory format.

An unexpected error has occurred:

Semantic type FeatureData[Sequences] does not have a compatible directory format.'

This error occurs whether or not I include the file name in the --input-path option.

I was able to upload the taxonomy data using the code below with no issue:
qiime tools import
--type 'FeatureData[Taxonomy]'
--input-format HeaderlessTSVTaxonomyFormat
--input-path /path/majority_taxonomy_7_levels.txt
--output-path majority_taxonomy_7_levels.qza

I was also able to upload my sequence data without issue. What am I doing wrong?

Thank you!

Welcome to the forum @kchambers58178!

This should be FeatureData[Sequence], not FeatureData[Sequences]

Let me know if that fixes this!

Well, that is embarrassing, but yes, that was the problem. Thank you so much!!!

2 Likes

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