hyunhwan-jeong / SalmonTE

SalmonTE is an ultra-Fast and Scalable Quantification Pipeline of Transpose Element (TE) Abundances
GNU General Public License v3.0
81 stars 23 forks source link

Error when running "SalmonTE.py test" #10

Closed wwliao closed 6 years ago

wwliao commented 6 years ago

Hi there,

Thanks for developing SalmonTE! It's really fast and suitable for large-scale project. But I got an error when running SalmonTE.py test:

Error in FUN(X[[i]], ...) :
  assay colnames() must be NULL or equal colData rownames()
Calls: SalmonTE ... SummarizedExperiment -> SummarizedExperiment -> .local -> vapply -> FUN

Here is a possible solution I found. I hope it's helpful. By the way, I use R version 3.4.1.

Best, Wen-Wei

hyunhwan-jeong commented 6 years ago

Dear @wwliao,

I am happy to hear you like the SalmonTE! To solve the issue properly, I may need your input, so could you answer my questions if you are fine?

Best,

Hyun-Hwan Jeong

wwliao commented 6 years ago

Thanks for your prompt reply! I used the following commands to run SalmonTE:

$ SalmonTE.py quant --reference=hs --exprtype=count data
$ SalmonTE.py test --inpath=SalmonTE_output --outpath=tmp --tabletype=csv --figtype=png

Best, Wen-Wei

hyunhwan-jeong commented 6 years ago

@wwliao, This problem happened because my code did not handle the sample names with a hyphen, but not I have fixed the code, so I believe you are fine now.

Please pull the changes and run the test mode again.

Best,

Hyun-Hwan

wwliao commented 6 years ago

It works! Thanks for your kind help.

Wen-Wei

hyunhwan-jeong commented 6 years ago

You’re welcome! Thanks for the reporting!