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

Does input_table.py script for kallisto to concoct assume 200bp reads? #8

Open
franciscozorrilla opened this issue Dec 17, 2019 · 1 comment

Comments

@franciscozorrilla
Copy link

Hi, I was looking into the above mentioned script (https://github.com/EnvGen/toolbox/blob/master/scripts/kallisto_concoct/input_table.py), and I was wondering about line 31:

kallisto_df['kallisto_coverage_{0}'.format(sample)] = 200*sample_df['est_counts'].divide(sample_df['length'])

Does this assume 200bp reads, and if not, what is the significance of the 200 factor?
Would input tables generated with this script for 100 bp or 150 bp datasets result in unreliable/inaccurate abundance estimates?

Best wishes,
FZ

@alneberg
Copy link
Member

Hi @franciscozorrilla, yes you're correct, the script assumes 200bp reads. This should not be a problem for other read lengths however, it's mostly used to generate a comparable number which is given from the mapping. Feel free to change the number in a copy of the script to your liking.

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