Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a cisTarget database for Zebrafish #39

Open
RcuIT opened this issue Jul 11, 2023 · 6 comments
Open

Creating a cisTarget database for Zebrafish #39

RcuIT opened this issue Jul 11, 2023 · 6 comments

Comments

@RcuIT
Copy link

RcuIT commented Jul 11, 2023

Hi
I managed to run create_cistarget_motif_databases.py for zebrafish and it generated three . feather files, zf.genes_vs_motifs.rankings.feather, zf.genes_vs_motifs.scores.feather and zf.motifs_vs_genes.scores.feather. How can I run create_cross_species_motifs_rankings_db.py ? because create_cistarget_motif_databases.py output did not generate cisTarget motifs vs regions or genes rankings databases. how can I continue with this? is it a must to have cross_species databases to run GRN ? Appreciate any response in this regard. thank you.

@ghuls
Copy link
Member

ghuls commented Jul 17, 2023

For pySCENIC you only will need zf.genes_vs_motifs.rankings.feather. Cross-species it not necessary nowadays as it was in the past as we have way more motifs than we had in the past.

@RcuIT
Copy link
Author

RcuIT commented Jul 17, 2023

For pySCENIC you only will need zf.genes_vs_motifs.rankings.feather. Cross-species it not necessary nowadays as it was in the past as we have way more motifs than we had in the past.

Thanks for the clarification. I have another question. What should I pass to "org" parameter in the initializeScenic (). It says it needs, 'org' to be one of: mgi, hgnc, dmel. In the case of zebrafish, how could I specify the org?

@ghuls
Copy link
Member

ghuls commented Jul 18, 2023

SCENIC is deprecated, use pySCENIC instead: https://pyscenic.readthedocs.io/en/latest/installation.html#docker-podman-and-singularity-apptainer-images pySCENIC does not need org as you just give a motif to TF annotation file with zebrafish genes as argument in the ctx step.

@RcuIT
Copy link
Author

RcuIT commented Jul 24, 2023

Thanks for the reply. I was trying to find a way to generate a motif to TF annotation file with zebrafish genes. The I found this database created by @stanaka6. I ran the following script, but got an empty .csv file.
singularity run -B /home/roshanpe/Seurat/data:/data aertslab-pyscenic-0.12.1.sif pyscenic ctx /home/roshanpe/Seurat/data/24_expr_mat.adjacencies.tsv /home/roshanpe/Seurat/data/zf.genes_vs_motifs.rankings.feather --annotations_fname /home/roshanpe/Seurat/data/Zebrafish_Motif2TF_db_ready_for_SCENIC.tbl --expression_mtx_fname /home/roshanpe/Seurat/data/24.exp.tsv --mode "custom_multiprocessing" --output /home/roshanpe/Seurat/data/regulons.csv --num_workers 6

while running the script, it shows the following for several genes.
2023-07-24 12:48:01,796 - pyscenic.transform - WARNING - Less than 80% of the genes in Regulon for si:dkey-253d23.9 could be mapped to zf.genes_vs_motifs.rankings. Skipping this module.

any suggestions to overcome this issue? Thanks

@ghuls
Copy link
Member

ghuls commented Jul 26, 2023

while running the script, it shows the following for several genes.
2023-07-24 12:48:01,796 - pyscenic.transform - WARNING - Less than 80% of the genes in Regulon for si:dkey-253d23.9 could be mapped to zf.genes_vs_motifs.rankings. Skipping this module.
any suggestions to overcome this issue? Thanks

This means that your gene names in the database don't match the gene names in your expression matrix.

@RcuIT
Copy link
Author

RcuIT commented Jul 27, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants