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

An error when --kraken_db provides available kraken database path #78

Open
abcdtree opened this issue Mar 27, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@abcdtree
Copy link
Contributor

abcdtree commented Mar 27, 2024

Hi Kristy,

I was running bohra on Spartan with the conda install version.

14
Traceback (most recent call last):
  File "/data/gpfs/projects/xx/anaconda3/envs/bohra/bin/bohra", line 10, in <module>
    sys.exit(main())
  File "/data/gpfs/projects/xx/anaconda3/envs/bohra/lib/python3.8/site-packages/bohra/bohra.py", line 133, in main
    args.func(args)
  File "/data/gpfs/projects/xx/anaconda3/envs/bohra/lib/python3.8/site-packages/bohra/bohra.py", line 30, in run_pipeline
    return(R.run_pipeline())
  File "/data/gpfs/projects/xx/anaconda3/envs/bohra/lib/python3.8/site-packages/bohra/SnpDetection.py", line 663, in run_pipeline
    self._check_kraken2DB(checking = False)
  File "/data/gpfs/projects/xx/anaconda3/envs/bohra/lib/python3.8/site-packages/bohra/SnpDetection.py", line 311, in _check_kraken2DB
    self.check_kraken2_files(k2db = self.kraken_db)
AttributeError: 'RunSnpDetection' object has no attribute 'check_kraken2_files'

Got this error message. I guess the function may not be set up because bohra was more often to be run without --kraken_db parameter.

Cheers,

I love MDU . :D

Josh

@tseemann
Copy link

@kristyhoran this looks like a bug related to Kraken2 database or ENV var not being set?

@tseemann tseemann added good first issue Good for newcomers bug Something isn't working labels Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants