Hi,
This was very useful, I'm trying to do something a little different.
A friend helped me join my R1 and R2 files using multiple_joint_ends and created for me files per sample called: 1_R1_join.fastq.
I renamed the files according to the casava format as: 1_01_L001_R1_001.fastq and saved all the files in the same folder called casava.
Is casava only for non-joint files?
I´m not sure what´s wrong:
(qiime2) MacBook-Pro-de-Malena-2:FirstHS mae$ qiime tools import --type 'SampleData[SequencesWithQuality]' --input-path casava --source-format CasavaOneEightSingleLanePerSampleDirFmt --output-path demux.qza
Traceback (most recent call last):
File "/Users/mae/Desktop/Shell/ENTER/envs/qiime2/bin/qiime", line 6, in <module>
sys.exit(q2cli.__main__.qiime())
File "/Users/mae/Desktop/Shell/ENTER/envs/qiime2/lib/python3.5/site-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/Users/mae/Desktop/Shell/ENTER/envs/qiime2/lib/python3.5/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/Users/mae/Desktop/Shell/ENTER/envs/qiime2/lib/python3.5/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/mae/Desktop/Shell/ENTER/envs/qiime2/lib/python3.5/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/mae/Desktop/Shell/ENTER/envs/qiime2/lib/python3.5/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/mae/Desktop/Shell/ENTER/envs/qiime2/lib/python3.5/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/Users/mae/Desktop/Shell/ENTER/envs/qiime2/lib/python3.5/site-packages/q2cli-0.0.6-py3.5.egg/q2cli/tools.py", line 62, in import_data
File "/Users/mae/Desktop/Shell/ENTER/envs/qiime2/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/sdk/result.py", line 191, in import_data
return cls._from_view(type_, view, view_type, provenance_capture)
File "/Users/mae/Desktop/Shell/ENTER/envs/qiime2/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/sdk/result.py", line 216, in _from_view
result = transformation(view)
File "/Users/mae/Desktop/Shell/ENTER/envs/qiime2/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/core/transform.py", line 57, in transformation
self.validate(view)
File "/Users/mae/Desktop/Shell/ENTER/envs/qiime2/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/core/transform.py", line 114, in validate
view.validate()
File "/Users/mae/Desktop/Shell/ENTER/envs/qiime2/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/plugin/model/directory_format.py", line 168, in validate
getattr(self, field)._validate_members(collected_paths)
File "/Users/mae/Desktop/Shell/ENTER/envs/qiime2/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/plugin/model/directory_format.py", line 104, in _validate_members
self.pathspec))
ValueError: Missing one or more files for CasavaOneEightSingleLanePerSampleDirFmt: '.+_.+_L[0-9][0-9][0-9]_R[12]_001\\.fastq\\.gz'
Thanks for your help!