Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build mode issue #174

Closed
khksw0403 opened this issue Sep 30, 2022 · 4 comments
Closed

build mode issue #174

khksw0403 opened this issue Sep 30, 2022 · 4 comments

Comments

@khksw0403
Copy link

  • spladder version: 3.0.3
  • Python version: 3.9.12
  • Operating System: Ubuntu 22.04.1 LTS

Description

popup with error msg:

File "/root/anaconda3/lib/python3.9/site-packages/spladder-3.0.3-py3.9.egg/spladder/editgraph.py", line 611, in insert_intron_edges
print('%s\talternative_53_prime1\t%c\t%i\t%i\t%i\n' % (genes[i].chr, genes[i].strand, genes[i].splicegraph,vertices[1, idx1_],
NameError: name 'vertices' is not defined

What I Did

spladder build
-b STAR-2pass bam files
-o output path
-a anootation gtf file
-v
-d
--filter-overlap-genes
--filter-overlap-exons
--filter-overlap-transcripts
-l MPM152
--output-gff3
--output-bed
-c 3
--extract-ase
--parallel 8
--validate-sg --validate-sg-count 10
--quantify-graph
--use-anno-support
--psi-min-reads 10
--qmode collect

file:///home/kkang/Pictures/Screenshots/spladder.png

@raerose01
Copy link

Hi, I am also getting the same error (same version of Spladder, running on Linux 3.10.0-957.21.3.el7.x86_64). I was curious if there was any workaround. Thanks!

akahles added a commit that referenced this issue Oct 11, 2022
@akahles
Copy link
Member

akahles commented Oct 11, 2022

Dear @khksw0403 & @raerose01 ,
Thank you for reporting the issue. This seems to be a bug when SplAdder is run with -d flag for debug output in certain scenarios. A quick workaround is to remove the -d flag from your commands. I have already pushed a fix, which will become available shortly with the next version.
Best,
Andre

@raerose01
Copy link

Thanks @akahles , removing the debug flag worked for me.

@khksw0403
Copy link
Author

Thanks @raerose01 & @akahles.
work for me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants