Git Product home page Git Product logo

btyper3's People

Contributors

althonos avatar lmc297 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

btyper3's Issues

Installation problem

Hi @lmc297,
I get the following error when trying to install BTyper3:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError:


I'm using a fresh installation of anaconda on windows 11.

fastANI error loading shared libraries libgsl.so.25

Hi Laura,

I was installing this great tool this morning, but came across an error with libgsl.so.25.

$ btyper3 -i 2218710072.fna -o bytper3
Welcome to BTyper3!
You are initializing this run at 2022-07-19 08:56
You ran the following command:
/phe/tools/miniconda3/envs/btyper3/bin/btyper3 -i 2218710072.fna -o bytper3
Report bugs/concerns to Laura M. Carroll, [email protected]
Using FastANI to assign 2218710072 to a species at 2022-07-19 08:56
fastANI: error while loading shared libraries: libgsl.so.25: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/phe/tools/miniconda3/envs/btyper3/bin/btyper3", line 10, in <module>
    sys.exit(main())
  File "/phe/tools/miniconda3/envs/btyper3/lib/python3.10/site-packages/btyper3/__init__.py", line 441, in main
    run_pipeline(args)
  File "/phe/tools/miniconda3/envs/btyper3/lib/python3.10/site-packages/btyper3/__init__.py", line 105, in run_pipeline
    final_species = get_species.run_fastani("species", fastani_path, infile, final_results_directory, prefix)
  File "/phe/tools/miniconda3/envs/btyper3/lib/python3.10/site-packages/btyper3/ani.py", line 60, in run_fastani
    proc.check_returncode()
  File "/phe/tools/miniconda3/envs/btyper3/lib/python3.10/subprocess.py", line 456, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['fastANI', '-q', '2218710072.fna', '--rl', '/tmp/tmp69n8g9vktxt', '-o', 'bytper3/btyper3_final_results/species/2218710072_species_fastani.txt']' returned non-zero exit status 127

After a quick google, the current gsl version 2.7.1 only provides libgsl.so.27. For anyone else that encounters this issue, I fixed it by downgrading the gsl version from 2.7.1 to 2.7.
conda install gsl=2.7

Have a good day!
Caitlin

Feature Request: store downloaded db files

To enable further follow-up work on the exact files used for comparison, for example for the genomes using ANI, could a feature be added to specify an outpath where the files are stored?

Error with download_pubmlst_latest.py

$ python download_pubmlst_latest.py

Downloading most recent PubMLST datbase at 2021-04-12 14:38
Traceback (most recent call last):
  File "download_pubmlst_latest.py", line 74, in <module>
    main()
  File "download_pubmlst_latest.py", line 67, in main
    download_pubmlst(btyper3_path)
  File "download_pubmlst_latest.py", line 28, in download_pubmlst
    tree=ET.parse(xml)
  File "/home/domeni/anaconda3/lib/python3.7/xml/etree/ElementTree.py", line 1197, in parse
    tree.parse(source, parser)
  File "/home/domeni/anaconda3/lib/python3.7/xml/etree/ElementTree.py", line 598, in parse
    self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: no element found: line 1, column 0

I'm not very familiar with the requests and the xml modules this error seems to be related with. Any clue?

Thank you

Domenico

Tutorial not working?

ANI seems not to be working for me. Using the tutorial data, I got the attached results, with no ANI classification. I also attach the log.
I tried a few genomes but never got an ANI classification, even with the "--ani_typestrains" True parameter
JHQN01.1.log
JHQN01.1_final_results.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.