Entering edit mode
4.2 years ago
robinycfang
▴
20
I have a table with genes and their fold change (FC):
gene_id TPM_n TPM_t FC SYMBOL
ENSG00000000003 17.01 12.22 0.734036646 TSPAN6
ENSG00000000419 9.37 19.25 1.952748312 DPM1
and the gtf annotation file. I want the following:
chromosome start end gene FC
1 1659746 1661263 TSPAN6 0.734036646
etc...
Tried to write a python script, but too many iterations...too slow. Any idea? Thanks!
Try biomart in R and bioservices in python
If you show us the code we might be able to help.