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

Question about assigning gene names using t2g file #464

Open
st4302 opened this issue Sep 30, 2024 · 1 comment
Open

Question about assigning gene names using t2g file #464

st4302 opened this issue Sep 30, 2024 · 1 comment

Comments

@st4302
Copy link

st4302 commented Sep 30, 2024

Hello,

I am working with bulk RNA seq data. I created a reference like shown below:

kallisto index -i mouse_version111cdna Mus_musculus.GRCm39.cdna.all.fa.gz

Then I created a t2g file using a script I had found in github (https://github.com/pachterlab/kallisto-transcriptome-indices/releases/download/ensembl-96/t2g.py):
python t2g.py --use_version <Mus_musculus.GRCm39.111.gtf.gz> transcripts_to_genesmousev111.txt

I noticed that if I assign gene names with the t2g file I get slightly different results compared to if I use biomart. Most of the gene counts are very similar. When I compare the data on a scatter plot I get a pearson correlation of 0.98. However, it seems that the t2g file produced from biomart includes some additional transcripts from a scaffold patch for some genes. I checked the gtf file from the same version and those are not included even though they are included in the cdna fasta file. Is it important to include the counts from the patches?

Thank you

@Yenaled
Copy link
Collaborator

Yenaled commented Sep 30, 2024

No, you don’t have to include the patches

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