Trouble with importing, no such option --input-format

Hello! I am following the steps provide in the Tutorial.
For casava-18 files, I have the following error:

Error: no such option: --input-format

qiime tools import \
  --type 'SampleData[SequencesWithQuality]' \
  --input-path casava-18-single-end-demultiplexed \
  --input-format CasavaOneEightSingleLanePerSampleDirFmt \
  --output-path demux-single-end.qza

I am not sure what am I doing wrong.

Thanks!!

1 Like

Welcome to the forum, @snieva! :tada:
Thanks for including your command in your post. Is that an exact copy/paste? You’ve probably already considered this, but your error could easily be caused by a typo.

Assuming that’s not the situation, please post the complete error message and traceback so we can dig into it. :mag::male_detective: The code-block formatting I added to your post may help make it more readable.

Thanks!
Chris

1 Like

One small thing that occured to me, what version of QIIME 2 are you running? This import API did change in the last year, it’s possible your deployment expects --source-format (which makes much less sense than input-format and input-path, hence the change).

3 Likes

Dear Evan
You are agree. I am using the 2018.6 version. It was the problem.

Thanks!!!

2 Likes

Thanks Chris!!
I will take your advice for my future posts (probably many of them, because I am old user of QIIME 1 and I am currently in the transition to QIIME 2 :slightly_smiling_face:).

1 Like

Yay! Hope it’s all smooth sailing from here, @snieva!
CK