Qiime Tools Imporiting (Casava 18 does not exist?)

Hello!

I am attempting to import some data into QIIME2 after the new update (2023.5) via conda! My paired-end samples should be imported using the Casava 1.8 paired-end demultiplexed fastq (two files for every sample). However, when I run it, I get the following error message.

INPUT: qiime tools import --type 'SampleData[PairedEndSequencesWithQuality]' --input-path casava-18-paired-end-demultiplexed --input-format CasavaOneEightSingleLanePerSampleDirFmt --output-path demux-paired-end.qza

OUTPUT: (1/1) Invalid value for '--input-path': Path 'casava-18-paired-end-
demultiplexed' does not exist.

The only other change I made prior to looking through my data was an xrun error after updating my MacOS.

OUTPUT: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

WHAT I DID: xcode-select --install

I'm not sure if the two are related, but thought I'd add it in just in case. Thank you!

Hello @zahra. This error means there is no file called "casava-18-paired-end-demultiplexed" in the directory you are trying to run the command in. Make sure you are running the command in the correct directory and make sure you spelled the name of the file correctly. Thank you.

1 Like

Hello @Oddant1 ! I'm so sorry as I'm relatively still new to QIIME2. When you say directory, do you mean current directory I am working in? QIIME2 itself is in my parent directory, and when I work off of the importing tutorial in the same location as my data (a folder in desktop), the code works for the tutorial but not my own data.

Desktop % cd 01_data

01_data % unzip -q casava-18-paired-end-demultiplexed.zip

01_data % qiime tools import --type 'SampleData[PairedEndSequencesWithQuality]' --input-path casava-18-paired-end-demultiplexed --input-format CasavaOneEightSingleLanePerSampleDirFmt --output-path demux-paired-end.qza

Imported casava-18-paired-end-demultiplexed as CasavaOneEightSingleLanePerSampleDirFmt to demux-paired-end.qza

01_data % cd ..

Desktop % cd 2022_Data/01_data

01_data % qiime tools import --type 'SampleData[PairedEndSequencesWithQuality]' --input-path casava-18-paired-end-demultiplexed --input-format CasavaOneEightSingleLanePerSampleDirFmt --output-path demux-paired-end.qza

(1/1) Invalid value for '--input-path': Path 'casava-18-paired-end-
demultiplexed' does not exist.

Perhaps a better question would also be, where can I find casava-18 itself? Thank you!

It looks like you are doing the tutorial in the ~/Desktop/01_data directory and your own data is in the ~/Desktop/2022_Data/01_data directory.

The --input-path argument takes a path to a file on your computer. A file with the name casava-18-paired-end-demultiplexed exists in your tutorial directory because it is part of the tutorial data you downloaded. The name casava-18-paired-end-demultiplexed is not set in stone, you need to replace this with the path to the data you are trying to import.

It looks like a file with the name casava-18-paired-end-demultiplexed does not exist in your own data. You most likely have a file with a different name in your data that you need to import. If you run the command ls while in the directory that contains your own data, it will show the names of all of the files in that directory. You will need to use one of them in place of casava-18-paired-end-demultiplexed when importing your own data.

1 Like

Ah, I see now. I completely missed that the casava-18-paired-end-demultiplexed is referring to the directory/folder containing the sequences and had assumed it was the program that was missing itself. Thank you so much!

2 Likes

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