question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

samtools dependency

See original GitHub issue

It might be worthwhile to add samtools to the installation requirements list. I used the suggested command:

conda install numpy scipy cython numba matplotlib scikit-learn h5py click

Then I found out about the samtools requirement after trying to run velocyto. Installing samtools separately led to numpy version conflicts. It was fixable, but it’s probably best to just add it to the initial install command.

On a related note, pandas is also a requirement, but it is not listed.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
slinnarssoncommented, Sep 12, 2018

Ok, I never noticed probably because I had samtools installed for some other reason. If the code is not too complicated and you want to drop the dependency on samtools instead, you can run any samtools command from pysam:

pysam.sort("-o", "output.bam", "ex1.bam")
2reactions
sky1ovecommented, Mar 24, 2022

for linux/ ubuntu, I solved this problem by ‘sudo apt-install samtools’

Read more comments on GitHub >

github_iconTop Results From Across the Web

Samtools dependencies · Issue #24 - GitHub
List of Samtools dependencies for Ubuntu is not up to date. Current dependencies (Ubuntu 18.04): gcc make zlib1g-dev libbz2-dev liblzma-dev ...
Read more >
Samtools
Samtools and BCFtools both use HTSlib internally, but these source packages contain their own copies of htslib so they can be built independently....
Read more >
Bcftools by samtools
The most up to date (development) version of BCFtools can be obtained from github as described here. See also. Publications and methods ·...
Read more >
com.github.samtools : htsjdk : 2.20.2 - Maven Central
Home page, https://samtools.github.io/htsjdk/. Source code, git@github.com:samtools/htsjdk.git. Developers ... Dependencies: org.apache.commons:commons-jexl ...
Read more >
How to Install SamTools, HTSLib, and BCFTools on ... - Biostar
With conda, things are as easy as conda install -c bioconda samtools , taking care of the dependencies internally.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found