-
Notifications
You must be signed in to change notification settings - Fork 29
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
how is the insertion index calculated? #132
Comments
It's the number of detected insertion sites divided by the gene length. |
The insertion indexes in my tradis_gene_insert table do not match the insert count/ gene length. Example: ins_index gene_length ins_count ins count/ gene length |
Are you using 5' or 3' end gene trimming? It's only calculated over the untrimmed region. The calculation is on lines 123 - 140 of tradis_gene_insert_sites if you want to look at how it's being done. |
Do you mean on the fastq file? I use trim galore to remove reads contaminated with Illumina adapters on the fastq files. This should only work on the 3 end. |
No, I mean the -trim3 or -trim5 arguments to tradis_gene_insert_sites. I suspect you have -trim3 set to 0.1 as in the tutorial. Assuming no insertion sites fall into the trimmed region, this will lead to the insertion index being calculated as: 58 / (1116 - 111) =~ 0.0577 which is what you have. |
Apologies! Yes, this is what I did. Thank you this clears things up. |
No description provided.
The text was updated successfully, but these errors were encountered: