hammerlab / cycledash

Variant Caller Analysis Dashboard and Data Management System
Other
36 stars 2 forks source link

Unable to submit VCF with Structural Variants #840

Closed danvk closed 9 years ago

danvk commented 9 years ago

I tried to submit this VCF which was produced by Manta. The genotype_extractor failed with this error:

Traceback (most recent call last):
  File "/home/cycledash/cycledash/venv/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/home/cycledash/cycledash/venv/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/cycledash/cycledash/workers/genotype_extractor.py", line 25, in extract
    return _extract(vcf_id)
  File "/home/cycledash/cycledash/workers/genotype_extractor.py", line 43, in _extract
    reader, header_text, release = load_vcf(vcf['uri'])
  File "/home/cycledash/cycledash/workers/shared.py", line 112, in load_vcf
    release = guess_ensembl_release(filepath)
  File "/home/cycledash/cycledash/workers/shared.py", line 96, in guess_ensembl_release
    return release
UnboundLocalError: local variable 'release' referenced before assignment
danvk commented 9 years ago

Thanks for fixing this, @armish !