fanglab / nanodisco

nanodisco: a toolbox for discovering and exploiting multiple types of DNA methylation from individual bacteria and microbiomes using nanopore sequencing.
Other
68 stars 7 forks source link

Installation error on Terminal #63

Open sophiaswartz020 opened 1 year ago

sophiaswartz020 commented 1 year ago

hi,

I’m trying to install nanodisco for methylation analysis on my personal Mac laptop. I installed Singularity 3.8.5 via Terminal, and before installing Singularity I also installed Go go1.19.4 darwin/amd64. However, when I compile nanodisco, I get a fatal warning:

(base) MacBook-Pro-100:singularity sophia$ singularity build nd_env nanodisco.sif FATAL: Only remote builds are supported on this platform

I was thinking about redownloading Go and Singularity, and trying to re-install nanodisco. What do you recommend for troubleshooting? Thank you for your time!

touala commented 1 year ago

Hi @sophiaswartz020,

Singularity build are indeed not available for non-linux systems. However you should still be able to run the nanodisco container as singularity build is not necessary for everyday uses (only for the tutorial). Could you try singularity exec nanodisco.sif nanodisco?

If you still want to try with the tutorial datasets, you can download them with:

get_data_bacteria (){ wget --show-progress https://nanodiscodata.s3.us-east-2.amazonaws.com/data_bacteria.tar.gz && tar -zxf data_bacteria.tar.gz -C /home && rm data_bacteria.tar.gz ;}
get_data_microbiome (){ wget --show-progress https://nanodiscodata.s3.us-east-2.amazonaws.com/data_microbiome.tar.gz && tar -zxf data_microbiome.tar.gz -C /home && rm data_microbiome.tar.gz ;}

Tutorial commands might need modifying to run. Please let me know if this works.

Best,

Alan

sophiaswartz020 commented 1 year ago

Great, thank you!