hakyimlab / PredictDB-Tutorial

Tutorial for running the PredictDB pipeline with GEUVADIS data
9 stars 11 forks source link

ERROR: Result must have length 13593, not 0. #10

Closed xasancakjnc closed 1 year ago

xasancakjnc commented 1 year ago

Hi, im using your pipline to generate the predictive model for introns, but I was wondering about the error report.

After I listed the path to the directory in gtex_tiss_chrom_training.R, I tried Rscript ../code/gtex_tiss_chrom_training.R 1, but the log returns the message: ERROR: Result must have length 13593, not 0.

13593 is the number of introns in chromosome 1, I formed the input files according to your README.md, except change the "gene" to the "intron".

hope you can give me some advice.

xasancakjnc commented 1 year ago

ok,I found that this error was caused by R. when i use the t() function to transpose the matrix, it automatically changes the colnames. as a result, can not matched with the ID in gene annotation parse file.