aertslab / create_cisTarget_databases

Create cisTarget databases
43 stars 8 forks source link

how to get the 'genes_vs_motifs.rankings.feather' #45

Open krayon4river opened 12 months ago

krayon4river commented 12 months ago

Hi, firstly, i want to verify whether the output ''genes_vs_motifs.rankings.feather' and ''motifs_vs_genes.rankings.feather' is the same result. Secondly, 微信截图_20231206100214 i followed the steps above and generated the results but without the output 'genes_vs_motifs.rankings.feather',if i should change the fasta input from biomart mentioned by https://github.com/aertslab/create_cisTarget_databases/issues/16 148767876-8e476c07-3375-4061-886f-aa2234ff5556

ghuls commented 10 months ago

It will be the same as the motifs_vs_genes.rankings.feather matrix is transposed to make genes_vs_motifs.rankings.feather

If you really want, you can generate it with:

import cistarget_db

m_vs_g_ct_db = cistarget_db.read_db("motifs_vs_genes.rankings.feather")

g_vs_m_ct_db = m_vs_g_ct_db.transpose()

g_vs_m_ct_db.write_db(db_filename="genes_vs_motifs.rankings.feather")
Melody-cell commented 1 month ago

i have the same question, what's the difference between genes vs motifs and regions vs motifs?

Melody-cell commented 1 month ago

i followed the steps , but can't get the output 'genes_vs_motifs.rankings.feather', only 'regions_vs_motifs.rankings.feather'