You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seroba createDBs database 71
Traceback (most recent call last):
File "/home/robert_petit/miniconda3/envs/test-seroba/bin/seroba", line 86, in <module>
args.func(args)
File "/home/robert_petit/miniconda3/envs/test-seroba/lib/python3.8/site-packages/seroba/tasks/createDBs.py", line 10, in run
ref_db.run()
File "/home/robert_petit/miniconda3/envs/test-seroba/lib/python3.8/site-packages/seroba/ref_db_creator.py", line 236, in run
self.meta_dict = self._read_meta_data_tsv(self.meta_data_tsv)
File "/home/robert_petit/miniconda3/envs/test-seroba/lib/python3.8/site-packages/seroba/ref_db_creator.py", line 183, in _read_meta_data_tsv
with open(meta_data_tsv,'r') as fobj:
FileNotFoundError: [Errno 2] No such file or directory: 'database/meta.tsv'
getPneumocat
seroba getPneumocat database
--2022-01-26 02:36:35-- https://github.com/phe-bioinformatics/PneumoCaT/archive/v1.1.tar.gz
Resolving github.com (github.com)... 140.82.113.3
Connecting to github.com (github.com)|140.82.113.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/phe-bioinformatics/PneumoCaT/tar.gz/v1.1 [following]
--2022-01-26 02:36:35-- https://codeload.github.com/phe-bioinformatics/PneumoCaT/tar.gz/v1.1
Resolving codeload.github.com (codeload.github.com)... 140.82.114.9
Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘v1.1.tar.gz’
v1.1.tar.gz [ <=> ] 320.07M 24.1MB/s in 13s
2022-01-26 02:36:48 (24.0 MB/s) - ‘v1.1.tar.gz’ saved [335618305]
Traceback (most recent call last):
File "/home/robert_petit/miniconda3/envs/test-seroba/bin/seroba", line 86, in <module>
args.func(args)
File "/home/robert_petit/miniconda3/envs/test-seroba/lib/python3.8/site-packages/seroba/tasks/getPneumocat.py", line 7, in run
pneumo.run()
File "/home/robert_petit/miniconda3/envs/test-seroba/lib/python3.8/site-packages/seroba/get_pneumocat_data.py", line 105, in run
self._pneumocat_db_2_tsv(self.serogroup_dir,self.out_file)
File "/home/robert_petit/miniconda3/envs/test-seroba/lib/python3.8/site-packages/seroba/get_pneumocat_data.py", line 47, in _pneumocat_db_2_tsv
allele_snp=yaml.load( open( os.path.join(serogroup_dir,subdir,'mutationdb.yml'), "rb" ) )
TypeError: load() missing 1 required positional argument: 'Loader'
Here's my conda env if you think it might be helpful
In case this was not resolved and if someone else gets a similar error.
According to the usage described in the documentation. You need not run getPneumocat with your version of seroba (1.0.2).
You first have to clone the repo and then copy the database directory in the repo to a location of your liking and then pass it as parameter to createDBs.
Always specify the full path to the database directory. like so:
seroba createDBs path/to/database 71
If executing in the same directory as the database then:
seroba createDBs database 71
In both cases assuming you kept the name database. You can always name the directory as anything you like but always give the full path to the data base if not running in the same directory.
Hello!
I was thinking about including the databases in the bioconda recipe, but I'm running into some errors.
I installed Seroba using mamba
I'm getting the following errors:
createDBs
getPneumocat
Here's my conda env if you think it might be helpful
The text was updated successfully, but these errors were encountered: