`Traceback (most recent call last):


 "/home/ubuntu/workspace/crossword/env/lib/python3.4/site-packages/flask/app.py", line 1836, in __call__

return self.wsgi_app(environ, start_response)


 "/home/ubuntu/workspace/crossword/env/lib/python3.4/site-packages/flask/app.py", line 1820, in wsgi_app

response = self.make_response(self.handle_exception(e))


 "/home/ubuntu/workspace/crossword/env/lib/python3.4/site-packages/flask/app.py", line 1403, in handle_exception

reraise(exc_type, exc_value, tb)


 "/home/ubuntu/workspace/crossword/env/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise

raise value


 "/home/ubuntu/workspace/crossword/env/lib/python3.4/site-packages/flask/app.py", line 1817, in wsgi_app

response = self.full_dispatch_request()


 "/home/ubuntu/workspace/crossword/env/lib/python3.4/site-packages/flask/app.py", line 1477, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/home/ubuntu/workspace/crossword/env/lib/python3.4/site-packages/flask/app.py", line 1381, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/home/ubuntu/workspace/crossword/env/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise

raise value


 "/home/ubuntu/workspace/crossword/env/lib/python3.4/site-packages/flask/app.py", line 1475, in full_dispatch_request

rv = self.dispatch_request()


 "/home/ubuntu/workspace/crossword/env/lib/python3.4/site-packages/flask/app.py", line 1461, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/home/ubuntu/workspace/crossword/crossword/views.py", line 405, in pwresetrq_post

yag.send('<REDACTED>', 'TEST', contents)


 "/home/ubuntu/workspace/crossword/env/lib/python3.4/site-packages/yagmail/yagmail.py", line 98, in send

msg = self._prepare_message(addresses, subject, contents, attachments, headers)


 "/home/ubuntu/workspace/crossword/env/lib/python3.4/site-packages/yagmail/yagmail.py", line 217, in _prepare_message

has_included_images, content_objects = self._prepare_contents(contents)


 "/home/ubuntu/workspace/crossword/env/lib/python3.4/site-packages/yagmail/yagmail.py", line 276, in _prepare_contents

content_object = self._get_mime_object(content)


 "/home/ubuntu/workspace/crossword/env/lib/python3.4/site-packages/yagmail/yagmail.py", line 343, in _get_mime_object

content_name = os.path.basename(content_string)


 "/usr/lib/python3.4/posixpath.py", line 139, in basename

i = p.rfind(sep) + 1
AttributeError: 'UUID' object has no attribute 'rfind'`

Traceback (most recent call last):


 "/n/app/bcbio/tools/bin/bcbio_nextgen.py", line 245, in <module>

main(**kwargs)


 "/n/app/bcbio/tools/bin/bcbio_nextgen.py", line 46, in main

run_main(**kwargs)


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/bcbio/pipeline/main.py", line 50, in run_main

fc_dir, run_info_yaml)


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/bcbio/pipeline/main.py", line 91, in _run_toplevel

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


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/bcbio/pipeline/main.py", line 310, in singlecellrnaseqpipeline

samples = rnaseq.singlecell_rnaseq(samples, run_parallel)


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/bcbio/pipeline/rnaseq.py", line 35, in singlecell_rnaseq

samples = run_parallel("run_rapmap_index", [samples])


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/bcbio/distributed/multi.py", line 28, in run_parallel

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


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/bcbio/distributed/multi.py", line 86, in run_multicore

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


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/joblib/parallel.py", line 921, in __call__

if self.dispatch_one_batch(iterator):


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/joblib/parallel.py", line 759, in dispatch_one_batch

self._dispatch(tasks)


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/joblib/parallel.py", line 716, in _dispatch

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


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/joblib/_parallel_backends.py", line 182, in apply_async

result = ImmediateResult(func)


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/joblib/_parallel_backends.py", line 549, in __init__

self.results = batch()


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/joblib/parallel.py", line 225, in __call__

for func, args, kwargs in self.items]


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/joblib/parallel.py", line 225, in <listcomp>

for func, args, kwargs in self.items]


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/bcbio/utils.py", line 55, in wrapper

return f(*args, **kwargs)


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/bcbio/distributed/multitasks.py", line 84, in run_rapmap_index

return rapmap.run_rapmap_index(*args)


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/bcbio/rnaseq/rapmap.py", line 25, in run_rapmap_index

rapmap_index(gtf_file, fasta_file, "quasi", data, rapmap_dir)


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/bcbio/rnaseq/rapmap.py", line 59, in rapmap_index

gtf_fa = fasta.strip_transcript_versions(gtf_fa, os.path.join(out_dir, os.path.basename(gtf_fa)))


 "/n/app/bcbio/dev/anaconda/lib/python3.6/site-packages/bcbio/bam/fasta.py", line 37, in strip_transcript_versions

for line in in_handle:


 "/n/app/bcbio/dev/anaconda/lib/python3.6/codecs.py", line 321, in decode

(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
