Does bcl2fastq work on a mac? bcl2fastq is available as a Linux rpm file bcl2fastq2-v2.20.0.422-Linux-x86_64.rpm. I tried extracting the the rpm contents by first installing rpm2cpio on mac using brew
brew install rpm2cpio
seen here (http://macappstore.org/rpm2cpio/). Then extracted contents using
rpm2cpio.pl bcl2fastq2-v2.20.0.422-Linux-x86_64.rpm | cpio -idmv
This extracts the contents with the binary located with the following folder path usr/local/bin/bcl2fastq
. I tried executing the bcl2fastq using command
/usr/local/bin/bcl2fastq --runfolder-dir <RunFolder> --output-dir <BaseCalls>
But this did not work. It errors out saying that the binary is not executable. I tried chmod +x
. But not successful.
Anybody successfully able to run this on mac. Or is this a Linux distribution with no hope on a mac. Appreciate any help with this.
You can always try conda
Or..... the old school way - run Linux inside a VM
Please, no. There is no upside to using a Linux VM on a Mac, especially given that running custom Linux binaries of any flavor is virtually invisible unless one is working on the shell.
EDIT: For some software, you'll have to take the VM route. Looks like
bcl2fastq
is one of those software applications where VM is the only way to go.I tried conda and installed bcl2fastq-nextseq. Now I am having trouble executing it. I tried
It gave me the following error
I contacted the author at GitHub and he told me that there extenal dependancies not available at bioconda. The Illumina documentation here https://support.illumina.com/content/dam/illumina-support/documents/documentation/software_documentation/bcl2fastq/bcl2fastq2_guide_15051736_v2.pdf (page 26) indicates zlib, librt and libpthread as dependancies.
zib was present in anaconda, but there other two were not available. The bcl2fastq.log file had this written to file
So I am not sure how I should proceed from here.
I'm guessing
bcl2fastq
was not built to play well with macOS. You're better off taking the VM route as advised by Santosh Anand.