-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hi, I would like to analyze my shallow shotgun metagenomics data according to the OGU method, https://journals.asm.org/doi/10.1128/msystems.00167-22
The recommended aligner is Shogun, especially I assume when using shallow data.
However I have issues running it:
shogun align
-i combined_seqs.fna
-a bowtie2
-d /srv/beegfs/scratch/users/p/parkr/Classifiers/WoL_Globus_full/databases/shogun
-o shogun_wol_align
I get error:
Traceback (most recent call last):
File "/var/spool/slurmd/job13597238/slurm_script", line 8, in
sys.exit(cli())
File "/opt/ebsofts/QIIME2/2021.8/lib/python3.8/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/opt/ebsofts/QIIME2/2021.8/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/opt/ebsofts/QIIME2/2021.8/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/ebsofts/QIIME2/2021.8/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/ebsofts/QIIME2/2021.8/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/opt/ebsofts/QIIME2/2021.8/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/users/p/parkr/.local/lib/python3.8/site-packages/shogun/main.py", line 78, in align
aligner_cl.align(input, output)
File "/home/users/p/parkr/.local/lib/python3.8/site-packages/shogun/aligners/bowtie2_aligner.py", line 32, in align
proc, out, err = bowtie2_align(infile, outfile, self.prefix,
File "/home/users/p/parkr/.local/lib/python3.8/site-packages/shogun/wrappers/bowtie2_wrapper.py", line 39, in bowtie2_align
return run_command(cmd, shell=shell)
File "/home/users/p/parkr/.local/lib/python3.8/site-packages/shogun/utils/_utils.py", line 54, in run_command
with subprocess.Popen(
File "/opt/ebsofts/QIIME2/2021.8/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/opt/ebsofts/QIIME2/2021.8/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'bowtie2'
If I don't provide -a , to use burst, then I get error :
FileNotFoundError: [Errno 2] No such file or directory: 'burst15'
Whe I give it the directory bowtie2 from WoL database:
I get error:
Error: Invalid value for '-a' / '--aligner': invalid choice: /srv/beegfs/scratch/users/p/parkr/Classifiers/WoL_Globus_full/databases/bowtie2. (choose from all, bowtie2, burst, utree)
In the WoL_Globus_full folder there are these folders/files:

When I copied the content of bowtie2 folder to the shogun folder, it didn't work either.
The pre-built WoL databases were downloaded from Globus ( https://biocore.github.io/wol/download )
Could you guide me how to make it work?
Thank you in advance!!