-
Notifications
You must be signed in to change notification settings - Fork 6
Convert binary base call format files to fastq
Shintaro Katayama edited this page Jun 16, 2020
·
7 revisions
Binary base call format (BCL) files are raw data files by Illumina HiSeq/NextSeq/NovaSeq systems [link]. There are various tools to convert the BCL files to FASTQ files, and there is a service script in STRTprep. The following procedure is for the conversion in detail.
NOTE: It will take several hours to convert. If you want to disconnect the terminal during the convert, using a detachable terminal, for example, GNU screen, is highly recommended.
- Get the STRTprep (branch
v3dev) package into a folder; intoSTRTprep3.testin this example.
git clone https://github.com/shka/STRTprep.git STRTprep3.test
- Place an extracted folder of BCL files into
srcfolder; the BCL folder is~/Downloads/200302_NS500683_0475_AHFMWFBGXFin this example.
cd STRTprep3.test
mv ~/Downloads/200302_NS500683_0475_AHFMWFBGXF src
-
Download the latest
picard.jar[link] and put it intobinfolder. -
Make sure that you can run java.
java -jar src/picard.jar -h
Install java if you met error; here is an example in the case of Ubuntu Linix.
sudo apt-get update
sudo apt install openjdk-8-jre-headless
- Run the service script for each BCL folder and wait.
bin/bcl2fastq_nextseq 200302_NS500683_0475_AHFMWFBGXF