fastx barcode splitter failed to create output file
1
0
Entering edit mode
7.2 years ago
xiao.liu • 0

Hi all, I was trying to use the fastx barcode splitter to demultiplex my RNA-seq results, but when I tried to run the command below:

$ cat lane1_Undetermined_L001_R1_033_trimmed.fq | fastx_barcode_splitter.pl --bcfile barcode_list.txt --bol --prefix /demultiplexed/33_

the terminal responds:

Error: failed to create output file (/demultiplexed/33_unmatched)

cat: write error: Broken pipe

I'm very new to this and couldn't figure out why. Could someone kindly provide some suggestion? Thank you very much in advance!

RNA-Seq fastx toolkit barcode splitter • 2.1k views
ADD COMMENT
0
Entering edit mode
7.2 years ago
GenoMax 141k

You may want to try BBMap for this. Based on the name of your file I assume this is standard Illumina data. You would use demuxbyname.sh program.

demuxbyname.sh in=r#.fq out=out_%_#.fq prefixmode=f names=GGACTCCT+GCGATCTA,TAAGGCGA+TCTACTCT,... outu=filename

names= can also be a text file with one barcode per line (in exactly the format found in the read header). You do have to include all of the expected barcodes.

In the output filename, the "%" symbol gets replaced by the barcode; in both the input and output names, the "#" symbol gets replaced by 1 or 2 for read 1 or read 2. Specify in1= in2= out1= out2= if you want custom naming.

ADD COMMENT

Login before adding your answer.

Traffic: 2085 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6