Open RLC-DCPPC opened 5 years ago
@apaala , here's the link to the rna-seq file I used to generate the tabix index (for the script i sent you)
I have tested this out on a single file from Zeng, is there a particular dataset we want to generate the tabix files for? How many do we want to make?
This task requires generating a file that is like the IDxxxx_DataMTX.tab, but has 3 columns prepended to it (chr#, chr start and chr end). These files need to be generated during the uploading process. In order to perform mapping of the geneIDs, we will need to access the database that is currently on google server. It is very important that the Ensembl release number is noted in the metadata file. If it is not provided by the user, we will determine the best possible release # and make a note of it in the metadata file.
@jkanche , I've put an example h5ad and mysql dump of the gene table on Dropbox here:
https://www.dropbox.com/sh/8p0rrk3ic8ak9rr/AACg1DK8PREyCP9-Fnsc43dqa?dl=0
Note that the table stores many different releases of each gene, so the release number is necessary. This particular dataset is release 93. If you can use this to create an example Tabix file @apaala can take over from there. Thanks.
@jorvis I'm looking at the gene table from the sql file, if i search by ensembl id or gene symbol, do you always pick the latest ensembl version for a match ?
First, if I know which ensembl release the dataset was annotated with I use that one. If I don't, I take the pool of gene symbols and compare them with the pool of gene symbols from each Ensembl release for that organism - whichever has the most overlap is the one I choose.
@jorvis & @apaala
I wrote the python script to read the h5ad file and map the names to genomic position. The script can use either ensembl ids or gene symbols to map. I think the order should be
I posted the results for both matching by gene symbols and ensembl ids. Link to gist https://gist.github.com/jkanche/f52d0b058bc9676f9fe0fab480d1860d
@jkanche I will play with this script as soon as I get a chance. Thanks for sharing it!
From NeMO-Analytics created by RLC-DCPPC : RLC-DCPPC/NeMO-Analytics#14
Placeholder to make sure we discuss this.