chromoscope icon indicating copy to clipboard operation
chromoscope copied to clipboard

Python package: genome view not loaded

Open dmaziec opened this issue 1 year ago • 6 comments

I am trying to use the chromoscope package in Jupyter Notebook to load my data and use the genome view. However the view is not loading and the genome is not displayed. Please see my notebook below: Screen Shot 2023-04-28 at 11 44 36 AM

My configuration (public data):

[
    {
        "id": "SRR7890905",
        "cancer": "breast",
        "assembly": "hg38",
        "vcf": "https://somatic-browser-test.s3.amazonaws.com/SNV_test_tumor_normal_with_panel.vcf.gz",
        "vcfIndex": "https://somatic-browser-test.s3.amazonaws.com/SNV_test_tumor_normal_with_panel.vcf.gz.tbi",
        "vcf2": "https://somatic-browser-test.s3.amazonaws.com/INDEL_test_tumor_normal_with_panel.vcf.gz",
        "vcf2Index": "https://somatic-browser-test.s3.amazonaws.com/INDEL_test_tumor_normal_with_panel.vcf.gz.tbi",
        "sv": "https://somatic-browser-test.s3.amazonaws.com/SVTYPE_SV_test_tumor_normal_with_panel.bedpe",
        "cnv": 
"https://gist.githubusercontent.com/sehilyi/6fbceae35756b13472332d6b81b10803/raw/596428a8b0ebc00e7f8cbc52b050db0fbd6e19a5/SRR7890943.ascat.v3.cnv.tsv",
        "bam": "https://somatic-browser-test.s3.amazonaws.com/SRR7890905_GAPFI2USVS21.bam",
        "bai": "https://somatic-browser-test.s3.amazonaws.com/SRR7890905_GAPFI2USVS21.bam.bai",
        "note": "CNV profile - ASCAT. SVs - Sentieon. Mutations and indels - Sentieon"
    }
]

LINK to the browser with the data loaded. The error I found in the browser console:

image

To reproduce my environment:

pyenv virtualenv 3.8.12 chromoscope_3812
pyenv activate chromoscope_3812 
pip install ipython==8.12
pip install jupyterlab
pip install chromoscope

Please let me know if you have any ideas what might be wrong. Thank you, Dominika

dmaziec avatar Apr 28 '23 20:04 dmaziec