Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

kaks.py script produces inflated SNP counts #31

Open
jfaberha opened this issue Mar 23, 2021 · 3 comments
Open

kaks.py script produces inflated SNP counts #31

jfaberha opened this issue Mar 23, 2021 · 3 comments

Comments

@jfaberha
Copy link

jfaberha commented Mar 23, 2021

Thank you for the useful script, but I noticed an error in my output for kaks.py. Because the script totals the numbers of missense and sense SNPs per gene, I found the counts to be redundant for genes that have alternatively spliced transcripts annotated in the gff/gtf file used for SnpEff. For example, two missense SNPs in one gene were each counted 12 times (once per isoform that included the exon in question) giving me a kA of 24 and a kS of 0. I was able to modify the script on my own to give me kA/kS for each feature (mRNA accession) as opposed to each gene, but it might also be useful to output kA/kS per gene while accounting for SNP redundancy.

@naborlozada
Copy link

Hi @jfaberha,

I noticed his issue too and I was trying to modify the script (with no success so far). I was wondering if you could share your solution?
Thanks.

@jfaberha
Copy link
Author

jfaberha commented Jul 7, 2021 via email

@naborlozada
Copy link

I see. Thanks for your reply, Josh, worth it to know how you solved it, even if was "quick and dirty". If I come with a solution, I'll share it here.
Best,
Nabor

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

No branches or pull requests

2 participants