Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GISAID sequences preprocess issue #4

Open
tushar-ahmed opened this issue Jun 1, 2020 · 1 comment
Open

GISAID sequences preprocess issue #4

tushar-ahmed opened this issue Jun 1, 2020 · 1 comment

Comments

@tushar-ahmed
Copy link

tushar-ahmed commented Jun 1, 2020

(base) d3w@d3w:~/covseq$ python3 preprocess/concatenate_fasta.py -i TRIAL/ -o TRIAL/test.fasta --gisaid_metadata gisaid_hcov19.xls
#########################

Concatenate all FASTA

#########################
Input: TRIAL/
Output: TRIAL/test.fasta
Traceback (most recent call last):
File "preprocess/concatenate_fasta.py", line 79, in
main()
File "/home/d3w/.local/lib/python3.7/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/home/d3w/.local/lib/python3.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/d3w/.local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/d3w/.local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "preprocess/concatenate_fasta.py", line 74, in main
cngb_id_map = get_cngb_id_map(cgnb_metadata)
File "preprocess/concatenate_fasta.py", line 11, in get_cngb_id_map
with open(in_fn) as f:
TypeError: expected str, bytes or os.PathLike object, not NoneType

I am facing this issue. help please

NB: I have installed python dependencies in conda environment.

@milw
Copy link

milw commented Jan 28, 2021

apparently you need to specify both --cngb_metadata and --gisaid_metadata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants