kharchenkolab / Baysor

Bayesian Segmentation of Spatial Transcriptomics Data
https://kharchenkolab.github.io/Baysor/
MIT License
151 stars 31 forks source link

Error running baysor preview - raises MethodError. #138

Open alipirani88 opened 1 week ago

alipirani88 commented 1 week ago

How do I solve this error? Would appreciate any help solving this issue?

ERROR: MethodError: no method matching tryparse(::Type{Symbol}, ::String)

Closest candidates are: tryparse(::Type{Union{}}, ::Any...; kwargs...) @ Base parse.jl:257 tryparse(::Type{FilePathsBase.WindowsPath}, ::AbstractString) @ FilePathsBase /home/viktor_petukhov/.julia/packages/FilePathsBase/Laclt/src/windows.jl:31 tryparse(::Type{Float16}, ::AbstractString) @ Base parse.jl:302 ...

Stacktrace: [1] command_main(ARGS::Vector{String}) @ Baysor /home/viktor_petukhov/.julia/packages/Comonicon/F3QqZ/src/codegen/julia.jl:490 [2] command_main @ /home/viktor_petukhov/.julia/packages/Comonicon/F3QqZ/src/codegen/julia.jl:90 [inlined] [3] julia_main() @ Baysor /home/viktor_petukhov/.julia/packages/Comonicon/F3QqZ/src/frontend/cast.jl:481 [4] top-level scope @ none:1

alipirani88 commented 6 days ago

Hi @VPetukhov ,

Would appreciate any help in resolving this issue.

Thanks,

VPetukhov commented 3 days ago

Please, provide more information. The OS, the command you ran and full error stacktrace and full log.

alipirani88 commented 2 days ago

I was able to resolve this by downgrading to v0.6.2 and using binaries. It seems the issue is specific to the latest version.

Operating System: Red Hat Enterprise Linux 8.7 (Ootpa) CPE OS Name: cpe:/o:redhat:enterprise_linux:8::baseos Kernel: Linux 4.18.0-425.3.1.el8.x86_64 Architecture: x86-64

Commands:

baysor run -x x_location -y y_location -z z_location -g feature_name -m 5 -p -s 5 -o /rsrch5/home/neuro_rsrch/apirani/20240608175715Matri_GliomaProTMA_Met_SS_060824/baysor_run/default/ ~/20240608175715Matri_GliomaProTMA_Met_SS_060824/X0.0-24000.0_Y0.0-24000.0_filtered_transcripts_changed_cellid.csv

By the way, I am still getting the same error as my earlier post when I try to build it in MacOS. I was not able to build it in either MAC or Linux so had to opt for the binaries.

alipirani88 commented 2 days ago

Also, Preview still doesn;t output transcript plots.