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

Rarefaction curve plots with genes and transcript categories #10

Open
JBerthelier opened this issue Dec 10, 2024 · 1 comment
Open

Rarefaction curve plots with genes and transcript categories #10

JBerthelier opened this issue Dec 10, 2024 · 1 comment

Comments

@JBerthelier
Copy link

Dear isotools authors,

I am wondering if it is possible to display gene and transcripts for the rarefaction curve on the same graph.
An example of figure :
https://github.com/Magdoll/cDNA_Cupcake/blob/master/annotation/test_data/Rplot_test.all.gene_vs_isoform.min_fl_2.png

Also if it is possible to display the different category of transcripts similar to what is done from the SQANTI categories.
An example of figure :
https://github.com/Magdoll/cDNA_Cupcake/blob/master/annotation/test_data/Rplot_test.by_cat.isoforms.min_fl_2.png

I tried to produce such plots with isotools by modifiying the option of isotools but failed.
It would so much quick to produce these graph with your tool.

Thank you

@MatthiasLienhard
Copy link
Owner

Dear Jérémy,

thanks for reaching out. While such functionality is not directly implemented, at least the second point would be quite straight forward to achieve with isotools. The Transcriptome.rarefaction function accepts filter terms to specify the categories, and returns a dataframe. These can be then used to plot the curves.
Gene level rarefaction is currently not implemented, but would be not difficult either, following the code for transcripts. (_transcriptome_stats.py line 715 (rarefaction))

We are currently transferring the repository to https://github.com/HerwigLab/IsoTools2, so if you need additional support, please open another issue there.

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