Open dampierch opened 3 years ago
Also, I believe the --convert-tpm option is broken because of a bug around line 100 in eqtl_prepare_expression.py
:
if args.convert_tpm:
print(' * Converting to TPM', flush=True)
tpm_df = tpm_df / tpm_df.sum(0) * 1e6
This fails because the first column of tpm_df
is Name
and contains the gene ids rather than numeric data.
Intro
Thank you for sharing your code. I am using it to analyze some of my own data. In particular, I am using the qtl scripts. I encountered a few bugs while running
eqtl_prepare_expression.py
and fixed them in a local branch. I thought I should share them with you in case the fixes are helpful for others using your code.Fixes