Hi all,
I need to preprocess my data with bcl2fastq. Unfortunately, no matter how I try it, I get a "Segmentation Fault" error.
I call bcl2fastq with the command bcl2fastq --no-lane-splitting --mask-short-adapter-reads=13
. My data structure is shown below. I thought I had to call the program on the ~/Data/Raw Data/170203_NB501802_0007_AH5YHJBGX2$
level, but maybe I'm mistaken. However, I'll get the same error if I try to call bcl2fastq on another level. If I try to define the input directory with the --input-dir
, I'll get the error: Failed to parse the options: too many positional options have been specified on the command line
. I appreciate any advice on how to solve this issue!
What OS are you trying to do this on? Please provide full command line (you can remove specific paths if you want to) that you are using.
You minimally need to provide
N = number of cores to use for read/processing/write operations.
Hey,
Thanks for your reply.
I use Linux Debian 6.1.55-1.
I filled out the command you provided:
But I get the same error, or have I got something wrong?
How did you install the program? Did you compile it from source?
Please try the following command. You have to point to the top level of the flowcell folder for
-R
.If you are really using
debian 6
then that is an ancient OS from 2011.I installed the program with the
.rpm
package and usedalien
. I tried your command, but unfortunately, it doesn't work either.Sorry, I think I got something wrong with the OS version. The server runs on Devuan version Daedalus 5.
Are you able to see inline help if you just try to run
bcl2fastq -h
? If you get the same error they you will need to compile the program from source to get it to work on your OS.Yeah, I am able to see the help section, and I can also run
bcl2fastq -v
. So, I think the installation process was successful.If you are still getting "seg faults" perhaps other possibility is that you don't have (or are not assigning) enough memory.
I think I have enough memory:
It looks like there is some interaction between alien/your OS/bcl2fastq code that is causing this issue. If you don't have another option then you may want to try compiling from source.
I notice that this is an old flowcell. Perhaps you could try to use GATK BasecallsToSam as alternative: https://gatk.broadinstitute.org/hc/en-us/articles/360037225472-IlluminaBasecallsToSam-Picard-
Which version of bcl2fastq are you using?
If I remember correctly the newest bcl files are not compatible with older versions of bcl2fastq.
Also: try to download some minimal dataset for bcl2fastq2 and check if your bcl2fastq is able to process it.
Looking at the flowcell folder ID this run is likely from 2017.