Demultiplex fastq files in which barcodes and primers are already removed
0
0
Entering edit mode
7.9 years ago

I am doing some analysis on 16S data. I have been provided with a merged fasta and a qual file from the Sequencer. There are 77 samples in this files. I converted it to fastq file. Now these file has barcodes and primers already removed from them. I want to demultiplex these files according to samples for downstream analysis. I have a mapping file with me.

I dont know how to split the file according to samples as the barcodes are already removed from them.

RNA-Seq 16S Demultiplex • 3.4k views
ADD COMMENT
1
Entering edit mode

Do you not have the file(s) from before the barcode/adapter trimming? Trimming barcodes/adapters before demultiplexing makes no sense.

ADD REPLY
1
Entering edit mode

Can you please head the converted FASTQ file so we can get a basic overview of its structure?

ADD REPLY
2
Entering edit mode

+1. Sometimes the barcodes are in the read name.

ADD REPLY
2
Entering edit mode

Assuming this is the case (which hopefully it is), which tool will help him do what he needs? Fill in the blank:

BB_________

ADD REPLY
1
Entering edit mode

That would be...

demuxbyname.sh in=reads.fq out=sample_%.fq prefixmode=f length=8

...assuming the bar code is the last 8 characters of the read name. Alternately, if you have a list of barcodes, you could use "substringmode=t names=barcodes.txt".

ADD REPLY

Login before adding your answer.

Traffic: 1673 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