Traceback (most recent call last):


 "<input>", line 1, in <module>


 "/Users/hannes/workspace/hca/data-store/wip/.venv/lib/python3.6/site-packages/requests/api.py", line 112, in post

return request('post', url, data=data, json=json, **kwargs)


 "/Users/hannes/workspace/hca/data-store/wip/.venv/lib/python3.6/site-packages/requests/api.py", line 58, in request

return session.request(method=method, url=url, **kwargs)


 "/Users/hannes/workspace/hca/data-store/wip/.venv/lib/python3.6/site-packages/requests/sessions.py", line 494, in request

prep = self.prepare_request(req)


 "/Users/hannes/workspace/hca/data-store/wip/.venv/lib/python3.6/site-packages/requests/sessions.py", line 437, in prepare_request

hooks=merge_hooks(request.hooks, self.hooks),


 "/Users/hannes/workspace/hca/data-store/wip/.venv/lib/python3.6/site-packages/requests/models.py", line 309, in prepare

self.prepare_auth(auth, url)


 "/Users/hannes/workspace/hca/data-store/wip/.venv/lib/python3.6/site-packages/requests/models.py", line 540, in prepare_auth

r = auth(self)


 "/Users/hannes/workspace/hca/data-store/wip/.venv/lib/python3.6/site-packages/requests_http_signature/__init__.py", line 89, in __call__

self.add_digest(request)


 "/Users/hannes/workspace/hca/data-store/wip/.venv/lib/python3.6/site-packages/requests_http_signature/__init__.py", line 69, in add_digest

digest = self.hasher_constructor(request.body).digest()
TypeError: Unicode-objects must be encoded before hashing

Traceback (most recent call last):


 "/usr/local/bin/bcbio_nextgen.py", line 242, in <module>

main(**kwargs)


 "/usr/local/bin/bcbio_nextgen.py", line 47, in main

run_main(**kwargs)


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 45, in run_main

fc_dir, run_info_yaml)


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 89, in _run_toplevel

for xs in pipeline(config, run_info_yaml, parallel, dirs, samples):


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 272, in rnaseqpipeline

samples = qcsummary.generate_parallel(samples, run_parallel)


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/qcsummary.py", line 39, in generate_parallel

qced = run_parallel("pipeline_summary", to_analyze)


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 28, in run_parallel

return run_multicore(fn, items, config, parallel=parallel)


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 86, in run_multicore

for data in joblib.Parallel(parallel["num_jobs"], batch_size=1)(joblib.delayed(fn)(x) for x in items):


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 949, in __call__

if self.dispatch_one_batch(iterator):


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 791, in dispatch_one_batch

self._dispatch(tasks)


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 748, in _dispatch

job = self._backend.apply_async(batch, callback=cb)


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/_parallel_backends.py", line 183, in apply_async

result = ImmediateResult(func)


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/_parallel_backends.py", line 543, in __init__

self.results = batch()


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 224, in __call__

for func, args, kwargs in self.items]


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/utils.py", line 52, in wrapper

return apply(f, *args, **kwargs)


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multitasks.py", line 208, in pipeline_summary

return qcsummary.pipeline_summary(*args)


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/qcsummary.py", line 70, in pipeline_summary

data["summary"] = _run_qc_tools(work_bam, work_data)


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/qcsummary.py", line 161, in _run_qc_tools

out = qc_fn(bam_file, data, cur_qc_dir)


 "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/qc/kraken.py", line 29, in run

if not os.path.exists(db):


 "/usr/local/share/bcbio/anaconda/lib/python2.7/genericpath.py", line 26, in exists

os.stat(path)
TypeError: coercing to Unicode: need string or buffer, list found
