Moving Pictures tutorial denoise error on Windows

Hi,

I was working through the moving pictures tutorial and got to the denoising step and ran into an error.

Full disclosure, I am attempting to run this on the windows subsystem for linux and don’t know how that may impact things.

(qiime2) [email protected]:~/qiime2-moving-picture-tutorial$ qiime dada2 denoise --i-demultiplexed-seqs demux.qza --p-trim-left 0 --p-trunc-len 100 --o-representative-sequences rep-seqs --o-table table                                    Traceback (most recent call last):                                                                                        
File "/home/jake/miniconda3/envs/qiime2/bin/qiime", line 6, in <module>                                                   sys.exit(q2cli.__main__.qiime())                                                                                      
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/site-packages/click/core.py", line 722, in __call__                 
return self.main(*args, **kwargs)                                                                                     
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/site-packages/click/core.py", line 697, in main                     
rv = self.invoke(ctx)                                                                                                 
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/site-packages/click/core.py", line 1066, in invoke                  
return _process_result(sub_ctx.command.invoke(sub_ctx))                                                               
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/site-packages/click/core.py", line 1066, in invoke                  
return _process_result(sub_ctx.command.invoke(sub_ctx))                                                               
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/site-packages/click/core.py", line 895, in invoke                   
return ctx.invoke(self.callback, **ctx.params)                                                                        
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/site-packages/click/core.py", line 535, in invoke                   
return callback(*args, **kwargs)                                                                                      
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/site-packages/q2cli-0.0.6-py3.5.egg/q2cli/commands.py", line 210, in __call__                                                                                                             
File "<decorator-gen-135>", line 2, in denoise                                                                          
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/core/callable.py", line 227, in callable_wrapper                                                                                                  
output_types, provenance)                                                                                             
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/core/callable.py", line 352, in _callable_executor_                                                                                               
semantic_type, output_view, view_type, provenance.fork())                                                             
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/sdk/result.py", line 222, in _from_view                                                                                                           provenance_capture=provenance_capture)                                                                                
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/core/archive/archiver.py", line 311, in from_data                                                                                                 Format.write(rec, type, format, data_initializer, provenance_capture)                                                 
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/core/archive/format/v1.py", line 18, in write                                                                                                     super().write(archive_record, type, format, data_initializer)                                                         
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/core/archive/format/v0.py", line 62, in write                                                                                                     data_initializer(data_dir)                                                                                            
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/core/path.py", line 35, in _move_or_copy                                                                                                          
return _ConcretePath.rename(self, other)                                                                              
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/pathlib.py", line 1279, in rename                                   self._accessor.rename(self, target)                                                                                   
File "/home/jake/miniconda3/envs/qiime2/lib/python3.5/pathlib.py", line 377, in wrapped                                   
return strfunc(str(pathobjA), str(pathobjB), *args)                                                                 
PermissionError: [Errno 13] Permission denied: '/tmp/q2-BIOMV210DirFmt-ix2cyn00' -> '/tmp/qiime2-archive-74wst47w/6c57d25f-b249-43ea-bae3-9ef3b74031c8/data'

Hi @jbarlow, thanks for getting in touch. Unfortunately we don’t current support native Windows installations (there is a note on the install doc about the current status of Windows support). We are hoping to explore this a bit more in the future. For now you have a few options: you can run QIIME 2 via Docker, or you can use a pre-built linux VM. If you are interested in helping out with Windows support, we would love to chat a bit more, feel free to DM one of the admins. Thanks!

1 Like

An off-topic reply has been split into a new topic: Linux Subsystem on Windows Support?

Please keep replies on-topic in the future.