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

Error if BAM filename starts with number #26

Closed
alexzaccaron opened this issue Oct 2, 2019 · 1 comment
Closed

Error if BAM filename starts with number #26

alexzaccaron opened this issue Oct 2, 2019 · 1 comment

Comments

@alexzaccaron
Copy link

alexzaccaron commented Oct 2, 2019

Hi,
I installed ggsashimi and both examples in example_run.sh worked fine. But when I tried with my BAM file, named 2dpi.bam, I got the following error:

./sashimi-plot.py -b 2dpi.bam -c tig00000003:33700-34300

Error: unexpected symbol in "        color_list = list(2dpi"
Execution halted

I started to mess around with different file names and when I changed 2dpi.bam to dpi2.bam it worked. It looks like if the BAM file name starts with a number ggsashimi gives the error above. Maybe this is an issue you would like to address in future versions of ggsashimi.

Package versions:
Python v3.7.3
R v3.5.1
ggplot2 v3.2.1
data.table v1.12.2
gridExtra v2.3

@abreschi
Copy link
Collaborator

abreschi commented Nov 19, 2019

Good catch, thank for reporting it! Something we should definitely address soon.

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