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

";" in gbk fields break read_gbk/gb2gff #121

Closed
thackl opened this issue Mar 30, 2022 · 1 comment
Closed

";" in gbk fields break read_gbk/gb2gff #121

thackl opened this issue Mar 30, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@thackl
Copy link
Owner

thackl commented Mar 30, 2022

$ gb2gff GCF_009738455.1_ASM973845v1_genomic.gbff | grep yfhX
writing directives
writing features
NZ_CP046527	.	gene	537002	537814	.	+	.	ID=gene-GN312_RS03255;Name=hcaB;Alias=phdD; yfhX;old_locus_tag...

Note the " ;yfhX" which is later parsed into an undefined value column.

@thackl thackl added the bug Something isn't working label Mar 30, 2022
@thackl thackl self-assigned this Mar 30, 2022
@thackl
Copy link
Owner Author

thackl commented Mar 30, 2022

Not sure if this is technically allowed in gff and just my regexp in read_gff is bad, but an easy fix for now is to not allow ";" in gff fields generated from the gbk file in the first place.

@thackl thackl closed this as completed in 4792ee4 Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant