bioframe icon indicating copy to clipboard operation
bioframe copied to clipboard

Bring back GTF attributes parser?

Open nvictus opened this issue 3 years ago • 2 comments

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 avatar Apr 03 '23 20:04 nvictus

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

gfudenberg avatar Jan 19 '24 22:01 gfudenberg

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 ?

gamazeps avatar Apr 23 '24 00:04 gamazeps