Question: Error executing Bowtie2: bam_index_build2() not yet implemented
0
gravatar for Mikel Egaña Aranguren
4.1 years ago by
Spain
Mikel Egaña Aranguren10 wrote:

I'm trying to execute Bowtie2 in Galaxy but I get the following Dataset generation error:

Traceback (most recent call last):
  File "/home/galaxy/galaxy-dist/lib/galaxy/jobs/runners/local.py", line 118, in queue_job
    job_wrapper.finish( stdout, stderr, exit_code )
  File "/home/galaxy/galaxy-dist/lib/galaxy/jobs/__init__.py", line 959, in finish
    dataset.datatype.set_meta( dataset, overwrite=False )  # call datatype.set_meta directly for the initial set_meta call during dataset creation
  File "/home/galaxy/galaxy-dist/lib/galaxy/datatypes/binary.py", line 244, in set_meta
    raise Exception, "Error Setting BAM Metadata: %s" % stderr
Exception: Error Setting BAM Metadata: Samtools-htslib-API: bam_index_build2() not yet implemented

Any ideas of how to solve it? Thanks

 

 

 

ADD COMMENTlink modified 4.1 years ago by Bjoern Gruening5.1k • written 4.1 years ago by Mikel Egaña Aranguren10

Duplicate of Error after upload bam file

ADD REPLYlink written 4.1 years ago by Peter Cock1.4k
3
gravatar for Bjoern Gruening
4.1 years ago by
Bjoern Gruening5.1k
Germany
Bjoern Gruening5.1k wrote:

Hi Mikel,

it's just a guess. Have you samtools > 1.0 installed? Galaxy uses samtools to index BAM files for you, but I'm not sure samtools > 1.0 is supported. Can you try to install samtools < 1 and try again?

Ciao,

Bjoern

ADD COMMENTlink written 4.1 years ago by Bjoern Gruening5.1k
1

Known bug in samtools, see https://github.com/samtools/samtools/issues/199

ADD REPLYlink written 4.1 years ago by Peter Cock1.4k

Yes, using a local samtools 0.1.19 worked, many thanks!

ADD REPLYlink written 4.1 years ago by Mikel Egaña Aranguren10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 169 users visited in the last hour