stephenturner / annotables

R data package for annotating/converting Gene IDs
http://www.gettinggeneticsdone.blogspot.com/2015/11/annotables-convert-gene-ids.html
161 stars 34 forks source link

Update gene->transcript tables to match mikelove/tximport#13 #2

Closed mdshw5 closed 8 years ago

mdshw5 commented 8 years ago

https://github.com/mikelove/tximport/commit/8f31541991c08ad3fe71145987ea4c4b1424ad67 mikelove/tximport#13 The grch38_gt data_table is useful, but could we maybe have a grch38_tg as well?

    tx  gene
1   ENST00000387314 ENSG00000210049
2   ENST00000389680 ENSG00000211459
3   ENST00000387342 ENSG00000210077
4   ENST00000387347 ENSG00000210082
5   ENST00000386347 ENSG00000209082
6   ENST00000361390 ENSG00000198888
``
stephenturner commented 8 years ago

I'll update. In meantime how about

...tx2gene=dplyr::select(grch38_gt,enstxp,ensgene)

Stephen

Sent from mobile.

On Feb 1, 2016, at 2:33 PM, Matt Shirley notifications@github.com wrote:

mikelove/tximport@8f31541 mikelove/tximport#13 The grch38_gt data_table is useful, but could we maybe have a grch38_tg as well?

tx  gene

1 ENST00000387314 ENSG00000210049 2 ENST00000389680 ENSG00000211459 3 ENST00000387342 ENSG00000210077 4 ENST00000387347 ENSG00000210082 5 ENST00000386347 ENSG00000209082 6 ENST00000361390 ENSG00000198888 `` — Reply to this email directly or view it on GitHub.

mdshw5 commented 8 years ago

Yes, absolutely what I'm using in my scripts, but I think there should be some easy way to provide the functionality in the future. Maybe just a function that returns the reversed table?

stephenturner commented 8 years ago

ftfy @mdshw5

mdshw5 commented 8 years ago

Thanks - looks great!