spladder icon indicating copy to clipboard operation
spladder copied to clipboard

viz issue

Open TracyKoubkovaYu opened this issue 1 year ago • 0 comments

  • spladder version: latest
  • Python version: 3.10.10
  • Operating System: core-4.1-amd64:core-4.1-noarch/Oracle Linux Server release 8.7

Description

I did spladder build on one bam file by the following script: spladder build -o outdirectory -b L1I02_thread8_AEP.bam -a GeneModels.gtf Several output files were generated in the outdirectory folder (including, .gff3 .pickle .txt.gz .hdf5 etc). I want to use spladder viz to view the graphs but I received AssertionError.

What I Did

command I ran: spladder viz --track splicegraph HVAEP1.G000790 -o outdirectory

output: It creates an empty plots folder in the outdirectory and following messages on the linux terminal:

Traceback (most recent call last): File "/home/user/koubkovayu/.local/bin/spladder", line 8, in sys.exit(main()) File "/home/user/koubkovayu/.local/lib/python3.10/site-packages/spladder/spladder.py", line 229, in main options.func(options) File "/home/user/koubkovayu/.local/lib/python3.10/site-packages/spladder/spladder_viz.py", line 256, in spladder_viz _parse_gene_info(range_info[1:], genes, gene_names, gids, all_gene_names, options.outdir, options.confidence, options.validate_sg, options.verbose) File "/home/user/koubkovayu/.local/lib/python3.10/site-packages/spladder/spladder_viz.py", line 79, in _parse_gene_info assert gid.shape[0] == 1 AssertionError

TracyKoubkovaYu avatar Mar 09 '23 14:03 TracyKoubkovaYu