problems installing samtools and bcftools simultaneously
1
0
Entering edit mode
7.5 years ago

Hello! I am having problems with SAMtools and BCFtools. When I installed samtools, bcftools is automatically uninstalled and vice versa.

I tried these instructions:

 git clone --branch=develop git://github.com/samtools/htslib.git
    git clone --branch=develop git://github.com/samtools/bcftools.git
    git clone --branch=develop git://github.com/samtools/samtools.git
    cd bcftools; make
    cd ../samtools; make

published in https://github.com/samtools/bcftools/wiki/HOWTOs#install , but the problem persist.

Would you help me?

software error • 2.9k views
ADD COMMENT
0
Entering edit mode

What is the error message?

ADD REPLY
0
Entering edit mode

When I run the command sudo apt install bcftools the answer is (this is not an error message):

Paquetes sugeridos:
  python-numpy python-matplotlib texlive-latex-recommended
Los siguientes paquetes se ELIMINARÁN:
  samtools
Se instalarán los siguientes paquetes NUEVOS:
  bcftools
0 actualizados, 1 nuevos se instalarán, 1 para eliminar y 7 no actualizados.
Se necesita descargar 275 kB de archivos.
Se liberarán 537 kB después de esta operación.
¿Desea continuar? [S/n]
ADD REPLY
0
Entering edit mode

Why would you sudo apt install bcftools? You've just compiled the most recent version, make install prefix=something instead.

ADD REPLY
0
Entering edit mode

Thanks Devon it works perfectly

ADD REPLY
1
Entering edit mode
7.5 years ago

If you follow the instructions at

https://github.com/samtools/bcftools/wiki/HOWTOs#install

then you will have bcftools and samtools installed into their respective directories.

Nothing could possibly be uninstalled.

When you run apt-get then you are running a different tool altogether a package manager that has nothing to do with installation above. It appears that you are installing incompatible packages hence it gets uninstalled.

ADD COMMENT
0
Entering edit mode

I could install both softwares using:

cd samtools-1.x    
./configure --prefix=/where/to/install
make
make install

These didn't show error messages, but, when i tried

samtools mpileup -uf ref.fa aln.bam | bcftools view -cg - | vcfutils.pl vcf2fq > cns.fq

This message appears:

El programa «vcfutils.pl» no está instalado. Puede instalarlo escribiendo: sudo apt install bcftools

El programa «bcftools» puede encontrarse en los siguientes paquetes: * bcftools * samtools Intente: sudo apt install <paquete seleccionado=""> El programa «samtools» no está instalado. Puede instalarlo escribiendo: sudo apt install samtools

What do you suggest?

ADD REPLY
1
Entering edit mode

You'll get better support in general with English error messages. Anyway, make sure that bcftools is in your PATH.

ADD REPLY

Login before adding your answer.

Traffic: 1733 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6