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

tpm_table.py average read length does not affect TPM output #7

Open
caity-s opened this issue Aug 9, 2017 · 1 comment
Open

tpm_table.py average read length does not affect TPM output #7

caity-s opened this issue Aug 9, 2017 · 1 comment

Comments

@caity-s
Copy link

caity-s commented Aug 9, 2017

Hello,

This is a very helpful tool for processing htseq count data, and I am using it to get the TPM for some RNAseq counts after running htseq. However, I am not sure how the average read length affects the output, as when I change -i to 1, to 5 or 100000000 the files produced are always exactly the same.

I am just producing variations of the following:
python tpm_table.py -n 20100900_E1D -c 20100900_E1D.count -i <(echo -e "20100900_E1D\t1") -l 647_dereplicated.genelengths | sort > 20100900_E1D_tpm.tsv

No error messages are produced unless I put the average read length as 0.

Maybe I have done something wrong? Or maybe the read length is not affecting low count numbers? The highest count for a gene_id I have is 603227 (with a corressponding TPM of 60025.2112), which is the same for files where I have specified an average read length of 1 or 10,000,000,000,000.

Thank you,

Caity

@khemlalnirmalkar
Copy link

Hi @caity-s, @inodb
I am trying use this tutorial for my gut shotgun metagenomic data and this is my first time.
I saw the above comment for the RNA-seq, can i use tpm_table.py to calculate the gene for my data?
if yes, calculated values are in TPM, later i can convert these values in relative abundance?
Thanks

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