Need help importing a manifest format

Hi Sir,

Even I was looking for this answer for importing the demultiplexed raw reads. I have prepared the manifest file as shown in importing tutorial for my samples and was ready to import the file using the command for paired end data as shown below:

qiime tools import
–type ‘SampleData[PairedEndSequencesWithQuality]’
–input-path pe-64-manifest
–output-path paired-end-demux.qza
–input-format PairedEndFastqManifestPhred64V2

while running this command, I’m running with errors:

Traceback (most recent call last):
File “/home/mayil/miniconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/sdk/”, line 91, in parse_format
format_record = pm.formats[format_str]
KeyError: ‘PairedEndFastqManifestPhred64V2’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/mayil/miniconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/q2cli/”, line 146, in import_data
File “/home/mayil/miniconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/sdk/”, line 206, in import_data
view_type = qiime2.sdk.parse_format(view_type)
File “/home/mayil/miniconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/sdk/”, line 93, in parse_format
raise TypeError(“No format: %s” % format_str)
TypeError: No format: PairedEndFastqManifestPhred64V2

I may not be able to understand, but how the above command will import the R1 and R2 data for the four samples (total 8) and how is it using the manifest file which I have created for importing? I do not see them being used in the above command for analysis.

Kindly suggest.

Hey there @ashish02!

This error is because of this:

You are running an old version of QIIME 2, which does not contain that format. You can either stay with that version of QIIME 2, but use the PairedEndFastqManifestPhred64, or, upgrade to the latest release of QIIME 2.

1 Like

Thank you so much Sir for the information. I have updated the version to 2019.7 and got the result as mentioned in the tutorial.
But I’m not being able to import my data. I have also seen the queries earlier shared on QIIME2 forum and came to know that I have to prepare my manifest file in .csv format. In addition to it, I have also used the manifest file in .tsv format as mentioned in tutorial. I have followed the command as shown below:

$ qiime tools import --type ‘SampleData[SequencesWithQuality]’ --input-path manifest.csv --output-path paired-end-demux.qza --input-format PairedEndFastqManifestPhred64V2

After running the command I’m getting the following error:

Traceback (most recent call last):
File “/home/mayil/miniconda3/envs/qiime2-2019.7/lib/python3.6/site-packages/q2cli/builtin/”, line 154, in import_data
File “/home/mayil/miniconda3/envs/qiime2-2019.7/lib/python3.6/site-packages/qiime2/sdk/”, line 241, in import_data
File “/home/mayil/miniconda3/envs/qiime2-2019.7/lib/python3.6/site-packages/qiime2/sdk/”, line 266, in _from_view
File “/home/mayil/miniconda3/envs/qiime2-2019.7/lib/python3.6/site-packages/qiime2/core/”, line 59, in make_transformation
(self._view_type, other._view_type))
Exception: No transformation from <class ‘q2_types.per_sample_sequences._format.PairedEndFastqManifestPhred64V2’> to <class ‘q2_types.per_sample_sequences._format.SingleLanePerSampleSingleEndFastqDirFmt’>

An unexpected error has occurred:

No transformation from <class ‘q2_types.per_sample_sequences._format.PairedEndFastqManifestPhred64V2’> to <class ‘q2_types.per_sample_sequences._format.SingleLanePerSampleSingleEndFastqDirFmt’>

See above for debug info.

My manifest.csv file looks like as follows:


Kindly let me know how I can solve this issue. Many thanks in advance.

Hi @ashish02! You are combing a few incompatible elements here, let's try and untangle:

Here you are attempting to import a paired-end format as a single-ended semantic type. Please update the --type to SampleData[PairedEndSequencesWithQuality].

The you are specifying the TSV format as the format above (V2), but using the CSV. This manifest should be a TSV (tab-seperated).

Not related to your current problems, but, do you really have Phred 64 reads? We generally only see those on relatively old sequencing product...

Keep us posted! :qiime2: :t_rex:

Thank you Sir for the reply. After updating my command I am again running with error message as mentioned below.:


$ qiime tools import --type ‘SampleData[PairedEndSequencesWithQuality]’ --input-path final_manifest.tsv --output-path paired-end-demux.qza --input-format PairedEndFastqManifestPhred33V2

Error message:

There was a problem importing final_manifest.tsv:

final_manifest.tsv is not a(n) PairedEndFastqManifestPhred33V2 file:

Filepath on line 1 and column “forward-absolute-filepath” could not be found ($home/mayil/training/qiime2-2019.7/reads/SA_R1.fastq) for sample “SA”.


My final_manifest file looks like as (I am copying it from txt file, but have used it in tsv format in the above command). I have also validated it at Keemei google spreadsheet and it was found to be fine.

sample-id forward-absolute-filepath reverse-absolute-filepath
SA $home/mayil/training/qiime2-2019.7/reads/SA_R1.fastq $home/mayil/training/qiime2-2019.7/reads/SA_R2.fastq
SAOS $home/mayil/training/qiime2-2019.7/reads/SAOS_R1.fastq $home/mayil/training/qiime2-2019.7/reads/SAOS_R2.fastq
OG $home/mayil/training/qiime2-2019.7/reads/OG_R1.fastq $home/mayil/training/qiime2-2019.7/reads/OG_R2.fastq
DI $home/mayil/training/qiime2-2019.7/reads/DI_R1.fastq $home/mayil/training/qiime2-2019.7/reads/DI_R2.fastq

I have stored the raw reads under “reads” folder as (SA_R1.fastq-------DI_R2.fastq; a total of 8 demultiplexed R1 and R2 reads). Please suggest.

Good afternoon,

I’m glad you got this file to validate. You are so close! I think there is only one more thing you need to fix.

When says absolute-filepath, this means you need to use the path starting from root, not from $home. So for example, this would work:
/Users/myaccount/data/training/qiime2-2019.7/reads/SA_R1.fastq :slight_smile:
but this would not
$home/data/training/qiime2-2019.7/reads/SA_R1.fastq :frowning_face:

Notice how I start from the root directory with a / slash / to make this work.

Once you replace $home with the absolute file path, your manifest file should work great.


P.S. You can find the absolute-filepath of your home directory by typing
echo $home
pwd ~

1 Like

Thank you so much Sir. It really worked.:slightly_smiling_face::slightly_smiling_face:

1 Like

An off-topic reply has been split into a new topic: manifest import trouble: file cannot be found

Please keep replies on-topic in the future.