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

Bring back GTF attributes parser? #141

Open
nvictus opened this issue Apr 3, 2023 · 2 comments
Open

Bring back GTF attributes parser? #141

nvictus opened this issue Apr 3, 2023 · 2 comments

Comments

@nvictus
Copy link
Member

nvictus commented Apr 3, 2023

Options:

  • parse_gtf_attributes as read_gtf() with an option to parse
  • wrap an existing external tool for gtf parsing and return a pandas dataframe
  • keep it as a separate operation to apply to any key-value like column.
@nvictus nvictus changed the title Bring back GTF attributes parser Bring back GTF attributes parser? Apr 3, 2023
@gfudenberg
Copy link
Member

any thoughts on which option would be best cc @nvictus @agalitsyna ? It seemed like there was quite the extensive discussion in #123.

@smitkadvani was interested in implementing whichever solution made the most sense as it might clean up some code in one of his ongoing projects

@gamazeps
Copy link
Contributor

for what it's worth I have not had any issues with gtfparse on neither GENCODE or ENSEMBL.

So we could just have a wrapper around gtfparse.read_gtf, and rename the'seqname' to 'chrom' to have a valid bedframe ?

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

No branches or pull requests

3 participants