immunomind / immunarch

🧬 Immunarch: an R Package for Fast and Painless Exploration of Single-cell and Bulk T-cell/Antibody Immune Repertoires
https://immunarch.com
Apache License 2.0
297 stars 65 forks source link

repLoad problem: error in dyn.load #352

Open WesAbplanalp opened 1 year ago

WesAbplanalp commented 1 year ago

This tool looks great and I can't wait to use it!

Unfortunately, I am having a problem with file formatting or transfer. I am loading ImmunoSeq TCRB data files (.TSV) using the repLoad function but consistently have an error. I have tried this with "standard" ImmunoSeq export file formats and the v2 export version. I get the same error for both file formats, though. If I just set the file path folder I also get this problem.

Using the following command: immdata <- repLoad('/media/Helios_scStorage/Wesley/TCR.info/Adaptive.2021.retry.v2/2021HC16_TCRB.tsv')

I get the following error: == Step 1/3: loading repertoire files... ==

Processing "" ... -- [1/1] Parsing "/media/Helios_scStorage/Wesley/TCR.info/Adaptive.2021.retry.v2/2021HC16_TCRB.tsv" -- immunoseq Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/home/wesley/miniconda3/envs/Seurat4/lib/R/library/vroom/libs/vroom.so': /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/wesley/miniconda3/envs/Seurat4/lib/R/library/vroom/libs/vroom.so)

Any insights would helpful! I can also provide a sample file if this helps!

Alexander230 commented 1 year ago

Hi, @WesAbplanalp!

I'm Aleksandr Popov, a developer of Immunarch package. Thank you for using our software!

This problem looks like some libraries in your system are outdated. If R and Immunarch are installed in conda environment, try to update conda packages first, like described here: https://stackoverflow.com/a/44072944/1554282

Also, try to update all R packages like described here https://www.r-bloggers.com/2014/11/update-all-user-installed-r-packages-again/

Also, make sure that you use R version 4.0 or later.

Best regards, Aleksandr