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

reference sequence with lowercase characters #18

Open
tkonopka opened this issue Feb 15, 2021 · 0 comments
Open

reference sequence with lowercase characters #18

tkonopka opened this issue Feb 15, 2021 · 0 comments

Comments

@tkonopka
Copy link
Contributor

Thanks for this useful tool. Straightforward to use.

Some fasta files contain lowercase characters (e.g. 'a' instead of 'A') and these characters cause the rendering to stop. The errors are due to lookups of color hex codes for the lowercase characters.

    dr.line([(x, y11), (x, y21)], fill=COLOR[base], width=self.xscale.base_width)
KeyError: 'a'

I looked into the code and can submit a pull request with a fix.

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

1 participant