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

transcript_support_level attr would cause error when containing space. #297

Open
y9c opened this issue Jan 2, 2024 · 1 comment
Open

Comments

@y9c
Copy link
Contributor

y9c commented Jan 2, 2024

As mentioned in gtfparse code, latest Ensembl release add "(assigned to previous version ?)" in the transcript_support_level tag. Although gtfparse tried to fix this by splitting all attributes, it is not a good way to fix this. Some attributes might require space inside.

https://github.com/openvax/gtfparse/blame/7d25135fed6a1a7c60218cedc1dfac2446683183/gtfparse/attribute_parsing.py#L73-L76C60

Solution:

e03a213

@iskandr
Copy link
Contributor

iskandr commented Feb 12, 2024

Can you say more about when this fails? Do you think the right answer is to have gtfparse preserve the full string and then have PyEnsembl split it?

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

2 participants